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 InstanceInformationclone()booleanequals(Object obj)StringgetAgentVersion()The version of the SSM agent running on your instance.StringgetInstanceId()The instance ID.BooleangetIsLatestVersion()Indicates whether latest version of the SSM agent is running on your instance.DategetLastPingDateTime()The date and time when agent last pinged SSM service.StringgetPingStatus()Connection status of the SSM agent.StringgetPlatformName()The name of the operating system platform running on your instance.StringgetPlatformType()The operating system platform type.StringgetPlatformVersion()The version of the OS platform running on your instance.inthashCode()BooleanisLatestVersion()Indicates whether latest version of the SSM agent is running on your instance.voidsetAgentVersion(String agentVersion)The version of the SSM agent running on your instance.voidsetInstanceId(String instanceId)The instance ID.voidsetIsLatestVersion(Boolean isLatestVersion)Indicates whether latest version of the SSM agent is running on your instance.voidsetLastPingDateTime(Date lastPingDateTime)The date and time when agent last pinged SSM service.voidsetPingStatus(PingStatus pingStatus)Connection status of the SSM agent.voidsetPingStatus(String pingStatus)Connection status of the SSM agent.voidsetPlatformName(String platformName)The name of the operating system platform running on your instance.voidsetPlatformType(PlatformType platformType)The operating system platform type.voidsetPlatformType(String platformType)The operating system platform type.voidsetPlatformVersion(String platformVersion)The version of the OS platform running on your instance.StringtoString()Returns a string representation of this object; useful for testing and debugging.InstanceInformationwithAgentVersion(String agentVersion)The version of the SSM agent running on your instance.InstanceInformationwithInstanceId(String instanceId)The instance ID.InstanceInformationwithIsLatestVersion(Boolean isLatestVersion)Indicates whether latest version of the SSM agent is running on your instance.InstanceInformationwithLastPingDateTime(Date lastPingDateTime)The date and time when agent last pinged SSM service.InstanceInformationwithPingStatus(PingStatus pingStatus)Connection status of the SSM agent.InstanceInformationwithPingStatus(String pingStatus)Connection status of the SSM agent.InstanceInformationwithPlatformName(String platformName)The name of the operating system platform running on your instance.InstanceInformationwithPlatformType(PlatformType platformType)The operating system platform type.InstanceInformationwithPlatformType(String platformType)The operating system platform type.InstanceInformationwithPlatformVersion(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public InstanceInformation clone()
-
-