public class AgentPreview extends Object implements Serializable, Cloneable
Used as a response element in the PreviewAgents action.
Constructor and Description |
---|
AgentPreview() |
Modifier and Type | Method and Description |
---|---|
AgentPreview |
clone() |
boolean |
equals(Object obj) |
String |
getAgentId()
The ID of the EC2 instance where the agent is installed.
|
String |
getAutoScalingGroup()
The Auto Scaling group for the EC2 instance where the agent is installed.
|
int |
hashCode() |
void |
setAgentId(String agentId)
The ID of the EC2 instance where the agent is installed.
|
void |
setAutoScalingGroup(String autoScalingGroup)
The Auto Scaling group for the EC2 instance where the agent is installed.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AgentPreview |
withAgentId(String agentId)
The ID of the EC2 instance where the agent is installed.
|
AgentPreview |
withAutoScalingGroup(String autoScalingGroup)
The Auto Scaling group for the EC2 instance where the agent is installed.
|
public void setAgentId(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 String getAgentId()
The ID of the EC2 instance where the agent is installed.
public AgentPreview withAgentId(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(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 String getAutoScalingGroup()
The Auto Scaling group for the EC2 instance where the agent is installed.
public AgentPreview withAutoScalingGroup(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 String toString()
toString
in class Object
Object.toString()
public AgentPreview clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.