public class ListDeploymentGroupsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the output of a list deployment groups operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
applicationName
The application name.
|
private SdkInternalList<java.lang.String> |
deploymentGroups
A list of corresponding deployment group names.
|
private java.lang.String |
nextToken
If a large amount of information is returned, an identifier is also
returned.
|
Constructor and Description |
---|
ListDeploymentGroupsResult() |
Modifier and Type | Method and Description |
---|---|
ListDeploymentGroupsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getApplicationName()
The application name.
|
java.util.List<java.lang.String> |
getDeploymentGroups()
A list of corresponding deployment group names.
|
java.lang.String |
getNextToken()
If a large amount of information is returned, an identifier is also
returned.
|
int |
hashCode() |
void |
setApplicationName(java.lang.String applicationName)
The application name.
|
void |
setDeploymentGroups(java.util.Collection<java.lang.String> deploymentGroups)
A list of corresponding deployment group names.
|
void |
setNextToken(java.lang.String nextToken)
If a large amount of information is returned, an identifier is also
returned.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListDeploymentGroupsResult |
withApplicationName(java.lang.String applicationName)
The application name.
|
ListDeploymentGroupsResult |
withDeploymentGroups(java.util.Collection<java.lang.String> deploymentGroups)
A list of corresponding deployment group names.
|
ListDeploymentGroupsResult |
withDeploymentGroups(java.lang.String... deploymentGroups)
A list of corresponding deployment group names.
|
ListDeploymentGroupsResult |
withNextToken(java.lang.String nextToken)
If a large amount of information is returned, an identifier is also
returned.
|
private java.lang.String applicationName
The application name.
private SdkInternalList<java.lang.String> deploymentGroups
A list of corresponding deployment group names.
private java.lang.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.
public void setApplicationName(java.lang.String applicationName)
The application name.
applicationName
- The application name.public java.lang.String getApplicationName()
The application name.
public ListDeploymentGroupsResult withApplicationName(java.lang.String applicationName)
The application name.
applicationName
- The application name.public java.util.List<java.lang.String> getDeploymentGroups()
A list of corresponding deployment group names.
public void setDeploymentGroups(java.util.Collection<java.lang.String> deploymentGroups)
A list of corresponding deployment group names.
deploymentGroups
- A list of corresponding deployment group names.public ListDeploymentGroupsResult withDeploymentGroups(java.lang.String... deploymentGroups)
A list of corresponding 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 corresponding deployment group names.public ListDeploymentGroupsResult withDeploymentGroups(java.util.Collection<java.lang.String> deploymentGroups)
A list of corresponding deployment group names.
deploymentGroups
- A list of corresponding deployment group names.public void setNextToken(java.lang.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 java.lang.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(java.lang.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 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 ListDeploymentGroupsResult clone()
clone
in class java.lang.Object