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 StringThe activation ID created by Systems Manager when the server or virtual machine (VM) was registeredfinal StringThe version of SSM Agent running on your managed node.final StringThe CPU architecture of the node.Returns the value of the AssociationOverview property for this object.final StringThe status of the State Manager association applied to the managed node.static InstanceProperty.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 StringiamRole()The IAM role used in the hybrid activation to register the node with Systems Manager.final StringThe ID of the managed node.final StringThe instance profile attached to the node.final StringThe current state of the node.final StringThe instance type of the managed node.final StringThe public IPv4 address assigned to the node.final StringkeyName()The name of the key pair associated with the node.final InstantThe date the association was last run.final InstantThe date and time when the SSM Agent last pinged the Systems Manager service.final InstantThe last date the association was successfully run.final InstantThe timestamp for when the node was launched.final Stringname()The value of the EC2Nametag associated with the node.final PingStatusConnection status of the SSM Agent on the managed node.final StringConnection status of the SSM Agent on 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 InstantThe date the node was registered with Systems Manager.final StringThe type of managed node.static Class<? extends InstanceProperty.Builder> final StringsourceId()The ID of the source resource.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
-
name
The value of the EC2
Nametag associated with the node. If aNametag hasn't been applied to the node, this value is blank.- Returns:
- The value of the EC2
Nametag associated with the node. If aNametag 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,
pingStatuswill 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,
pingStatuswill 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,
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. 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,
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. 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,
sourceTypewill 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,
sourceTypewill 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:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<InstanceProperty.Builder,InstanceProperty> - 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.
-