Class DescribeDeploymentsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.opsworks.model.DescribeDeploymentsRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class DescribeDeploymentsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeDeploymentsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeDeploymentsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetAppId()The app ID.List<String>getDeploymentIds()An array of deployment IDs to be described.StringgetStackId()The stack ID.inthashCode()voidsetAppId(String appId)The app ID.voidsetDeploymentIds(Collection<String> deploymentIds)An array of deployment IDs to be described.voidsetStackId(String stackId)The stack ID.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeDeploymentsRequestwithAppId(String appId)The app ID.DescribeDeploymentsRequestwithDeploymentIds(String... deploymentIds)An array of deployment IDs to be described.DescribeDeploymentsRequestwithDeploymentIds(Collection<String> deploymentIds)An array of deployment IDs to be described.DescribeDeploymentsRequestwithStackId(String stackId)The stack ID.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setStackId
public void setStackId(String stackId)
The stack ID. If you include this parameter,
DescribeDeploymentsreturns a description of the commands associated with the specified stack.- Parameters:
stackId- The stack ID. If you include this parameter,DescribeDeploymentsreturns a description of the commands associated with the specified stack.
-
getStackId
public String getStackId()
The stack ID. If you include this parameter,
DescribeDeploymentsreturns a description of the commands associated with the specified stack.- Returns:
- The stack ID. If you include this parameter,
DescribeDeploymentsreturns a description of the commands associated with the specified stack.
-
withStackId
public DescribeDeploymentsRequest withStackId(String stackId)
The stack ID. If you include this parameter,
DescribeDeploymentsreturns a description of the commands associated with the specified stack.- Parameters:
stackId- The stack ID. If you include this parameter,DescribeDeploymentsreturns a description of the commands associated with the specified stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAppId
public void setAppId(String appId)
The app ID. If you include this parameter,
DescribeDeploymentsreturns a description of the commands associated with the specified app.- Parameters:
appId- The app ID. If you include this parameter,DescribeDeploymentsreturns a description of the commands associated with the specified app.
-
getAppId
public String getAppId()
The app ID. If you include this parameter,
DescribeDeploymentsreturns a description of the commands associated with the specified app.- Returns:
- The app ID. If you include this parameter,
DescribeDeploymentsreturns a description of the commands associated with the specified app.
-
withAppId
public DescribeDeploymentsRequest withAppId(String appId)
The app ID. If you include this parameter,
DescribeDeploymentsreturns a description of the commands associated with the specified app.- Parameters:
appId- The app ID. If you include this parameter,DescribeDeploymentsreturns a description of the commands associated with the specified app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDeploymentIds
public List<String> getDeploymentIds()
An array of deployment IDs to be described. If you include this parameter,
DescribeDeploymentsreturns a description of the specified deployments. Otherwise, it returns a description of every deployment.- Returns:
- An array of deployment IDs to be described. If you include this
parameter,
DescribeDeploymentsreturns a description of the specified deployments. Otherwise, it returns a description of every deployment.
-
setDeploymentIds
public void setDeploymentIds(Collection<String> deploymentIds)
An array of deployment IDs to be described. If you include this parameter,
DescribeDeploymentsreturns a description of the specified deployments. Otherwise, it returns a description of every deployment.- Parameters:
deploymentIds- An array of deployment IDs to be described. If you include this parameter,DescribeDeploymentsreturns a description of the specified deployments. Otherwise, it returns a description of every deployment.
-
withDeploymentIds
public DescribeDeploymentsRequest withDeploymentIds(String... deploymentIds)
An array of deployment IDs to be described. If you include this parameter,
DescribeDeploymentsreturns a description of the specified deployments. Otherwise, it returns a description of every deployment.NOTE: This method appends the values to the existing list (if any). Use
setDeploymentIds(java.util.Collection)orwithDeploymentIds(java.util.Collection)if you want to override the existing values.- Parameters:
deploymentIds- An array of deployment IDs to be described. If you include this parameter,DescribeDeploymentsreturns a description of the specified deployments. Otherwise, it returns a description of every deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withDeploymentIds
public DescribeDeploymentsRequest withDeploymentIds(Collection<String> deploymentIds)
An array of deployment IDs to be described. If you include this parameter,
DescribeDeploymentsreturns a description of the specified deployments. Otherwise, it returns a description of every deployment.- Parameters:
deploymentIds- An array of deployment IDs to be described. If you include this parameter,DescribeDeploymentsreturns a description of the specified deployments. Otherwise, it returns a description of every deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeDeploymentsRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-