Class InstanceInformation
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InstanceInformation.Builder,InstanceInformation>
Describes a filter for a specific list of managed nodes.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe activation ID created by Amazon Web Services Systems Manager when the server or virtual machine (VM) was registered.final StringThe version of SSM Agent running on your Linux managed node.Information about the association.final StringThe status of the association.static InstanceInformation.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 role assigned to an Amazon EC2 instance configured with a Systems Manager Quick Setup host management configuration or the role assigned to an on-premises managed node.final StringThe managed node ID.final StringThe IP address of the managed node.final BooleanIndicates whether the latest version of SSM Agent is running on your Linux managed node.final InstantThe date the association was last run.final InstantThe date and time when the agent last pinged the Systems Manager service.final InstantThe last date the association was successfully run.final Stringname()The name assigned to an on-premises server, edge device, or virtual machine (VM) when it is activated as a Systems Manager managed node.final PingStatusConnection status of SSM Agent.final StringConnection status of SSM Agent.final StringThe name of the operating system platform running on your managed node.final PlatformTypeThe operating system platform type.final StringThe operating system platform type.final StringThe version of the OS platform running on your managed node.final InstantThe date the server or VM was registered with Amazon Web Services as a managed node.final ResourceTypeThe type of instance.final StringThe type of instance.static Class<? extends InstanceInformation.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
-
instanceId
-
pingStatus
Connection status of SSM Agent.
The status
Inactivehas been deprecated and is no longer in use.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 SSM Agent.
The status
Inactivehas been deprecated and is no longer in use. - See Also:
-
pingStatusAsString
Connection status of SSM Agent.
The status
Inactivehas been deprecated and is no longer in use.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 SSM Agent.
The status
Inactivehas been deprecated and is no longer in use. - See Also:
-
lastPingDateTime
The date and time when the agent last pinged the Systems Manager service.
- Returns:
- The date and time when the agent last pinged the Systems Manager service.
-
agentVersion
The version of SSM Agent running on your Linux managed node.
- Returns:
- The version of SSM Agent running on your Linux managed node.
-
isLatestVersion
Indicates whether the latest version of SSM Agent is running on your Linux managed node. This field doesn't indicate whether or not the latest version is installed on Windows managed nodes, because some older versions of Windows Server use the EC2Config service to process Systems Manager requests.
- Returns:
- Indicates whether the latest version of SSM Agent is running on your Linux managed node. This field doesn't indicate whether or not the latest version is installed on Windows managed nodes, because some older versions of Windows Server use the EC2Config service to process Systems Manager requests.
-
platformType
The operating system platform type.
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.
- See Also:
-
platformTypeAsString
The operating system platform type.
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.
- 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 Amazon Web Services Systems Manager when the server or virtual machine (VM) was registered.
- Returns:
- The activation ID created by Amazon Web Services Systems Manager when the server or virtual machine (VM) was registered.
-
iamRole
The role assigned to an Amazon EC2 instance configured with a Systems Manager Quick Setup host management configuration or the role assigned to an on-premises managed node.
This call doesn't return the IAM role for unmanaged Amazon EC2 instances (instances not configured for Systems Manager). To retrieve the role for an unmanaged instance, use the Amazon EC2
DescribeInstancesoperation. For information, see DescribeInstances in the Amazon EC2 API Reference or describe-instances in the Amazon Web Services CLI Command Reference.- Returns:
- The role assigned to an Amazon EC2 instance configured with a Systems Manager Quick Setup host management
configuration or the role assigned to an on-premises managed node.
This call doesn't return the IAM role for unmanaged Amazon EC2 instances (instances not configured for Systems Manager). To retrieve the role for an unmanaged instance, use the Amazon EC2
DescribeInstancesoperation. For information, see DescribeInstances in the Amazon EC2 API Reference or describe-instances in the Amazon Web Services CLI Command Reference.
-
registrationDate
The date the server or VM was registered with Amazon Web Services as a managed node.
- Returns:
- The date the server or VM was registered with Amazon Web Services as a managed node.
-
resourceType
The type of instance. Instances are either EC2 instances or managed instances.
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. Instances are either EC2 instances or managed instances.
- See Also:
-
resourceTypeAsString
The type of instance. Instances are either EC2 instances or managed instances.
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. Instances are either EC2 instances or managed instances.
- See Also:
-
name
The name assigned to an on-premises server, edge device, or virtual machine (VM) when it is activated as a Systems Manager managed node. The name is specified as the
DefaultInstanceNameproperty using the CreateActivation command. It is applied to the managed node by specifying the Activation Code and Activation ID when you install SSM Agent on the node, as explained in How to install SSM Agent on hybrid Linux nodes and How to install SSM Agent on hybrid Windows Server nodes. To retrieve theNametag of an EC2 instance, use the Amazon EC2DescribeInstancesoperation. For information, see DescribeInstances in the Amazon EC2 API Reference or describe-instances in the Amazon Web Services CLI Command Reference.- Returns:
- The name assigned to an on-premises server, edge device, or virtual machine (VM) when it is activated as
a Systems Manager managed node. The name is specified as the
DefaultInstanceNameproperty using the CreateActivation command. It is applied to the managed node by specifying the Activation Code and Activation ID when you install SSM Agent on the node, as explained in How to install SSM Agent on hybrid Linux nodes and How to install SSM Agent on hybrid Windows Server nodes. To retrieve theNametag of an EC2 instance, use the Amazon EC2DescribeInstancesoperation. For information, see DescribeInstances in the Amazon EC2 API Reference or describe-instances in the Amazon Web Services CLI Command Reference.
-
ipAddress
The IP address of the managed node.
- Returns:
- The IP address of the managed node.
-
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 association.
- Returns:
- The status of the association.
-
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
Information about the association.
- Returns:
- Information about the association.
-
sourceId
The ID of the source resource. For IoT Greengrass devices,
SourceIdis the Thing name.- Returns:
- The ID of the source resource. For IoT Greengrass devices,
SourceIdis the Thing name.
-
sourceType
The type of the source resource. For IoT Greengrass devices,
SourceTypeisAWS::IoT::Thing.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. For IoT Greengrass devices,
SourceTypeisAWS::IoT::Thing. - See Also:
-
sourceTypeAsString
The type of the source resource. For IoT Greengrass devices,
SourceTypeisAWS::IoT::Thing.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. For IoT Greengrass devices,
SourceTypeisAWS::IoT::Thing. - 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<InstanceInformation.Builder,InstanceInformation> - 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.
-