public class AgentPreview
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Used as a response element in the PreviewAgents action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
agentId
The ID of the EC2 instance where the agent is installed.
|
private java.lang.String |
autoScalingGroup
The Auto Scaling group for the EC2 instance where the agent is installed.
|
Constructor and Description |
---|
AgentPreview() |
Modifier and Type | Method and Description |
---|---|
AgentPreview |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAgentId()
The ID of the EC2 instance where the agent is installed.
|
java.lang.String |
getAutoScalingGroup()
The Auto Scaling group for the EC2 instance where the agent is installed.
|
int |
hashCode() |
void |
setAgentId(java.lang.String agentId)
The ID of the EC2 instance where the agent is installed.
|
void |
setAutoScalingGroup(java.lang.String autoScalingGroup)
The Auto Scaling group for the EC2 instance where the agent is installed.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AgentPreview |
withAgentId(java.lang.String agentId)
The ID of the EC2 instance where the agent is installed.
|
AgentPreview |
withAutoScalingGroup(java.lang.String autoScalingGroup)
The Auto Scaling group for the EC2 instance where the agent is installed.
|
private java.lang.String agentId
The ID of the EC2 instance where the agent is installed.
private java.lang.String autoScalingGroup
The Auto Scaling group for the EC2 instance where the agent is installed.
public void setAgentId(java.lang.String agentId)
The ID of the EC2 instance where the agent is installed.
agentId
- The ID of the EC2 instance where the agent is installed.public java.lang.String getAgentId()
The ID of the EC2 instance where the agent is installed.
public AgentPreview withAgentId(java.lang.String agentId)
The ID of the EC2 instance where the agent is installed.
agentId
- The ID of the EC2 instance where the agent is installed.public void setAutoScalingGroup(java.lang.String autoScalingGroup)
The Auto Scaling group for the EC2 instance where the agent is installed.
autoScalingGroup
- The Auto Scaling group for the EC2 instance where the agent is
installed.public java.lang.String getAutoScalingGroup()
The Auto Scaling group for the EC2 instance where the agent is installed.
public AgentPreview withAutoScalingGroup(java.lang.String autoScalingGroup)
The Auto Scaling group for the EC2 instance where the agent is installed.
autoScalingGroup
- The Auto Scaling group for the EC2 instance where the agent is
installed.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AgentPreview clone()
clone
in class java.lang.Object