Class InstanceInformation
- java.lang.Object
-
- com.amazonaws.services.simplesystemsmanagement.model.InstanceInformation
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class InstanceInformation extends Object implements Serializable, Cloneable
Describes a filter for a specific list of instances.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InstanceInformation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setInstanceId
public void setInstanceId(String instanceId)
The instance ID.
- Parameters:
instanceId
- The instance ID.
-
getInstanceId
public String getInstanceId()
The instance ID.
- Returns:
- The instance ID.
-
withInstanceId
public InstanceInformation withInstanceId(String instanceId)
The instance ID.
- Parameters:
instanceId
- The instance ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPingStatus
public void setPingStatus(String pingStatus)
Connection status of the SSM agent.
- Parameters:
pingStatus
- Connection status of the SSM agent.- See Also:
PingStatus
-
getPingStatus
public String getPingStatus()
Connection status of the SSM agent.
- Returns:
- Connection status of the SSM agent.
- See Also:
PingStatus
-
withPingStatus
public InstanceInformation withPingStatus(String pingStatus)
Connection status of the SSM agent.
- Parameters:
pingStatus
- Connection status of the SSM agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PingStatus
-
setPingStatus
public void setPingStatus(PingStatus pingStatus)
Connection status of the SSM agent.
- Parameters:
pingStatus
- Connection status of the SSM agent.- See Also:
PingStatus
-
withPingStatus
public InstanceInformation withPingStatus(PingStatus pingStatus)
Connection status of the SSM agent.
- Parameters:
pingStatus
- Connection status of the SSM agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PingStatus
-
setLastPingDateTime
public void setLastPingDateTime(Date lastPingDateTime)
The date and time when agent last pinged SSM service.
- Parameters:
lastPingDateTime
- The date and time when agent last pinged SSM service.
-
getLastPingDateTime
public Date getLastPingDateTime()
The date and time when agent last pinged SSM service.
- Returns:
- The date and time when agent last pinged SSM service.
-
withLastPingDateTime
public InstanceInformation withLastPingDateTime(Date lastPingDateTime)
The date and time when agent last pinged SSM service.
- Parameters:
lastPingDateTime
- The date and time when agent last pinged SSM service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAgentVersion
public void setAgentVersion(String agentVersion)
The version of the SSM agent running on your instance.
- Parameters:
agentVersion
- The version of the SSM agent running on your instance.
-
getAgentVersion
public String getAgentVersion()
The version of the SSM agent running on your instance.
- Returns:
- The version of the SSM agent running on your instance.
-
withAgentVersion
public InstanceInformation withAgentVersion(String agentVersion)
The version of the SSM agent running on your instance.
- Parameters:
agentVersion
- The version of the SSM agent running on your instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIsLatestVersion
public void setIsLatestVersion(Boolean isLatestVersion)
Indicates whether latest version of the SSM agent is running on your instance.
- Parameters:
isLatestVersion
- Indicates whether latest version of the SSM agent is running on your instance.
-
getIsLatestVersion
public Boolean getIsLatestVersion()
Indicates whether latest version of the SSM agent is running on your instance.
- Returns:
- Indicates whether latest version of the SSM agent is running on your instance.
-
withIsLatestVersion
public InstanceInformation withIsLatestVersion(Boolean isLatestVersion)
Indicates whether latest version of the SSM agent is running on your instance.
- Parameters:
isLatestVersion
- Indicates whether latest version of the SSM agent is running on your instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isLatestVersion
public Boolean isLatestVersion()
Indicates whether latest version of the SSM agent is running on your instance.
- Returns:
- Indicates whether latest version of the SSM agent is running on your instance.
-
setPlatformType
public void setPlatformType(String platformType)
The operating system platform type.
- Parameters:
platformType
- The operating system platform type.- See Also:
PlatformType
-
getPlatformType
public String getPlatformType()
The operating system platform type.
- Returns:
- The operating system platform type.
- See Also:
PlatformType
-
withPlatformType
public InstanceInformation withPlatformType(String platformType)
The operating system platform type.
- Parameters:
platformType
- The operating system platform type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PlatformType
-
setPlatformType
public void setPlatformType(PlatformType platformType)
The operating system platform type.
- Parameters:
platformType
- The operating system platform type.- See Also:
PlatformType
-
withPlatformType
public InstanceInformation withPlatformType(PlatformType platformType)
The operating system platform type.
- Parameters:
platformType
- The operating system platform type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PlatformType
-
setPlatformName
public void setPlatformName(String platformName)
The name of the operating system platform running on your instance.
- Parameters:
platformName
- The name of the operating system platform running on your instance.
-
getPlatformName
public String getPlatformName()
The name of the operating system platform running on your instance.
- Returns:
- The name of the operating system platform running on your instance.
-
withPlatformName
public InstanceInformation withPlatformName(String platformName)
The name of the operating system platform running on your instance.
- Parameters:
platformName
- The name of the operating system platform running on your instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPlatformVersion
public void setPlatformVersion(String platformVersion)
The version of the OS platform running on your instance.
- Parameters:
platformVersion
- The version of the OS platform running on your instance.
-
getPlatformVersion
public String getPlatformVersion()
The version of the OS platform running on your instance.
- Returns:
- The version of the OS platform running on your instance.
-
withPlatformVersion
public InstanceInformation withPlatformVersion(String platformVersion)
The version of the OS platform running on your instance.
- Parameters:
platformVersion
- The version of the OS platform running on your instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public InstanceInformation clone()
-
-