public class BatchGetDeploymentGroupsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the output of a batch get deployment groups operation.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<DeploymentGroupInfo> |
deploymentGroupsInfo
Information about the deployment groups.
|
private java.lang.String |
errorMessage
Information about errors that may have occurred during the API call.
|
Constructor and Description |
---|
BatchGetDeploymentGroupsResult() |
Modifier and Type | Method and Description |
---|---|
BatchGetDeploymentGroupsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<DeploymentGroupInfo> |
getDeploymentGroupsInfo()
Information about the deployment groups.
|
java.lang.String |
getErrorMessage()
Information about errors that may have occurred during the API call.
|
int |
hashCode() |
void |
setDeploymentGroupsInfo(java.util.Collection<DeploymentGroupInfo> deploymentGroupsInfo)
Information about the deployment groups.
|
void |
setErrorMessage(java.lang.String errorMessage)
Information about errors that may have occurred during the API call.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BatchGetDeploymentGroupsResult |
withDeploymentGroupsInfo(java.util.Collection<DeploymentGroupInfo> deploymentGroupsInfo)
Information about the deployment groups.
|
BatchGetDeploymentGroupsResult |
withDeploymentGroupsInfo(DeploymentGroupInfo... deploymentGroupsInfo)
Information about the deployment groups.
|
BatchGetDeploymentGroupsResult |
withErrorMessage(java.lang.String errorMessage)
Information about errors that may have occurred during the API call.
|
private SdkInternalList<DeploymentGroupInfo> deploymentGroupsInfo
Information about the deployment groups.
private java.lang.String errorMessage
Information about errors that may have occurred during the API call.
public java.util.List<DeploymentGroupInfo> getDeploymentGroupsInfo()
Information about the deployment groups.
public void setDeploymentGroupsInfo(java.util.Collection<DeploymentGroupInfo> deploymentGroupsInfo)
Information about the deployment groups.
deploymentGroupsInfo
- Information about the deployment groups.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)
or
withDeploymentGroupsInfo(java.util.Collection)
if you want to
override the existing values.
deploymentGroupsInfo
- Information about the deployment groups.public BatchGetDeploymentGroupsResult withDeploymentGroupsInfo(java.util.Collection<DeploymentGroupInfo> deploymentGroupsInfo)
Information about the deployment groups.
deploymentGroupsInfo
- Information about the deployment groups.public void setErrorMessage(java.lang.String errorMessage)
Information about errors that may have occurred during the API call.
errorMessage
- Information about errors that may have occurred during the API
call.public java.lang.String getErrorMessage()
Information about errors that may have occurred during the API call.
public BatchGetDeploymentGroupsResult withErrorMessage(java.lang.String errorMessage)
Information about errors that may have occurred during the API call.
errorMessage
- Information about errors that may have occurred during the API
call.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 BatchGetDeploymentGroupsResult clone()
clone
in class java.lang.Object