public class ListDeploymentGroupsResult extends Object implements Serializable, Cloneable
Represents the output of a list deployment groups 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 corresponding deployment group names.
|
String |
getNextToken()
If the amount of information that is returned is significantly large,
an identifier will also be returned, which can be used in a subsequent
list deployment groups call to return the next set of deployment
groups in the list.
|
int |
hashCode() |
void |
setApplicationName(String applicationName)
The application name.
|
void |
setDeploymentGroups(Collection<String> deploymentGroups)
A list of corresponding deployment group names.
|
void |
setNextToken(String nextToken)
If the amount of information that is returned is significantly large,
an identifier will also be returned, which can be used in a subsequent
list deployment groups call to return the next set of deployment
groups in the list.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListDeploymentGroupsResult |
withApplicationName(String applicationName)
The application name.
|
ListDeploymentGroupsResult |
withDeploymentGroups(Collection<String> deploymentGroups)
A list of corresponding deployment group names.
|
ListDeploymentGroupsResult |
withDeploymentGroups(String... deploymentGroups)
A list of corresponding deployment group names.
|
ListDeploymentGroupsResult |
withNextToken(String nextToken)
If the amount of information that is returned is significantly large,
an identifier will also be returned, which can be used in a subsequent
list deployment groups call to return the next set of deployment
groups in the list.
|
public String getApplicationName()
Constraints:
Length: 1 - 100
public void setApplicationName(String applicationName)
Constraints:
Length: 1 - 100
applicationName
- The application name.public ListDeploymentGroupsResult withApplicationName(String applicationName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
applicationName
- The application name.public List<String> getDeploymentGroups()
public void setDeploymentGroups(Collection<String> deploymentGroups)
deploymentGroups
- A list of corresponding deployment group names.public ListDeploymentGroupsResult withDeploymentGroups(String... deploymentGroups)
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.
Returns a reference to this object so that method calls can be chained together.
deploymentGroups
- A list of corresponding deployment group names.public ListDeploymentGroupsResult withDeploymentGroups(Collection<String> deploymentGroups)
Returns a reference to this object so that method calls can be chained together.
deploymentGroups
- A list of corresponding deployment group names.public String getNextToken()
public void setNextToken(String nextToken)
nextToken
- If the amount of information that is returned is significantly large,
an identifier will also be returned, which 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)
Returns a reference to this object so that method calls can be chained together.
nextToken
- If the amount of information that is returned is significantly large,
an identifier will also be returned, which 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 Object
Object.toString()
public ListDeploymentGroupsResult clone()
Copyright © 2015. All rights reserved.