@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDeploymentGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
 Represents the output of a ListDeploymentGroups operation.
 
| Constructor and Description | 
|---|
| ListDeploymentGroupsResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| ListDeploymentGroupsResult | clone() | 
| boolean | equals(Object obj) | 
| String | getApplicationName()
 The application name. | 
| List<String> | getDeploymentGroups()
 A list of deployment group names. | 
| String | getNextToken()
 If a large amount of information is returned, an identifier is also returned. | 
| int | hashCode() | 
| void | setApplicationName(String applicationName)
 The application name. | 
| void | setDeploymentGroups(Collection<String> deploymentGroups)
 A list of deployment group names. | 
| void | setNextToken(String nextToken)
 If a large amount of information is returned, an identifier is also returned. | 
| String | toString()Returns a string representation of this object. | 
| ListDeploymentGroupsResult | withApplicationName(String applicationName)
 The application name. | 
| ListDeploymentGroupsResult | withDeploymentGroups(Collection<String> deploymentGroups)
 A list of deployment group names. | 
| ListDeploymentGroupsResult | withDeploymentGroups(String... deploymentGroups)
 A list of deployment group names. | 
| ListDeploymentGroupsResult | withNextToken(String nextToken)
 If a large amount of information is returned, an identifier is also returned. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setApplicationName(String applicationName)
The application name.
applicationName - The application name.public String getApplicationName()
The application name.
public ListDeploymentGroupsResult withApplicationName(String applicationName)
The application name.
applicationName - The application name.public List<String> getDeploymentGroups()
A list of deployment group names.
public void setDeploymentGroups(Collection<String> deploymentGroups)
A list of deployment group names.
deploymentGroups - A list of deployment group names.public ListDeploymentGroupsResult withDeploymentGroups(String... deploymentGroups)
A list of deployment group names.
 NOTE: This method appends the values to the existing list (if any). Use
 setDeploymentGroups(java.util.Collection) or withDeploymentGroups(java.util.Collection) if you
 want to override the existing values.
 
deploymentGroups - A list of deployment group names.public ListDeploymentGroupsResult withDeploymentGroups(Collection<String> deploymentGroups)
A list of deployment group names.
deploymentGroups - A list of deployment group names.public void setNextToken(String nextToken)
If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployment groups call to return the next set of deployment groups in the list.
nextToken - If a large amount of information is returned, an identifier is also returned. It can be used in a
        subsequent list deployment groups call to return the next set of deployment groups in the list.public String getNextToken()
If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployment groups call to return the next set of deployment groups in the list.
public ListDeploymentGroupsResult withNextToken(String nextToken)
If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployment groups call to return the next set of deployment groups in the list.
nextToken - If a large amount of information is returned, an identifier is also returned. It can be used in a
        subsequent list deployment groups call to return the next set of deployment groups in the list.public String toString()
toString in class ObjectObject.toString()public ListDeploymentGroupsResult clone()