Class AgentPreview

    • Constructor Detail

      • AgentPreview

        public AgentPreview()
    • Method Detail

      • setAgentId

        public void setAgentId​(String agentId)

        The ID of the EC2 instance where the agent is installed.

        Parameters:
        agentId - The ID of the EC2 instance where the agent is installed.
      • getAgentId

        public String getAgentId()

        The ID of the EC2 instance where the agent is installed.

        Returns:
        The ID of the EC2 instance where the agent is installed.
      • withAgentId

        public AgentPreview withAgentId​(String agentId)

        The ID of the EC2 instance where the agent is installed.

        Parameters:
        agentId - The ID of the EC2 instance where the agent is installed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAutoScalingGroup

        public void setAutoScalingGroup​(String autoScalingGroup)

        The Auto Scaling group for the EC2 instance where the agent is installed.

        Parameters:
        autoScalingGroup - The Auto Scaling group for the EC2 instance where the agent is installed.
      • getAutoScalingGroup

        public String getAutoScalingGroup()

        The Auto Scaling group for the EC2 instance where the agent is installed.

        Returns:
        The Auto Scaling group for the EC2 instance where the agent is installed.
      • withAutoScalingGroup

        public AgentPreview withAutoScalingGroup​(String autoScalingGroup)

        The Auto Scaling group for the EC2 instance where the agent is installed.

        Parameters:
        autoScalingGroup - The Auto Scaling group for the EC2 instance where the agent is installed.
        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