com.amazonaws.services.opsworks.model
Class DescribeDeploymentsResult

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

public class DescribeDeploymentsResult
extends Object
implements Serializable

Contains the response to a DescribeDeployments request.

See Also:
Serialized Form

Constructor Summary
DescribeDeploymentsResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<Deployment> getDeployments()
          An array of Deployment objects that describe the deployments.
 int hashCode()
           
 void setDeployments(Collection<Deployment> deployments)
          An array of Deployment objects that describe the deployments.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeDeploymentsResult withDeployments(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
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeDeploymentsResult

public DescribeDeploymentsResult()
Method Detail

getDeployments

public 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(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.
Returns:
A reference to this updated object so that method calls can be chained together.

withDeployments

public DescribeDeploymentsResult withDeployments(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.
Returns:
A reference to this updated 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:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.