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 BatchGetDeploymentGroupsResult
clone()
boolean
equals(Object obj)
List<DeploymentGroupInfo>
getDeploymentGroupsInfo()
Information about the deployment groups.String
getErrorMessage()
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.String
toString()
Returns a string representation of this object; useful for testing and debugging.BatchGetDeploymentGroupsResult
withDeploymentGroupsInfo(DeploymentGroupInfo... deploymentGroupsInfo)
Information about the deployment groups.BatchGetDeploymentGroupsResult
withDeploymentGroupsInfo(Collection<DeploymentGroupInfo> deploymentGroupsInfo)
Information about the deployment groups.BatchGetDeploymentGroupsResult
withErrorMessage(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public BatchGetDeploymentGroupsResult clone()
-
-