Class InstanceInfo
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InstanceInfo.Builder,InstanceInfo>
Details about a specific managed node.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe type of agent installed on the node.final StringThe version number of the agent installed on the node.final StringThe Availability Zone where the managed node is located.final StringThe Availability Zone ID where the managed node is located.static InstanceInfo.Builderbuilder()final StringThe fully qualified host name of the managed node.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe current status of the managed node.final StringThe IP address of the managed node.final ManagedStatusIndicates whether the node is managed by Systems Manager.final StringIndicates whether the node is managed by Systems Manager.final Stringname()The name assigned to the managed node.final StringThe name of the operating system platform running on your managed node.final PlatformTypeThe operating system platform type of the managed node.final StringThe operating system platform type of the managed node.final StringThe version of the OS platform running on your managed node.final ResourceTypeThe type of instance, either an EC2 instance or another supported machine type in a hybrid fleet.final StringThe type of instance, either an EC2 instance or another supported machine type in a hybrid fleet.static Class<? extends InstanceInfo.Builder> final StringsourceId()The ID of the source resource.final StringThe location of the source resource in the third-party cloud environment.final SourceTypeThe type of the source resource.final StringThe type of the source resource.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
agentType
The type of agent installed on the node.
- Returns:
- The type of agent installed on the node.
-
agentVersion
The version number of the agent installed on the node.
- Returns:
- The version number of the agent installed on the node.
-
computerName
The fully qualified host name of the managed node.
- Returns:
- The fully qualified host name of the managed node.
-
instanceStatus
The current status of the managed node.
- Returns:
- The current status of the managed node.
-
ipAddress
The IP address of the managed node.
- Returns:
- The IP address of the managed node.
-
managedStatus
Indicates whether the node is managed by Systems Manager.
If the service returns an enum value that is not available in the current SDK version,
managedStatuswill returnManagedStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommanagedStatusAsString().- Returns:
- Indicates whether the node is managed by Systems Manager.
- See Also:
-
managedStatusAsString
Indicates whether the node is managed by Systems Manager.
If the service returns an enum value that is not available in the current SDK version,
managedStatuswill returnManagedStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommanagedStatusAsString().- Returns:
- Indicates whether the node is managed by Systems Manager.
- See Also:
-
name
The name assigned to the managed node.
- Returns:
- The name assigned to the managed node.
-
platformType
The operating system platform type of the managed node.
If the service returns an enum value that is not available in the current SDK version,
platformTypewill returnPlatformType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromplatformTypeAsString().- Returns:
- The operating system platform type of the managed node.
- See Also:
-
platformTypeAsString
The operating system platform type of the managed node.
If the service returns an enum value that is not available in the current SDK version,
platformTypewill returnPlatformType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromplatformTypeAsString().- Returns:
- The operating system platform type of the managed node.
- See Also:
-
platformName
The name of the operating system platform running on your managed node.
- Returns:
- The name of the operating system platform running on your managed node.
-
platformVersion
The version of the OS platform running on your managed node.
- Returns:
- The version of the OS platform running on your managed node.
-
resourceType
The type of instance, either an EC2 instance or another supported machine type in a hybrid fleet.
If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The type of instance, either an EC2 instance or another supported machine type in a hybrid fleet.
- See Also:
-
resourceTypeAsString
The type of instance, either an EC2 instance or another supported machine type in a hybrid fleet.
If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The type of instance, either an EC2 instance or another supported machine type in a hybrid fleet.
- See Also:
-
sourceType
The type of the source resource. For IoT Greengrass devices,
SourceTypeisAWS::IoT::Thing.If the service returns an enum value that is not available in the current SDK version,
sourceTypewill returnSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsourceTypeAsString().- Returns:
- The type of the source resource. For IoT Greengrass devices,
SourceTypeisAWS::IoT::Thing. - See Also:
-
sourceTypeAsString
The type of the source resource. For IoT Greengrass devices,
SourceTypeisAWS::IoT::Thing.If the service returns an enum value that is not available in the current SDK version,
sourceTypewill returnSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsourceTypeAsString().- Returns:
- The type of the source resource. For IoT Greengrass devices,
SourceTypeisAWS::IoT::Thing. - See Also:
-
sourceId
The ID of the source resource. For IoT Greengrass devices,
SourceIdis the Thing name.- Returns:
- The ID of the source resource. For IoT Greengrass devices,
SourceIdis the Thing name.
-
sourceLocation
The location of the source resource in the third-party cloud environment.
- Returns:
- The location of the source resource in the third-party cloud environment.
-
availabilityZone
The Availability Zone where the managed node is located.
- Returns:
- The Availability Zone where the managed node is located.
-
availabilityZoneId
The Availability Zone ID where the managed node is located.
- Returns:
- The Availability Zone ID where the managed node is located.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<InstanceInfo.Builder,InstanceInfo> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-