Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.opsworks.model
Class DescribeDeploymentsRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.opsworks.model.DescribeDeploymentsRequest
All Implemented Interfaces:
java.io.Serializable

public class DescribeDeploymentsRequest
extends AmazonWebServiceRequest
implements java.io.Serializable

Container for the parameters to the DescribeDeployments operation.

Requests a description of a specified set of deployments.

See Also:
AWSOpsWorks.describeDeployments(DescribeDeploymentsRequest), Serialized Form

Constructor Summary
DescribeDeploymentsRequest()
           
 
Method Summary
 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.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeDeploymentsRequest

public DescribeDeploymentsRequest()
Method Detail

getStackId

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.

Returns:
The stack ID. If you include this parameter, DescribeDeployments returns a description of the commands associated with the specified stack.

setStackId

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.

Parameters:
stackId - The stack ID. If you include this parameter, DescribeDeployments returns a description of the commands associated with the specified stack.

withStackId

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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
stackId - The stack ID. If you include this parameter, DescribeDeployments returns a description of the commands associated with the specified stack.

getAppId

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.

Returns:
The app ID. If you include this parameter, DescribeDeployments returns a description of the commands associated with the specified app.

setAppId

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.

Parameters:
appId - The app ID. If you include this parameter, DescribeDeployments returns a description of the commands associated with the specified app.

withAppId

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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
appId - The app ID. If you include this parameter, DescribeDeployments returns a description of the commands associated with the specified app.

getDeploymentIds

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.

Returns:
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.

setDeploymentIds

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.

Parameters:
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.

withDeploymentIds

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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.

withDeploymentIds

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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.