public ListDeploymentsResult withNextToken(String nextToken) {
        setNextToken(nextToken);
        return this;
    }
<p>
A token that indicates the location of the next deployment in the array of deployment, after the current
requested list of deployment.
</p>

@param nextToken
       A token that indicates the location of the next deployment in the array of deployment, after the current
       requested list of deployment.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-proton/src/main/java/com/amazonaws/services/proton/model/ListDeploymentsResult.java