@Generated(value="software.amazon.awssdk:codegen") public final class InstanceInformation extends Object implements StructuredPojo, 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 the 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 EC2 instances or managed instances.
|
String |
instanceId()
The instance ID.
|
String |
ipAddress()
The IP address of the managed instance.
|
Boolean |
isLatestVersion()
Indicates whether latest version of the 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.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
The name of the managed instance.
|
PingStatus |
pingStatus()
Connection status of the SSM Agent.
|
String |
pingStatusAsString()
Connection status of the 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.
|
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 the 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 the 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 the SSM Agent running on your Linux instance.
public Boolean isLatestVersion()
Indicates whether latest version of the SSM Agent is running on your instance.
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 EC2 instances or managed 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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.