public void setToken(String token) {
        this.token = token;
    }
<p>
The NextToken string that specifies which page of results to return in a paginated response.
</p>

@param token
       The NextToken string that specifies which page of results to return in a paginated response.
aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/GetSegmentsRequest.java