@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 instances.
Modifier and Type | Class and Description |
---|---|
static interface |
InstanceInformation.Builder |
Modifier and Type | Method and Description |
---|---|
String |
activationId()
The activation ID created by Systems Manager when the server or VM was registered.
|
String |
agentVersion()
The version of SSM Agent running on your Linux instance.
|
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 instance.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
iamRole()
The Amazon Identity and Access Management (IAM) role assigned to the on-premises Systems Manager managed
instances.
|
String |
instanceId()
The instance ID.
|
String |
ipAddress()
The IP address of the managed instance.
|
Boolean |
isLatestVersion()
Indicates whether latest version of SSM Agent is running on your instance.
|
Instant |
lastAssociationExecutionDate()
The date the association was last executed.
|
Instant |
lastPingDateTime()
The date and time when agent last pinged Systems Manager service.
|
Instant |
lastSuccessfulAssociationExecutionDate()
The last date the association was successfully run.
|
String |
name()
The name of the managed instance.
|
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 instance.
|
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 instance.
|
Instant |
registrationDate()
The date the server or VM was registered with AWS as a managed instance.
|
ResourceType |
resourceType()
The type of instance.
|
String |
resourceTypeAsString()
The type of instance.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InstanceInformation.Builder> |
serializableBuilderClass() |
InstanceInformation.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String instanceId()
The instance ID.
public PingStatus pingStatus()
Connection status of SSM Agent.
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()
.
PingStatus
public String pingStatusAsString()
Connection status of SSM Agent.
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()
.
PingStatus
public Instant lastPingDateTime()
The date and time when agent last pinged Systems Manager service.
public String agentVersion()
The version of SSM Agent running on your Linux instance.
public Boolean isLatestVersion()
Indicates whether latest version of SSM Agent is running on your instance. Some older versions of Windows Server use the EC2Config service to process SSM requests. For this reason, this field does not indicate whether or not the latest version is installed on Windows managed instances.
public 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 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 String platformName()
The name of the operating system platform running on your instance.
public String platformVersion()
The version of the OS platform running on your instance.
public String activationId()
The activation ID created by Systems Manager when the server or VM was registered.
public String iamRole()
The Amazon Identity and Access Management (IAM) role assigned to the on-premises Systems Manager managed instances. This call does not return the IAM role for Amazon EC2 instances.
public Instant registrationDate()
The date the server or VM was registered with AWS as a managed instance.
public 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 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 String name()
The name of the managed instance.
public String ipAddress()
The IP address of the managed instance.
public String computerName()
The fully qualified host name of the managed instance.
public String associationStatus()
The status of the association.
public Instant lastAssociationExecutionDate()
The date the association was last executed.
public Instant lastSuccessfulAssociationExecutionDate()
The last date the association was successfully run.
public InstanceAggregatedAssociationOverview associationOverview()
Information about the association.
public InstanceInformation.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<InstanceInformation.Builder,InstanceInformation>
public static InstanceInformation.Builder builder()
public static Class<? extends InstanceInformation.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.