@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AgentPreview extends Object implements Serializable, Cloneable, StructuredPojo
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.