public class BatchGetDeploymentsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the output of a batch get deployments operation.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<DeploymentInfo> |
deploymentsInfo
Information about the deployments.
|
Constructor and Description |
---|
BatchGetDeploymentsResult() |
Modifier and Type | Method and Description |
---|---|
BatchGetDeploymentsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<DeploymentInfo> |
getDeploymentsInfo()
Information about the deployments.
|
int |
hashCode() |
void |
setDeploymentsInfo(java.util.Collection<DeploymentInfo> deploymentsInfo)
Information about the deployments.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BatchGetDeploymentsResult |
withDeploymentsInfo(java.util.Collection<DeploymentInfo> deploymentsInfo)
Information about the deployments.
|
BatchGetDeploymentsResult |
withDeploymentsInfo(DeploymentInfo... deploymentsInfo)
Information about the deployments.
|
private SdkInternalList<DeploymentInfo> deploymentsInfo
Information about the deployments.
public java.util.List<DeploymentInfo> getDeploymentsInfo()
Information about the deployments.
public void setDeploymentsInfo(java.util.Collection<DeploymentInfo> deploymentsInfo)
Information about the deployments.
deploymentsInfo
- Information about the deployments.public BatchGetDeploymentsResult withDeploymentsInfo(DeploymentInfo... deploymentsInfo)
Information about the deployments.
NOTE: This method appends the values to the existing list (if
any). Use setDeploymentsInfo(java.util.Collection)
or
withDeploymentsInfo(java.util.Collection)
if you want to
override the existing values.
deploymentsInfo
- Information about the deployments.public BatchGetDeploymentsResult withDeploymentsInfo(java.util.Collection<DeploymentInfo> deploymentsInfo)
Information about the deployments.
deploymentsInfo
- Information about the deployments.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 BatchGetDeploymentsResult clone()
clone
in class java.lang.Object