Class BatchGetDeploymentGroupsResult
- java.lang.Object
-
- com.amazonaws.services.codedeploy.model.BatchGetDeploymentGroupsResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class BatchGetDeploymentGroupsResult extends Object implements Serializable, Cloneable
Represents the output of a batch get deployment groups operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BatchGetDeploymentGroupsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchGetDeploymentGroupsResultclone()booleanequals(Object obj)List<DeploymentGroupInfo>getDeploymentGroupsInfo()Information about the deployment groups.StringgetErrorMessage()Information about errors that may have occurred during the API call.inthashCode()voidsetDeploymentGroupsInfo(Collection<DeploymentGroupInfo> deploymentGroupsInfo)Information about the deployment groups.voidsetErrorMessage(String errorMessage)Information about errors that may have occurred during the API call.StringtoString()Returns a string representation of this object; useful for testing and debugging.BatchGetDeploymentGroupsResultwithDeploymentGroupsInfo(DeploymentGroupInfo... deploymentGroupsInfo)Information about the deployment groups.BatchGetDeploymentGroupsResultwithDeploymentGroupsInfo(Collection<DeploymentGroupInfo> deploymentGroupsInfo)Information about the deployment groups.BatchGetDeploymentGroupsResultwithErrorMessage(String errorMessage)Information about errors that may have occurred during the API call.
-
-
-
Method Detail
-
getDeploymentGroupsInfo
public List<DeploymentGroupInfo> getDeploymentGroupsInfo()
Information about the deployment groups.
- Returns:
- Information about the deployment groups.
-
setDeploymentGroupsInfo
public void setDeploymentGroupsInfo(Collection<DeploymentGroupInfo> deploymentGroupsInfo)
Information about the deployment groups.
- Parameters:
deploymentGroupsInfo- Information about the deployment groups.
-
withDeploymentGroupsInfo
public BatchGetDeploymentGroupsResult withDeploymentGroupsInfo(DeploymentGroupInfo... deploymentGroupsInfo)
Information about the deployment groups.
NOTE: This method appends the values to the existing list (if any). Use
setDeploymentGroupsInfo(java.util.Collection)orwithDeploymentGroupsInfo(java.util.Collection)if you want to override the existing values.- Parameters:
deploymentGroupsInfo- Information about the deployment groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withDeploymentGroupsInfo
public BatchGetDeploymentGroupsResult withDeploymentGroupsInfo(Collection<DeploymentGroupInfo> deploymentGroupsInfo)
Information about the deployment groups.
- Parameters:
deploymentGroupsInfo- Information about the deployment groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setErrorMessage
public void setErrorMessage(String errorMessage)
Information about errors that may have occurred during the API call.
- Parameters:
errorMessage- Information about errors that may have occurred during the API call.
-
getErrorMessage
public String getErrorMessage()
Information about errors that may have occurred during the API call.
- Returns:
- Information about errors that may have occurred during the API call.
-
withErrorMessage
public BatchGetDeploymentGroupsResult withErrorMessage(String errorMessage)
Information about errors that may have occurred during the API call.
- Parameters:
errorMessage- Information about errors that may have occurred during the API call.- Returns:
- Returns a reference to this 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public BatchGetDeploymentGroupsResult clone()
-
-