@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListBranchesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Result structure for list branches request.
Constructor and Description |
---|
ListBranchesResult() |
Modifier and Type | Method and Description |
---|---|
ListBranchesResult |
clone() |
boolean |
equals(Object obj) |
List<Branch> |
getBranches()
List of branches for an Amplify App.
|
String |
getNextToken()
Pagination token.
|
int |
hashCode() |
void |
setBranches(Collection<Branch> branches)
List of branches for an Amplify App.
|
void |
setNextToken(String nextToken)
Pagination token.
|
String |
toString()
Returns a string representation of this object.
|
ListBranchesResult |
withBranches(Branch... branches)
List of branches for an Amplify App.
|
ListBranchesResult |
withBranches(Collection<Branch> branches)
List of branches for an Amplify App.
|
ListBranchesResult |
withNextToken(String nextToken)
Pagination token.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Branch> getBranches()
List of branches for an Amplify App.
public void setBranches(Collection<Branch> branches)
List of branches for an Amplify App.
branches
- List of branches for an Amplify App.public ListBranchesResult withBranches(Branch... branches)
List of branches for an Amplify App.
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
- List of branches for an Amplify App.public ListBranchesResult withBranches(Collection<Branch> branches)
List of branches for an Amplify App.
branches
- List of branches for an Amplify App.public void setNextToken(String nextToken)
Pagination token. If non-null pagination token is returned in a result, then pass its value in another request to fetch more entries.
nextToken
- Pagination token. If non-null pagination token is returned in a result, then pass its value in another
request to fetch more entries.public String getNextToken()
Pagination token. If non-null pagination token is returned in a result, then pass its value in another request to fetch more entries.
public ListBranchesResult withNextToken(String nextToken)
Pagination token. If non-null pagination token is returned in a result, then pass its value in another request to fetch more entries.
nextToken
- Pagination token. If non-null pagination token is returned in a result, then pass its value in another
request to fetch more entries.public String toString()
toString
in class Object
Object.toString()
public ListBranchesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.