@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListBranchesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the output of a list branches operation.
Constructor and Description |
---|
ListBranchesResult() |
Modifier and Type | Method and Description |
---|---|
ListBranchesResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getBranches()
The list of branch names.
|
String |
getNextToken()
An enumeration token that returns the batch of the results.
|
int |
hashCode() |
void |
setBranches(Collection<String> branches)
The list of branch names.
|
void |
setNextToken(String nextToken)
An enumeration token that returns the batch of the results.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListBranchesResult |
withBranches(Collection<String> branches)
The list of branch names.
|
ListBranchesResult |
withBranches(String... branches)
The list of branch names.
|
ListBranchesResult |
withNextToken(String nextToken)
An enumeration token that returns the batch of the results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getBranches()
The list of branch names.
public void setBranches(Collection<String> branches)
The list of branch names.
branches
- The list of branch names.public ListBranchesResult withBranches(String... branches)
The list of branch names.
NOTE: This method appends the values to the existing list (if any). Use
setBranches(java.util.Collection)
or withBranches(java.util.Collection)
if you want to override
the existing values.
branches
- The list of branch names.public ListBranchesResult withBranches(Collection<String> branches)
The list of branch names.
branches
- The list of branch names.public void setNextToken(String nextToken)
An enumeration token that returns the batch of the results.
nextToken
- An enumeration token that returns the batch of the results.public String getNextToken()
An enumeration token that returns the batch of the results.
public ListBranchesResult withNextToken(String nextToken)
An enumeration token that returns the batch of the results.
nextToken
- An enumeration token that returns the batch of the results.public String toString()
toString
in class Object
Object.toString()
public ListBranchesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.