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.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 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 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:
-
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:
-
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
-