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) 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.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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
- Specified by:
toBuilderin interfaceToCopyableBuilder<InstanceInfo.Builder,InstanceInfo>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-