public CreatePresignedDomainUrlRequest withExpiresInSeconds(Integer expiresInSeconds) {
        setExpiresInSeconds(expiresInSeconds);
        return this;
    }
<p>
The number of seconds until the pre-signed URL expires. This value defaults to 300.
</p>

@param expiresInSeconds
       The number of seconds until the pre-signed URL expires. This value defaults to 300.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/CreatePresignedDomainUrlRequest.java