public class InstanceInformation
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes a filter for a specific list of instances.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
agentVersion
The version of the SSM agent running on your instance.
|
private java.lang.String |
instanceId
The instance ID.
|
private java.lang.Boolean |
isLatestVersion
Indicates whether latest version of the SSM agent is running on your
instance.
|
private java.util.Date |
lastPingDateTime
The date and time when agent last pinged SSM service.
|
private java.lang.String |
pingStatus
Connection status of the SSM agent.
|
private java.lang.String |
platformName
The name of the operating system platform running on your instance.
|
private java.lang.String |
platformType
The operating system platform type.
|
private java.lang.String |
platformVersion
The version of the OS platform running on your instance.
|
Constructor and Description |
---|
InstanceInformation() |
Modifier and Type | Method and Description |
---|---|
InstanceInformation |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAgentVersion()
The version of the SSM agent running on your instance.
|
java.lang.String |
getInstanceId()
The instance ID.
|
java.lang.Boolean |
getIsLatestVersion()
Indicates whether latest version of the SSM agent is running on your
instance.
|
java.util.Date |
getLastPingDateTime()
The date and time when agent last pinged SSM service.
|
java.lang.String |
getPingStatus()
Connection status of the SSM agent.
|
java.lang.String |
getPlatformName()
The name of the operating system platform running on your instance.
|
java.lang.String |
getPlatformType()
The operating system platform type.
|
java.lang.String |
getPlatformVersion()
The version of the OS platform running on your instance.
|
int |
hashCode() |
java.lang.Boolean |
isLatestVersion()
Indicates whether latest version of the SSM agent is running on your
instance.
|
void |
setAgentVersion(java.lang.String agentVersion)
The version of the SSM agent running on your instance.
|
void |
setInstanceId(java.lang.String instanceId)
The instance ID.
|
void |
setIsLatestVersion(java.lang.Boolean isLatestVersion)
Indicates whether latest version of the SSM agent is running on your
instance.
|
void |
setLastPingDateTime(java.util.Date lastPingDateTime)
The date and time when agent last pinged SSM service.
|
void |
setPingStatus(PingStatus pingStatus)
Connection status of the SSM agent.
|
void |
setPingStatus(java.lang.String pingStatus)
Connection status of the SSM agent.
|
void |
setPlatformName(java.lang.String platformName)
The name of the operating system platform running on your instance.
|
void |
setPlatformType(PlatformType platformType)
The operating system platform type.
|
void |
setPlatformType(java.lang.String platformType)
The operating system platform type.
|
void |
setPlatformVersion(java.lang.String platformVersion)
The version of the OS platform running on your instance.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
InstanceInformation |
withAgentVersion(java.lang.String agentVersion)
The version of the SSM agent running on your instance.
|
InstanceInformation |
withInstanceId(java.lang.String instanceId)
The instance ID.
|
InstanceInformation |
withIsLatestVersion(java.lang.Boolean isLatestVersion)
Indicates whether latest version of the SSM agent is running on your
instance.
|
InstanceInformation |
withLastPingDateTime(java.util.Date lastPingDateTime)
The date and time when agent last pinged SSM service.
|
InstanceInformation |
withPingStatus(PingStatus pingStatus)
Connection status of the SSM agent.
|
InstanceInformation |
withPingStatus(java.lang.String pingStatus)
Connection status of the SSM agent.
|
InstanceInformation |
withPlatformName(java.lang.String platformName)
The name of the operating system platform running on your instance.
|
InstanceInformation |
withPlatformType(PlatformType platformType)
The operating system platform type.
|
InstanceInformation |
withPlatformType(java.lang.String platformType)
The operating system platform type.
|
InstanceInformation |
withPlatformVersion(java.lang.String platformVersion)
The version of the OS platform running on your instance.
|
private java.lang.String instanceId
The instance ID.
private java.lang.String pingStatus
Connection status of the SSM agent.
private java.util.Date lastPingDateTime
The date and time when agent last pinged SSM service.
private java.lang.String agentVersion
The version of the SSM agent running on your instance.
private java.lang.Boolean isLatestVersion
Indicates whether latest version of the SSM agent is running on your instance.
private java.lang.String platformType
The operating system platform type.
private java.lang.String platformName
The name of the operating system platform running on your instance.
private java.lang.String platformVersion
The version of the OS platform running on your instance.
public void setInstanceId(java.lang.String instanceId)
The instance ID.
instanceId
- The instance ID.public java.lang.String getInstanceId()
The instance ID.
public InstanceInformation withInstanceId(java.lang.String instanceId)
The instance ID.
instanceId
- The instance ID.public void setPingStatus(java.lang.String pingStatus)
Connection status of the SSM agent.
pingStatus
- Connection status of the SSM agent.PingStatus
public java.lang.String getPingStatus()
Connection status of the SSM agent.
PingStatus
public InstanceInformation withPingStatus(java.lang.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(java.util.Date lastPingDateTime)
The date and time when agent last pinged SSM service.
lastPingDateTime
- The date and time when agent last pinged SSM service.public java.util.Date getLastPingDateTime()
The date and time when agent last pinged SSM service.
public InstanceInformation withLastPingDateTime(java.util.Date lastPingDateTime)
The date and time when agent last pinged SSM service.
lastPingDateTime
- The date and time when agent last pinged SSM service.public void setAgentVersion(java.lang.String agentVersion)
The version of the SSM agent running on your instance.
agentVersion
- The version of the SSM agent running on your instance.public java.lang.String getAgentVersion()
The version of the SSM agent running on your instance.
public InstanceInformation withAgentVersion(java.lang.String agentVersion)
The version of the SSM agent running on your instance.
agentVersion
- The version of the SSM agent running on your instance.public void setIsLatestVersion(java.lang.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 java.lang.Boolean getIsLatestVersion()
Indicates whether latest version of the SSM agent is running on your instance.
public InstanceInformation withIsLatestVersion(java.lang.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 java.lang.Boolean isLatestVersion()
Indicates whether latest version of the SSM agent is running on your instance.
public void setPlatformType(java.lang.String platformType)
The operating system platform type.
platformType
- The operating system platform type.PlatformType
public java.lang.String getPlatformType()
The operating system platform type.
PlatformType
public InstanceInformation withPlatformType(java.lang.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(java.lang.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 java.lang.String getPlatformName()
The name of the operating system platform running on your instance.
public InstanceInformation withPlatformName(java.lang.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(java.lang.String platformVersion)
The version of the OS platform running on your instance.
platformVersion
- The version of the OS platform running on your instance.public java.lang.String getPlatformVersion()
The version of the OS platform running on your instance.
public InstanceInformation withPlatformVersion(java.lang.String platformVersion)
The version of the OS platform running on your instance.
platformVersion
- The version of the OS platform running on your instance.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public InstanceInformation clone()
clone
in class java.lang.Object