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