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 String
The type of agent installed on the node.final String
The version number of the agent installed on the node.static InstanceInfo.Builder
builder()
final String
The fully qualified host name of the managed node.final boolean
final boolean
equalsBySdkFields
(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 int
hashCode()
final String
The current status of the managed node.final String
The IP address of the managed node.final ManagedStatus
Indicates whether the node is managed by Systems Manager.final String
Indicates whether the node is managed by Systems Manager.final String
The name of the operating system platform running on your managed node.final PlatformType
The operating system platform type of the managed node.final String
The operating system platform type of the managed node.final String
The version of the OS platform running on your managed node.final ResourceType
The type of instance, either an EC2 instance or another supported machine type in a hybrid fleet.final String
The type of instance, either an EC2 instance or another supported machine type in a hybrid fleet.static Class
<? extends InstanceInfo.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
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,
managedStatus
will 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,
managedStatus
will 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,
platformType
will 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,
platformType
will 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,
resourceType
will 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,
resourceType
will 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
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<InstanceInfo.Builder,
InstanceInfo> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-