public class AgentPreview extends Object implements Serializable, Cloneable
This data type is used as a response element in the PreviewAgentsForResourceGroup 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 intalled.
|
String |
getAutoScalingGroup()
The autoscaling 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 intalled.
|
void |
setAutoScalingGroup(String autoScalingGroup)
The autoscaling 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 intalled.
|
AgentPreview |
withAutoScalingGroup(String autoScalingGroup)
The autoscaling 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 intalled.
agentId
- The id of the EC2 instance where the agent is intalled.public String getAgentId()
The id of the EC2 instance where the agent is intalled.
public AgentPreview withAgentId(String agentId)
The id of the EC2 instance where the agent is intalled.
agentId
- The id of the EC2 instance where the agent is intalled.public void setAutoScalingGroup(String autoScalingGroup)
The autoscaling group for the EC2 instance where the agent is installed.
autoScalingGroup
- The autoscaling group for the EC2 instance where the agent is
installed.public String getAutoScalingGroup()
The autoscaling group for the EC2 instance where the agent is installed.
public AgentPreview withAutoScalingGroup(String autoScalingGroup)
The autoscaling group for the EC2 instance where the agent is installed.
autoScalingGroup
- The autoscaling 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.