public class DescribeAgentVersionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DescribeAgentVersions operation
.
Describes the available AWS OpsWorks agent versions. You must specify
a stack ID or a configuration manager.
DescribeAgentVersions
returns a list of available agent
versions for the specified stack or configuration manager.
NOOP
Constructor and Description |
---|
DescribeAgentVersionsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeAgentVersionsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
StackConfigurationManager |
getConfigurationManager()
The configuration manager.
|
String |
getStackId()
The stack ID.
|
int |
hashCode() |
void |
setConfigurationManager(StackConfigurationManager configurationManager)
The configuration manager.
|
void |
setStackId(String stackId)
The stack ID.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeAgentVersionsRequest |
withConfigurationManager(StackConfigurationManager configurationManager)
The configuration manager.
|
DescribeAgentVersionsRequest |
withStackId(String stackId)
The stack ID.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getStackId()
public void setStackId(String stackId)
stackId
- The stack ID.public DescribeAgentVersionsRequest withStackId(String stackId)
Returns a reference to this object so that method calls can be chained together.
stackId
- The stack ID.public StackConfigurationManager getConfigurationManager()
public void setConfigurationManager(StackConfigurationManager configurationManager)
configurationManager
- The configuration manager.public DescribeAgentVersionsRequest withConfigurationManager(StackConfigurationManager configurationManager)
Returns a reference to this object so that method calls can be chained together.
configurationManager
- The configuration manager.public String toString()
toString
in class Object
Object.toString()
public DescribeAgentVersionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.