Class ListDeploymentConfigsResult
- java.lang.Object
-
- com.amazonaws.services.codedeploy.model.ListDeploymentConfigsResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ListDeploymentConfigsResult extends Object implements Serializable, Cloneable
Represents the output of a list deployment configurations operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListDeploymentConfigsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListDeploymentConfigsResultclone()booleanequals(Object obj)List<String>getDeploymentConfigsList()A list of deployment configurations, including built-in configurations such as CodeDeployDefault.OneAtATime.StringgetNextToken()If a large amount of information is returned, an identifier is also returned.inthashCode()voidsetDeploymentConfigsList(Collection<String> deploymentConfigsList)A list of deployment configurations, including built-in configurations such as CodeDeployDefault.OneAtATime.voidsetNextToken(String nextToken)If a large amount of information is returned, an identifier is also returned.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListDeploymentConfigsResultwithDeploymentConfigsList(String... deploymentConfigsList)A list of deployment configurations, including built-in configurations such as CodeDeployDefault.OneAtATime.ListDeploymentConfigsResultwithDeploymentConfigsList(Collection<String> deploymentConfigsList)A list of deployment configurations, including built-in configurations such as CodeDeployDefault.OneAtATime.ListDeploymentConfigsResultwithNextToken(String nextToken)If a large amount of information is returned, an identifier is also returned.
-
-
-
Method Detail
-
getDeploymentConfigsList
public List<String> getDeploymentConfigsList()
A list of deployment configurations, including built-in configurations such as CodeDeployDefault.OneAtATime.
- Returns:
- A list of deployment configurations, including built-in configurations such as CodeDeployDefault.OneAtATime.
-
setDeploymentConfigsList
public void setDeploymentConfigsList(Collection<String> deploymentConfigsList)
A list of deployment configurations, including built-in configurations such as CodeDeployDefault.OneAtATime.
- Parameters:
deploymentConfigsList- A list of deployment configurations, including built-in configurations such as CodeDeployDefault.OneAtATime.
-
withDeploymentConfigsList
public ListDeploymentConfigsResult withDeploymentConfigsList(String... deploymentConfigsList)
A list of deployment configurations, including built-in configurations such as CodeDeployDefault.OneAtATime.
NOTE: This method appends the values to the existing list (if any). Use
setDeploymentConfigsList(java.util.Collection)orwithDeploymentConfigsList(java.util.Collection)if you want to override the existing values.- Parameters:
deploymentConfigsList- A list of deployment configurations, including built-in configurations such as CodeDeployDefault.OneAtATime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withDeploymentConfigsList
public ListDeploymentConfigsResult withDeploymentConfigsList(Collection<String> deploymentConfigsList)
A list of deployment configurations, including built-in configurations such as CodeDeployDefault.OneAtATime.
- Parameters:
deploymentConfigsList- A list of deployment configurations, including built-in configurations such as CodeDeployDefault.OneAtATime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
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 configurations call to return the next set of deployment configurations in the list.
- Parameters:
nextToken- If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployment configurations call to return the next set of deployment configurations in the list.
-
getNextToken
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 configurations call to return the next set of deployment configurations in the list.
- Returns:
- If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployment configurations call to return the next set of deployment configurations in the list.
-
withNextToken
public ListDeploymentConfigsResult 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 configurations call to return the next set of deployment configurations in the list.
- Parameters:
nextToken- If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployment configurations call to return the next set of deployment configurations in the list.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListDeploymentConfigsResult clone()
-
-