Class InstanceProperty
- java.lang.Object
-
- software.amazon.awssdk.services.ssm.model.InstanceProperty
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InstanceProperty.Builder,InstanceProperty>
@Generated("software.amazon.awssdk:codegen") public final class InstanceProperty extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InstanceProperty.Builder,InstanceProperty>
An object containing various properties of a managed node.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInstanceProperty.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringactivationId()The activation ID created by Systems Manager when the server or virtual machine (VM) was registeredStringagentVersion()The version of SSM Agent running on your managed node.Stringarchitecture()The CPU architecture of the node.InstanceAggregatedAssociationOverviewassociationOverview()Returns the value of the AssociationOverview property for this object.StringassociationStatus()The status of the State Manager association applied to the managed node.static InstanceProperty.Builderbuilder()StringcomputerName()The fully qualified host name of the managed node.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringiamRole()The IAM role used in the hybrid activation to register the node with Systems Manager.StringinstanceId()The ID of the managed node.StringinstanceRole()The instance profile attached to the node.StringinstanceState()The current state of the node.StringinstanceType()The instance type of the managed node.StringipAddress()The public IPv4 address assigned to the node.StringkeyName()The name of the key pair associated with the node.InstantlastAssociationExecutionDate()The date the association was last run.InstantlastPingDateTime()The date and time when the SSM Agent last pinged the Systems Manager service.InstantlastSuccessfulAssociationExecutionDate()The last date the association was successfully run.InstantlaunchTime()The timestamp for when the node was launched.Stringname()The value of the EC2Nametag associated with the node.PingStatuspingStatus()Connection status of the SSM Agent on the managed node.StringpingStatusAsString()Connection status of the SSM Agent on the managed node.StringplatformName()The name of the operating system platform running on your managed node.PlatformTypeplatformType()The operating system platform type of the managed node.StringplatformTypeAsString()The operating system platform type of the managed node.StringplatformVersion()The version of the OS platform running on your managed node.InstantregistrationDate()The date the node was registered with Systems Manager.StringresourceType()The type of managed node.List<SdkField<?>>sdkFields()static Class<? extends InstanceProperty.Builder>serializableBuilderClass()StringsourceId()The ID of the source resource.SourceTypesourceType()The type of the source resource.StringsourceTypeAsString()The type of the source resource.InstanceProperty.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String 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
public final String instanceId()
The ID of the managed node.
- Returns:
- The ID of the managed node.
-
instanceType
public final String 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
public final String 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
public final String 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
public final String instanceState()
The current state of the node.
- Returns:
- The current state of the node.
-
architecture
public final String architecture()
The CPU architecture of the node. For example,
x86_64.- Returns:
- The CPU architecture of the node. For example,
x86_64.
-
ipAddress
public final String 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
public final Instant launchTime()
The timestamp for when the node was launched.
- Returns:
- The timestamp for when the node was launched.
-
pingStatus
public final PingStatus 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:
PingStatus
-
pingStatusAsString
public final String 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:
PingStatus
-
lastPingDateTime
public final Instant 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
public final String agentVersion()
The version of SSM Agent running on your managed node.
- Returns:
- The version of SSM Agent running on your managed node.
-
platformType
public final PlatformType platformType()
The operating system platform type of the managed node. For example, Windows.
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.
- See Also:
PlatformType
-
platformTypeAsString
public final String platformTypeAsString()
The operating system platform type of the managed node. For example, Windows.
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.
- See Also:
PlatformType
-
platformName
public final String 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
public final String 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
public final String 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
public final String 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
public final Instant registrationDate()
The date the node was registered with Systems Manager.
- Returns:
- The date the node was registered with Systems Manager.
-
resourceType
public final String resourceType()
The type of managed node.
- Returns:
- The type of managed node.
-
computerName
public final String computerName()
The fully qualified host name of the managed node.
- Returns:
- The fully qualified host name of the managed node.
-
associationStatus
public final String 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
public final Instant lastAssociationExecutionDate()
The date the association was last run.
- Returns:
- The date the association was last run.
-
lastSuccessfulAssociationExecutionDate
public final Instant lastSuccessfulAssociationExecutionDate()
The last date the association was successfully run.
- Returns:
- The last date the association was successfully run.
-
associationOverview
public final InstanceAggregatedAssociationOverview associationOverview()
Returns the value of the AssociationOverview property for this object.- Returns:
- The value of the AssociationOverview property for this object.
-
sourceId
public final String sourceId()
The ID of the source resource.
- Returns:
- The ID of the source resource.
-
sourceType
public final SourceType 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:
SourceType
-
sourceTypeAsString
public final String 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:
SourceType
-
toBuilder
public InstanceProperty.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InstanceProperty.Builder,InstanceProperty>
-
builder
public static InstanceProperty.Builder builder()
-
serializableBuilderClass
public static Class<? extends InstanceProperty.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
-