Class BatchGetDeploymentGroupsResult
java.lang.Object
com.amazonaws.services.codedeploy.model.BatchGetDeploymentGroupsResult
- All Implemented Interfaces:
Serializable
,Cloneable
Represents the output of a batch get deployment groups operation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Information about the deployment groups.Information about errors that may have occurred during the API call.int
hashCode()
void
setDeploymentGroupsInfo
(Collection<DeploymentGroupInfo> deploymentGroupsInfo) Information about the deployment groups.void
setErrorMessage
(String errorMessage) Information about errors that may have occurred during the API call.toString()
Returns a string representation of this object; useful for testing and debugging.withDeploymentGroupsInfo
(DeploymentGroupInfo... deploymentGroupsInfo) Information about the deployment groups.withDeploymentGroupsInfo
(Collection<DeploymentGroupInfo> deploymentGroupsInfo) Information about the deployment groups.withErrorMessage
(String errorMessage) Information about errors that may have occurred during the API call.
-
Constructor Details
-
BatchGetDeploymentGroupsResult
public BatchGetDeploymentGroupsResult()
-
-
Method Details
-
getDeploymentGroupsInfo
Information about the deployment groups.
- Returns:
- Information about the deployment groups.
-
setDeploymentGroupsInfo
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
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
Information about errors that may have occurred during the API call.
- Returns:
- Information about errors that may have occurred during the API call.
-
withErrorMessage
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-