public ListBranchesResult withNextToken(String nextToken) {
        setNextToken(nextToken);
        return this;
    }
<p>
A pagination token. If a non-null pagination token is returned in a result, pass its value in another request to
retrieve more entries.
</p>

@param nextToken
       A pagination token. If a non-null pagination token is returned in a result, pass its value in another
       request to retrieve more entries.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-amplify/src/main/java/com/amazonaws/services/amplify/model/ListBranchesResult.java