Class ListBranchesResult
java.lang.Object
com.amazonaws.services.codecommit.model.ListBranchesResult
- All Implemented Interfaces:
Serializable
,Cloneable
Represents the output of a list branches operation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The list of branch names.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.toString()
Returns a string representation of this object; useful for testing and debugging.withBranches
(String... branches) The list of branch names.withBranches
(Collection<String> branches) The list of branch names.withNextToken
(String nextToken) An enumeration token that returns the batch of the results.
-
Constructor Details
-
ListBranchesResult
public ListBranchesResult()
-
-
Method Details
-
getBranches
The list of branch names.
- Returns:
- The list of branch names.
-
setBranches
The list of branch names.
- Parameters:
branches
- The list of branch names.
-
withBranches
The list of branch names.
NOTE: This method appends the values to the existing list (if any). Use
setBranches(java.util.Collection)
orwithBranches(java.util.Collection)
if you want to override the existing values.- Parameters:
branches
- The list of branch names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withBranches
The list of branch names.
- Parameters:
branches
- The list of branch names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
An enumeration token that returns the batch of the results.
- Parameters:
nextToken
- An enumeration token that returns the batch of the results.
-
getNextToken
An enumeration token that returns the batch of the results.
- Returns:
- An enumeration token that returns the batch of the results.
-
withNextToken
An enumeration token that returns the batch of the results.
- Parameters:
nextToken
- An enumeration token that returns the batch of the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-