@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeAgentVersionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the response to a DescribeAgentVersions request.
| Constructor and Description |
|---|
DescribeAgentVersionsResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeAgentVersionsResult |
clone() |
boolean |
equals(Object obj) |
List<AgentVersion> |
getAgentVersions()
The agent versions for the specified stack or configuration manager.
|
int |
hashCode() |
void |
setAgentVersions(Collection<AgentVersion> agentVersions)
The agent versions for the specified stack or configuration manager.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeAgentVersionsResult |
withAgentVersions(AgentVersion... agentVersions)
The agent versions for the specified stack or configuration manager.
|
DescribeAgentVersionsResult |
withAgentVersions(Collection<AgentVersion> agentVersions)
The agent versions for the specified stack or configuration manager.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<AgentVersion> getAgentVersions()
The agent versions for the specified stack or configuration manager. Note that this value is the complete version number, not the abbreviated number used by the console.
public void setAgentVersions(Collection<AgentVersion> agentVersions)
The agent versions for the specified stack or configuration manager. Note that this value is the complete version number, not the abbreviated number used by the console.
agentVersions - The agent versions for the specified stack or configuration manager. Note that this value is the complete
version number, not the abbreviated number used by the console.public DescribeAgentVersionsResult withAgentVersions(AgentVersion... agentVersions)
The agent versions for the specified stack or configuration manager. Note that this value is the complete version number, not the abbreviated number used by the console.
NOTE: This method appends the values to the existing list (if any). Use
setAgentVersions(java.util.Collection) or withAgentVersions(java.util.Collection) if you want
to override the existing values.
agentVersions - The agent versions for the specified stack or configuration manager. Note that this value is the complete
version number, not the abbreviated number used by the console.public DescribeAgentVersionsResult withAgentVersions(Collection<AgentVersion> agentVersions)
The agent versions for the specified stack or configuration manager. Note that this value is the complete version number, not the abbreviated number used by the console.
agentVersions - The agent versions for the specified stack or configuration manager. Note that this value is the complete
version number, not the abbreviated number used by the console.public String toString()
toString in class ObjectObject.toString()public DescribeAgentVersionsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.