Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.opsworks.model
Class DescribeDeploymentsResult

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

public class DescribeDeploymentsResult
extends java.lang.Object
implements java.io.Serializable

Contains the response to a DescribeDeployments request.

See Also:
Serialized Form

Constructor Summary
DescribeDeploymentsResult()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.List<Deployment> getDeployments()
          An array of Deployment objects that describe the deployments.
 int hashCode()
           
 void setDeployments(java.util.Collection<Deployment> deployments)
          An array of Deployment objects that describe the deployments.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeDeploymentsResult withDeployments(java.util.Collection<Deployment> deployments)
          An array of Deployment objects that describe the deployments.
 DescribeDeploymentsResult withDeployments(Deployment... deployments)
          An array of Deployment objects that describe the deployments.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeDeploymentsResult

public DescribeDeploymentsResult()
Method Detail

getDeployments

public java.util.List<Deployment> getDeployments()
An array of Deployment objects that describe the deployments.

Returns:
An array of Deployment objects that describe the deployments.

setDeployments

public void setDeployments(java.util.Collection<Deployment> deployments)
An array of Deployment objects that describe the deployments.

Parameters:
deployments - An array of Deployment objects that describe the deployments.

withDeployments

public DescribeDeploymentsResult withDeployments(Deployment... deployments)
An array of Deployment objects that describe the deployments.

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

Parameters:
deployments - An array of Deployment objects that describe the deployments.

withDeployments

public DescribeDeploymentsResult withDeployments(java.util.Collection<Deployment> deployments)
An array of Deployment objects that describe the deployments.

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

Parameters:
deployments - An array of Deployment objects that describe the deployments.

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.