@Generated(value="software.amazon.awssdk:codegen") public final class InstanceInformation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InstanceInformation.Builder,InstanceInformation>
Describes a filter for a specific list of managed nodes.
Modifier and Type | Class and Description |
---|---|
static interface |
InstanceInformation.Builder |
Modifier and Type | Method and Description |
---|---|
String |
activationId()
The activation ID created by Amazon Web Services Systems Manager when the server or virtual machine (VM) was
registered.
|
String |
agentVersion()
The version of SSM Agent running on your Linux managed node.
|
InstanceAggregatedAssociationOverview |
associationOverview()
Information about the association.
|
String |
associationStatus()
The status of the association.
|
static InstanceInformation.Builder |
builder() |
String |
computerName()
The fully qualified host name of the managed node.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
iamRole()
The Identity and Access Management (IAM) role assigned to the on-premises Systems Manager managed node.
|
String |
instanceId()
The managed node ID.
|
String |
ipAddress()
The IP address of the managed node.
|
Boolean |
isLatestVersion()
Indicates whether the latest version of SSM Agent is running on your Linux managed node.
|
Instant |
lastAssociationExecutionDate()
The date the association was last run.
|
Instant |
lastPingDateTime()
The date and time when the agent last pinged the Systems Manager service.
|
Instant |
lastSuccessfulAssociationExecutionDate()
The last date the association was successfully run.
|
String |
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.
|
PingStatus |
pingStatus()
Connection status of SSM Agent.
|
String |
pingStatusAsString()
Connection status of SSM Agent.
|
String |
platformName()
The name of the operating system platform running on your managed node.
|
PlatformType |
platformType()
The operating system platform type.
|
String |
platformTypeAsString()
The operating system platform type.
|
String |
platformVersion()
The version of the OS platform running on your managed node.
|
Instant |
registrationDate()
The date the server or VM was registered with Amazon Web Services as a managed node.
|
ResourceType |
resourceType()
The type of instance.
|
String |
resourceTypeAsString()
The type of instance.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InstanceInformation.Builder> |
serializableBuilderClass() |
String |
sourceId()
The ID of the source resource.
|
SourceType |
sourceType()
The type of the source resource.
|
String |
sourceTypeAsString()
The type of the source resource.
|
InstanceInformation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String instanceId()
The managed node ID.
public final PingStatus pingStatus()
Connection status of SSM Agent.
The status Inactive
has been deprecated and is no longer in use.
If the service returns an enum value that is not available in the current SDK version, pingStatus
will
return PingStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
pingStatusAsString()
.
The status Inactive
has been deprecated and is no longer in use.
PingStatus
public final String pingStatusAsString()
Connection status of SSM Agent.
The status Inactive
has been deprecated and is no longer in use.
If the service returns an enum value that is not available in the current SDK version, pingStatus
will
return PingStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
pingStatusAsString()
.
The status Inactive
has been deprecated and is no longer in use.
PingStatus
public final Instant lastPingDateTime()
The date and time when the agent last pinged the Systems Manager service.
public final String agentVersion()
The version of SSM Agent running on your Linux managed node.
public final Boolean 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.
public final PlatformType platformType()
The operating system platform type.
If the service returns an enum value that is not available in the current SDK version, platformType
will
return PlatformType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
platformTypeAsString()
.
PlatformType
public final String platformTypeAsString()
The operating system platform type.
If the service returns an enum value that is not available in the current SDK version, platformType
will
return PlatformType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
platformTypeAsString()
.
PlatformType
public final String platformName()
The name of the operating system platform running on your managed node.
public final String platformVersion()
The version of the OS platform running on your managed node.
public final String activationId()
The activation ID created by Amazon Web Services Systems Manager when the server or virtual machine (VM) was registered.
public final String iamRole()
The Identity and Access Management (IAM) role assigned to the on-premises Systems Manager managed node. This call
doesn't return the IAM role for Amazon Elastic Compute Cloud (Amazon EC2) instances. To retrieve the IAM role for
an EC2 instance, use the Amazon EC2 DescribeInstances
operation. For information, see DescribeInstances in
the Amazon EC2 API Reference or describe-instances in the Amazon
Web Services CLI Command Reference.
DescribeInstances
operation.
For information, see DescribeInstances in the Amazon EC2 API Reference or describe-instances in the
Amazon Web Services CLI Command Reference.public final Instant registrationDate()
The date the server or VM was registered with Amazon Web Services as a managed node.
public final ResourceType 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, resourceType
will
return ResourceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
resourceTypeAsString()
.
ResourceType
public final String 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, resourceType
will
return ResourceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
resourceTypeAsString()
.
ResourceType
public final String 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 DefaultInstanceName
property 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 Install SSM
Agent for a hybrid environment (Linux) and Install SSM
Agent for a hybrid environment (Windows). To retrieve the Name
tag of an EC2 instance, use the
Amazon EC2 DescribeInstances
operation. For information, see DescribeInstances in
the Amazon EC2 API Reference or describe-instances in the Amazon
Web Services CLI Command Reference.
DefaultInstanceName
property
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 Install SSM Agent for a hybrid environment (Linux) and Install SSM Agent for a hybrid environment (Windows). To retrieve the Name
tag of an
EC2 instance, use the Amazon EC2 DescribeInstances
operation. For information, see DescribeInstances in the Amazon EC2 API Reference or describe-instances in the
Amazon Web Services CLI Command Reference.public final String ipAddress()
The IP address of the managed node.
public final String computerName()
The fully qualified host name of the managed node.
public final String associationStatus()
The status of the association.
public final Instant lastAssociationExecutionDate()
The date the association was last run.
public final Instant lastSuccessfulAssociationExecutionDate()
The last date the association was successfully run.
public final InstanceAggregatedAssociationOverview associationOverview()
Information about the association.
public final String sourceId()
The ID of the source resource. For IoT Greengrass devices, SourceId
is the Thing name.
SourceId
is the Thing name.public final SourceType sourceType()
The type of the source resource. For IoT Greengrass devices, SourceType
is
AWS::IoT::Thing
.
If the service returns an enum value that is not available in the current SDK version, sourceType
will
return SourceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
sourceTypeAsString()
.
SourceType
is
AWS::IoT::Thing
.SourceType
public final String sourceTypeAsString()
The type of the source resource. For IoT Greengrass devices, SourceType
is
AWS::IoT::Thing
.
If the service returns an enum value that is not available in the current SDK version, sourceType
will
return SourceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
sourceTypeAsString()
.
SourceType
is
AWS::IoT::Thing
.SourceType
public InstanceInformation.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<InstanceInformation.Builder,InstanceInformation>
public static InstanceInformation.Builder builder()
public static Class<? extends InstanceInformation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.