Class InstanceProperty
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<InstanceProperty.Builder,
InstanceProperty>
An object containing various properties of a managed node.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal String
The activation ID created by Systems Manager when the server or virtual machine (VM) was registeredfinal String
The version of SSM Agent running on your managed node.final String
The CPU architecture of the node.Returns the value of the AssociationOverview property for this object.final String
The status of the State Manager association applied to the managed node.static InstanceProperty.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
iamRole()
The IAM role used in the hybrid activation to register the node with Systems Manager.final String
The ID of the managed node.final String
The instance profile attached to the node.final String
The current state of the node.final String
The instance type of the managed node.final String
The public IPv4 address assigned to the node.final String
keyName()
The name of the key pair associated with the node.final Instant
The date the association was last run.final Instant
The date and time when the SSM Agent last pinged the Systems Manager service.final Instant
The last date the association was successfully run.final Instant
The timestamp for when the node was launched.final String
name()
The value of the EC2Name
tag associated with the node.final PingStatus
Connection status of the SSM Agent on the managed node.final String
Connection status of the SSM Agent on the managed node.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 Instant
The date the node was registered with Systems Manager.final String
The type of managed node.static Class
<? extends InstanceProperty.Builder> final String
sourceId()
The ID of the source resource.final SourceType
The type of the source resource.final String
The type of the source resource.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
-
name
The value of the EC2
Name
tag associated with the node. If aName
tag hasn't been applied to the node, this value is blank.- Returns:
- The value of the EC2
Name
tag associated with the node. If aName
tag hasn't been applied to the node, this value is blank.
-
instanceId
-
instanceType
The instance type of the managed node. For example, t3.large.
- Returns:
- The instance type of the managed node. For example, t3.large.
-
instanceRole
The instance profile attached to the node. If an instance profile isn't attached to the node, this value is blank.
- Returns:
- The instance profile attached to the node. If an instance profile isn't attached to the node, this value is blank.
-
keyName
The name of the key pair associated with the node. If a key pair isnt't associated with the node, this value is blank.
- Returns:
- The name of the key pair associated with the node. If a key pair isnt't associated with the node, this value is blank.
-
instanceState
The current state of the node.
- Returns:
- The current state of the node.
-
architecture
The CPU architecture of the node. For example,
x86_64
.- Returns:
- The CPU architecture of the node. For example,
x86_64
.
-
ipAddress
The public IPv4 address assigned to the node. If a public IPv4 address isn't assigned to the node, this value is blank.
- Returns:
- The public IPv4 address assigned to the node. If a public IPv4 address isn't assigned to the node, this value is blank.
-
launchTime
The timestamp for when the node was launched.
- Returns:
- The timestamp for when the node was launched.
-
pingStatus
Connection status of the SSM Agent on the managed node.
If the service returns an enum value that is not available in the current SDK version,
pingStatus
will returnPingStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frompingStatusAsString()
.- Returns:
- Connection status of the SSM Agent on the managed node.
- See Also:
-
pingStatusAsString
Connection status of the SSM Agent on the managed node.
If the service returns an enum value that is not available in the current SDK version,
pingStatus
will returnPingStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frompingStatusAsString()
.- Returns:
- Connection status of the SSM Agent on the managed node.
- See Also:
-
lastPingDateTime
The date and time when the SSM Agent last pinged the Systems Manager service.
- Returns:
- The date and time when the SSM Agent last pinged the Systems Manager service.
-
agentVersion
The version of SSM Agent running on your managed node.
- Returns:
- The version of SSM Agent running on your managed node.
-
platformType
The operating system platform type of the managed node. For example, Windows Server or Amazon Linux 2.
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. For example, Windows Server or Amazon Linux 2.
- See Also:
-
platformTypeAsString
The operating system platform type of the managed node. For example, Windows Server or Amazon Linux 2.
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. For example, Windows Server or Amazon Linux 2.
- 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.
-
activationId
The activation ID created by Systems Manager when the server or virtual machine (VM) was registered
- Returns:
- The activation ID created by Systems Manager when the server or virtual machine (VM) was registered
-
iamRole
The IAM role used in the hybrid activation to register the node with Systems Manager.
- Returns:
- The IAM role used in the hybrid activation to register the node with Systems Manager.
-
registrationDate
The date the node was registered with Systems Manager.
- Returns:
- The date the node was registered with Systems Manager.
-
resourceType
-
computerName
The fully qualified host name of the managed node.
- Returns:
- The fully qualified host name of the managed node.
-
associationStatus
The status of the State Manager association applied to the managed node.
- Returns:
- The status of the State Manager association applied to the managed node.
-
lastAssociationExecutionDate
The date the association was last run.
- Returns:
- The date the association was last run.
-
lastSuccessfulAssociationExecutionDate
The last date the association was successfully run.
- Returns:
- The last date the association was successfully run.
-
associationOverview
Returns the value of the AssociationOverview property for this object.- Returns:
- The value of the AssociationOverview property for this object.
-
sourceId
The ID of the source resource.
- Returns:
- The ID of the source resource.
-
sourceType
The type of the source resource.
If the service returns an enum value that is not available in the current SDK version,
sourceType
will returnSourceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsourceTypeAsString()
.- Returns:
- The type of the source resource.
- See Also:
-
sourceTypeAsString
The type of the source resource.
If the service returns an enum value that is not available in the current SDK version,
sourceType
will returnSourceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsourceTypeAsString()
.- Returns:
- The type of the source resource.
- 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<InstanceProperty.Builder,
InstanceProperty> - 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.
-