@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceInformation extends Object implements Serializable, Cloneable, StructuredPojo
Describes a filter for a specific list of instances.
Constructor and Description |
---|
InstanceInformation() |
Modifier and Type | Method and Description |
---|---|
InstanceInformation |
clone() |
boolean |
equals(Object obj) |
String |
getActivationId()
The activation ID created by Systems Manager when the server or VM was registered.
|
String |
getAgentVersion()
The version of the SSM Agent running on your Linux instance.
|
InstanceAggregatedAssociationOverview |
getAssociationOverview()
Information about the association.
|
String |
getAssociationStatus()
The status of the association.
|
String |
getComputerName()
The fully qualified host name of the managed instance.
|
String |
getIamRole()
The Amazon Identity and Access Management (IAM) role assigned to EC2 instances or managed instances.
|
String |
getInstanceId()
The instance ID.
|
String |
getIPAddress()
The IP address of the managed instance.
|
Boolean |
getIsLatestVersion()
Indicates whether latest version of the SSM Agent is running on your instance.
|
Date |
getLastAssociationExecutionDate()
The date the association was last executed.
|
Date |
getLastPingDateTime()
The date and time when agent last pinged Systems Manager service.
|
Date |
getLastSuccessfulAssociationExecutionDate()
The last date the association was successfully run.
|
String |
getName()
The name of the managed instance.
|
String |
getPingStatus()
Connection status of the SSM Agent.
|
String |
getPlatformName()
The name of the operating system platform running on your instance.
|
String |
getPlatformType()
The operating system platform type.
|
String |
getPlatformVersion()
The version of the OS platform running on your instance.
|
Date |
getRegistrationDate()
The date the server or VM was registered with AWS as a managed instance.
|
String |
getResourceType()
The type of instance.
|
int |
hashCode() |
Boolean |
isLatestVersion()
Indicates whether latest version of the SSM Agent is running on your instance.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActivationId(String activationId)
The activation ID created by Systems Manager when the server or VM was registered.
|
void |
setAgentVersion(String agentVersion)
The version of the SSM Agent running on your Linux instance.
|
void |
setAssociationOverview(InstanceAggregatedAssociationOverview associationOverview)
Information about the association.
|
void |
setAssociationStatus(String associationStatus)
The status of the association.
|
void |
setComputerName(String computerName)
The fully qualified host name of the managed instance.
|
void |
setIamRole(String iamRole)
The Amazon Identity and Access Management (IAM) role assigned to EC2 instances or managed instances.
|
void |
setInstanceId(String instanceId)
The instance ID.
|
void |
setIPAddress(String iPAddress)
The IP address of the managed instance.
|
void |
setIsLatestVersion(Boolean isLatestVersion)
Indicates whether latest version of the SSM Agent is running on your instance.
|
void |
setLastAssociationExecutionDate(Date lastAssociationExecutionDate)
The date the association was last executed.
|
void |
setLastPingDateTime(Date lastPingDateTime)
The date and time when agent last pinged Systems Manager service.
|
void |
setLastSuccessfulAssociationExecutionDate(Date lastSuccessfulAssociationExecutionDate)
The last date the association was successfully run.
|
void |
setName(String name)
The name of the managed instance.
|
void |
setPingStatus(PingStatus pingStatus)
Connection status of the SSM Agent.
|
void |
setPingStatus(String pingStatus)
Connection status of the SSM Agent.
|
void |
setPlatformName(String platformName)
The name of the operating system platform running on your instance.
|
void |
setPlatformType(PlatformType platformType)
The operating system platform type.
|
void |
setPlatformType(String platformType)
The operating system platform type.
|
void |
setPlatformVersion(String platformVersion)
The version of the OS platform running on your instance.
|
void |
setRegistrationDate(Date registrationDate)
The date the server or VM was registered with AWS as a managed instance.
|
void |
setResourceType(ResourceType resourceType)
The type of instance.
|
void |
setResourceType(String resourceType)
The type of instance.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
InstanceInformation |
withActivationId(String activationId)
The activation ID created by Systems Manager when the server or VM was registered.
|
InstanceInformation |
withAgentVersion(String agentVersion)
The version of the SSM Agent running on your Linux instance.
|
InstanceInformation |
withAssociationOverview(InstanceAggregatedAssociationOverview associationOverview)
Information about the association.
|
InstanceInformation |
withAssociationStatus(String associationStatus)
The status of the association.
|
InstanceInformation |
withComputerName(String computerName)
The fully qualified host name of the managed instance.
|
InstanceInformation |
withIamRole(String iamRole)
The Amazon Identity and Access Management (IAM) role assigned to EC2 instances or managed instances.
|
InstanceInformation |
withInstanceId(String instanceId)
The instance ID.
|
InstanceInformation |
withIPAddress(String iPAddress)
The IP address of the managed instance.
|
InstanceInformation |
withIsLatestVersion(Boolean isLatestVersion)
Indicates whether latest version of the SSM Agent is running on your instance.
|
InstanceInformation |
withLastAssociationExecutionDate(Date lastAssociationExecutionDate)
The date the association was last executed.
|
InstanceInformation |
withLastPingDateTime(Date lastPingDateTime)
The date and time when agent last pinged Systems Manager service.
|
InstanceInformation |
withLastSuccessfulAssociationExecutionDate(Date lastSuccessfulAssociationExecutionDate)
The last date the association was successfully run.
|
InstanceInformation |
withName(String name)
The name of the managed instance.
|
InstanceInformation |
withPingStatus(PingStatus pingStatus)
Connection status of the SSM Agent.
|
InstanceInformation |
withPingStatus(String pingStatus)
Connection status of the SSM Agent.
|
InstanceInformation |
withPlatformName(String platformName)
The name of the operating system platform running on your instance.
|
InstanceInformation |
withPlatformType(PlatformType platformType)
The operating system platform type.
|
InstanceInformation |
withPlatformType(String platformType)
The operating system platform type.
|
InstanceInformation |
withPlatformVersion(String platformVersion)
The version of the OS platform running on your instance.
|
InstanceInformation |
withRegistrationDate(Date registrationDate)
The date the server or VM was registered with AWS as a managed instance.
|
InstanceInformation |
withResourceType(ResourceType resourceType)
The type of instance.
|
InstanceInformation |
withResourceType(String resourceType)
The type of instance.
|
public void setInstanceId(String instanceId)
The instance ID.
instanceId
- The instance ID.public String getInstanceId()
The instance ID.
public InstanceInformation withInstanceId(String instanceId)
The instance ID.
instanceId
- The instance ID.public void setPingStatus(String pingStatus)
Connection status of the SSM Agent.
pingStatus
- Connection status of the SSM Agent.PingStatus
public String getPingStatus()
Connection status of the SSM Agent.
PingStatus
public InstanceInformation withPingStatus(String pingStatus)
Connection status of the SSM Agent.
pingStatus
- Connection status of the SSM Agent.PingStatus
public void setPingStatus(PingStatus pingStatus)
Connection status of the SSM Agent.
pingStatus
- Connection status of the SSM Agent.PingStatus
public InstanceInformation withPingStatus(PingStatus pingStatus)
Connection status of the SSM Agent.
pingStatus
- Connection status of the SSM Agent.PingStatus
public void setLastPingDateTime(Date lastPingDateTime)
The date and time when agent last pinged Systems Manager service.
lastPingDateTime
- The date and time when agent last pinged Systems Manager service.public Date getLastPingDateTime()
The date and time when agent last pinged Systems Manager service.
public InstanceInformation withLastPingDateTime(Date lastPingDateTime)
The date and time when agent last pinged Systems Manager service.
lastPingDateTime
- The date and time when agent last pinged Systems Manager service.public void setAgentVersion(String agentVersion)
The version of the SSM Agent running on your Linux instance.
agentVersion
- The version of the SSM Agent running on your Linux instance.public String getAgentVersion()
The version of the SSM Agent running on your Linux instance.
public InstanceInformation withAgentVersion(String agentVersion)
The version of the SSM Agent running on your Linux instance.
agentVersion
- The version of the SSM Agent running on your Linux instance.public void setIsLatestVersion(Boolean isLatestVersion)
Indicates whether latest version of the SSM Agent is running on your instance.
isLatestVersion
- Indicates whether latest version of the SSM Agent is running on your instance.public Boolean getIsLatestVersion()
Indicates whether latest version of the SSM Agent is running on your instance.
public InstanceInformation withIsLatestVersion(Boolean isLatestVersion)
Indicates whether latest version of the SSM Agent is running on your instance.
isLatestVersion
- Indicates whether latest version of the SSM Agent is running on your instance.public Boolean isLatestVersion()
Indicates whether latest version of the SSM Agent is running on your instance.
public void setPlatformType(String platformType)
The operating system platform type.
platformType
- The operating system platform type.PlatformType
public String getPlatformType()
The operating system platform type.
PlatformType
public InstanceInformation withPlatformType(String platformType)
The operating system platform type.
platformType
- The operating system platform type.PlatformType
public void setPlatformType(PlatformType platformType)
The operating system platform type.
platformType
- The operating system platform type.PlatformType
public InstanceInformation withPlatformType(PlatformType platformType)
The operating system platform type.
platformType
- The operating system platform type.PlatformType
public void setPlatformName(String platformName)
The name of the operating system platform running on your instance.
platformName
- The name of the operating system platform running on your instance.public String getPlatformName()
The name of the operating system platform running on your instance.
public InstanceInformation withPlatformName(String platformName)
The name of the operating system platform running on your instance.
platformName
- The name of the operating system platform running on your instance.public void setPlatformVersion(String platformVersion)
The version of the OS platform running on your instance.
platformVersion
- The version of the OS platform running on your instance.public String getPlatformVersion()
The version of the OS platform running on your instance.
public InstanceInformation withPlatformVersion(String platformVersion)
The version of the OS platform running on your instance.
platformVersion
- The version of the OS platform running on your instance.public void setActivationId(String activationId)
The activation ID created by Systems Manager when the server or VM was registered.
activationId
- The activation ID created by Systems Manager when the server or VM was registered.public String getActivationId()
The activation ID created by Systems Manager when the server or VM was registered.
public InstanceInformation withActivationId(String activationId)
The activation ID created by Systems Manager when the server or VM was registered.
activationId
- The activation ID created by Systems Manager when the server or VM was registered.public void setIamRole(String iamRole)
The Amazon Identity and Access Management (IAM) role assigned to EC2 instances or managed instances.
iamRole
- The Amazon Identity and Access Management (IAM) role assigned to EC2 instances or managed instances.public String getIamRole()
The Amazon Identity and Access Management (IAM) role assigned to EC2 instances or managed instances.
public InstanceInformation withIamRole(String iamRole)
The Amazon Identity and Access Management (IAM) role assigned to EC2 instances or managed instances.
iamRole
- The Amazon Identity and Access Management (IAM) role assigned to EC2 instances or managed instances.public void setRegistrationDate(Date registrationDate)
The date the server or VM was registered with AWS as a managed instance.
registrationDate
- The date the server or VM was registered with AWS as a managed instance.public Date getRegistrationDate()
The date the server or VM was registered with AWS as a managed instance.
public InstanceInformation withRegistrationDate(Date registrationDate)
The date the server or VM was registered with AWS as a managed instance.
registrationDate
- The date the server or VM was registered with AWS as a managed instance.public void setResourceType(String resourceType)
The type of instance. Instances are either EC2 instances or managed instances.
resourceType
- The type of instance. Instances are either EC2 instances or managed instances.ResourceType
public String getResourceType()
The type of instance. Instances are either EC2 instances or managed instances.
ResourceType
public InstanceInformation withResourceType(String resourceType)
The type of instance. Instances are either EC2 instances or managed instances.
resourceType
- The type of instance. Instances are either EC2 instances or managed instances.ResourceType
public void setResourceType(ResourceType resourceType)
The type of instance. Instances are either EC2 instances or managed instances.
resourceType
- The type of instance. Instances are either EC2 instances or managed instances.ResourceType
public InstanceInformation withResourceType(ResourceType resourceType)
The type of instance. Instances are either EC2 instances or managed instances.
resourceType
- The type of instance. Instances are either EC2 instances or managed instances.ResourceType
public void setName(String name)
The name of the managed instance.
name
- The name of the managed instance.public String getName()
The name of the managed instance.
public InstanceInformation withName(String name)
The name of the managed instance.
name
- The name of the managed instance.public void setIPAddress(String iPAddress)
The IP address of the managed instance.
iPAddress
- The IP address of the managed instance.public String getIPAddress()
The IP address of the managed instance.
public InstanceInformation withIPAddress(String iPAddress)
The IP address of the managed instance.
iPAddress
- The IP address of the managed instance.public void setComputerName(String computerName)
The fully qualified host name of the managed instance.
computerName
- The fully qualified host name of the managed instance.public String getComputerName()
The fully qualified host name of the managed instance.
public InstanceInformation withComputerName(String computerName)
The fully qualified host name of the managed instance.
computerName
- The fully qualified host name of the managed instance.public void setAssociationStatus(String associationStatus)
The status of the association.
associationStatus
- The status of the association.public String getAssociationStatus()
The status of the association.
public InstanceInformation withAssociationStatus(String associationStatus)
The status of the association.
associationStatus
- The status of the association.public void setLastAssociationExecutionDate(Date lastAssociationExecutionDate)
The date the association was last executed.
lastAssociationExecutionDate
- The date the association was last executed.public Date getLastAssociationExecutionDate()
The date the association was last executed.
public InstanceInformation withLastAssociationExecutionDate(Date lastAssociationExecutionDate)
The date the association was last executed.
lastAssociationExecutionDate
- The date the association was last executed.public void setLastSuccessfulAssociationExecutionDate(Date lastSuccessfulAssociationExecutionDate)
The last date the association was successfully run.
lastSuccessfulAssociationExecutionDate
- The last date the association was successfully run.public Date getLastSuccessfulAssociationExecutionDate()
The last date the association was successfully run.
public InstanceInformation withLastSuccessfulAssociationExecutionDate(Date lastSuccessfulAssociationExecutionDate)
The last date the association was successfully run.
lastSuccessfulAssociationExecutionDate
- The last date the association was successfully run.public void setAssociationOverview(InstanceAggregatedAssociationOverview associationOverview)
Information about the association.
associationOverview
- Information about the association.public InstanceAggregatedAssociationOverview getAssociationOverview()
Information about the association.
public InstanceInformation withAssociationOverview(InstanceAggregatedAssociationOverview associationOverview)
Information about the association.
associationOverview
- Information about the association.public String toString()
toString
in class Object
Object.toString()
public InstanceInformation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.