public class InstanceInformation extends Object implements Serializable, Cloneable
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 |
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)
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 SSM service.
lastPingDateTime
- The date and time when agent last pinged SSM service.public Date getLastPingDateTime()
The date and time when agent last pinged SSM service.
public InstanceInformation withLastPingDateTime(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(String agentVersion)
The version of the SSM agent running on your instance.
agentVersion
- The version of the SSM agent running on your instance.public String getAgentVersion()
The version of the SSM agent running on your instance.
public InstanceInformation withAgentVersion(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(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 String toString()
toString
in class Object
Object.toString()
public InstanceInformation clone()
Copyright © 2018. All rights reserved.