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:
  • Constructor Details

    • InstanceInformation

      public InstanceInformation()
  • Method Details

    • 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:
    • getPingStatus

      public String getPingStatus()

      Connection status of the SSM agent.

      Returns:
      Connection status of the SSM agent.
      See Also:
    • 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:
    • setPingStatus

      public void setPingStatus(PingStatus pingStatus)

      Connection status of the SSM agent.

      Parameters:
      pingStatus - Connection status of the SSM agent.
      See Also:
    • 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:
    • 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:
    • getPlatformType

      public String getPlatformType()

      The operating system platform type.

      Returns:
      The operating system platform type.
      See Also:
    • 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:
    • setPlatformType

      public void setPlatformType(PlatformType platformType)

      The operating system platform type.

      Parameters:
      platformType - The operating system platform type.
      See Also:
    • 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:
    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public InstanceInformation clone()
      Overrides:
      clone in class Object