public class DescribeDeploymentsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DescribeDeployments operation
.
Requests a description of a specified set of deployments.
NOTE: You must specify at least one of the parameters.
Required Permissions : To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions .
NOOP
Constructor and Description |
---|
DescribeDeploymentsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeDeploymentsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getAppId()
The app ID.
|
List<String> |
getDeploymentIds()
An array of deployment IDs to be described.
|
String |
getStackId()
The stack ID.
|
int |
hashCode() |
void |
setAppId(String appId)
The app ID.
|
void |
setDeploymentIds(Collection<String> deploymentIds)
An array of deployment IDs to be described.
|
void |
setStackId(String stackId)
The stack ID.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeDeploymentsRequest |
withAppId(String appId)
The app ID.
|
DescribeDeploymentsRequest |
withDeploymentIds(Collection<String> deploymentIds)
An array of deployment IDs to be described.
|
DescribeDeploymentsRequest |
withDeploymentIds(String... deploymentIds)
An array of deployment IDs to be described.
|
DescribeDeploymentsRequest |
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()
DescribeDeployments
returns a description of the commands
associated with the specified stack.DescribeDeployments
returns a description of the commands
associated with the specified stack.public void setStackId(String stackId)
DescribeDeployments
returns a description of the commands
associated with the specified stack.stackId
- The stack ID. If you include this parameter,
DescribeDeployments
returns a description of the commands
associated with the specified stack.public DescribeDeploymentsRequest withStackId(String stackId)
DescribeDeployments
returns a description of the commands
associated with the specified stack.
Returns a reference to this object so that method calls can be chained together.
stackId
- The stack ID. If you include this parameter,
DescribeDeployments
returns a description of the commands
associated with the specified stack.public String getAppId()
DescribeDeployments
returns a description of the commands
associated with the specified app.DescribeDeployments
returns a description of the commands
associated with the specified app.public void setAppId(String appId)
DescribeDeployments
returns a description of the commands
associated with the specified app.appId
- The app ID. If you include this parameter,
DescribeDeployments
returns a description of the commands
associated with the specified app.public DescribeDeploymentsRequest withAppId(String appId)
DescribeDeployments
returns a description of the commands
associated with the specified app.
Returns a reference to this object so that method calls can be chained together.
appId
- The app ID. If you include this parameter,
DescribeDeployments
returns a description of the commands
associated with the specified app.public List<String> getDeploymentIds()
DescribeDeployments
returns a description of
the specified deployments. Otherwise, it returns a description of
every deployment.DescribeDeployments
returns a description of
the specified deployments. Otherwise, it returns a description of
every deployment.public void setDeploymentIds(Collection<String> deploymentIds)
DescribeDeployments
returns a description of
the specified deployments. Otherwise, it returns a description of
every deployment.deploymentIds
- An array of deployment IDs to be described. If you include this
parameter, DescribeDeployments
returns a description of
the specified deployments. Otherwise, it returns a description of
every deployment.public DescribeDeploymentsRequest withDeploymentIds(String... deploymentIds)
DescribeDeployments
returns 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)
or withDeploymentIds(java.util.Collection)
if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
deploymentIds
- An array of deployment IDs to be described. If you include this
parameter, DescribeDeployments
returns a description of
the specified deployments. Otherwise, it returns a description of
every deployment.public DescribeDeploymentsRequest withDeploymentIds(Collection<String> deploymentIds)
DescribeDeployments
returns a description of
the specified deployments. Otherwise, it returns a description of
every deployment.
Returns a reference to this object so that method calls can be chained together.
deploymentIds
- An array of deployment IDs to be described. If you include this
parameter, DescribeDeployments
returns a description of
the specified deployments. Otherwise, it returns a description of
every deployment.public String toString()
toString
in class Object
Object.toString()
public DescribeDeploymentsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.