Class InstanceInformation

    • Constructor Detail

      • InstanceInformation

        public InstanceInformation()
    • 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 class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object