public CreateWorkspaceServiceAccountTokenRequest withSecondsToLive(Integer secondsToLive) {
        setSecondsToLive(secondsToLive);
        return this;
    }
<p>
Sets how long the token will be valid, in seconds. You can set the time up to 30 days in the future.
</p>

@param secondsToLive
       Sets how long the token will be valid, in seconds. You can set the time up to 30 days in the future.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-managedgrafana/src/main/java/com/amazonaws/services/managedgrafana/model/CreateWorkspaceServiceAccountTokenRequest.java