public class DescribeDeploymentsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
appId
The app ID.
|
private SdkInternalList<java.lang.String> |
deploymentIds
An array of deployment IDs to be described.
|
private java.lang.String |
stackId
The stack ID.
|
NOOP
Constructor and Description |
---|
DescribeDeploymentsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeDeploymentsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAppId()
The app ID.
|
java.util.List<java.lang.String> |
getDeploymentIds()
An array of deployment IDs to be described.
|
java.lang.String |
getStackId()
The stack ID.
|
int |
hashCode() |
void |
setAppId(java.lang.String appId)
The app ID.
|
void |
setDeploymentIds(java.util.Collection<java.lang.String> deploymentIds)
An array of deployment IDs to be described.
|
void |
setStackId(java.lang.String stackId)
The stack ID.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeDeploymentsRequest |
withAppId(java.lang.String appId)
The app ID.
|
DescribeDeploymentsRequest |
withDeploymentIds(java.util.Collection<java.lang.String> deploymentIds)
An array of deployment IDs to be described.
|
DescribeDeploymentsRequest |
withDeploymentIds(java.lang.String... deploymentIds)
An array of deployment IDs to be described.
|
DescribeDeploymentsRequest |
withStackId(java.lang.String stackId)
The stack ID.
|
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
private java.lang.String stackId
The stack ID. If you include this parameter,
DescribeDeployments
returns a description of the commands
associated with the specified stack.
private java.lang.String appId
The app ID. If you include this parameter,
DescribeDeployments
returns a description of the commands
associated with the specified app.
private SdkInternalList<java.lang.String> 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 void setStackId(java.lang.String stackId)
The stack ID. If you include this parameter,
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 java.lang.String getStackId()
The stack ID. If you include this parameter,
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 DescribeDeploymentsRequest withStackId(java.lang.String stackId)
The stack ID. If you include this parameter,
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 void setAppId(java.lang.String appId)
The app ID. If you include this parameter,
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 java.lang.String getAppId()
The app ID. If you include this parameter,
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 DescribeDeploymentsRequest withAppId(java.lang.String appId)
The app ID. If you include this parameter,
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 java.util.List<java.lang.String> getDeploymentIds()
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.
DescribeDeployments
returns a description
of the specified deployments. Otherwise, it returns a description
of every deployment.public void setDeploymentIds(java.util.Collection<java.lang.String> 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.
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(java.lang.String... 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.
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.
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(java.util.Collection<java.lang.String> 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.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeDeploymentsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()