public GetClusterCredentialsRequest withDurationSeconds(Integer durationSeconds) {
        setDurationSeconds(durationSeconds);
        return this;
    }
<p>
The number of seconds until the returned temporary password expires.
</p>
<p>
Constraint: minimum 900, maximum 3600.
</p>
<p>
Default: 900
</p>

@param durationSeconds
       The number of seconds until the returned temporary password expires.</p>
       <p>
       Constraint: minimum 900, maximum 3600.
       </p>
       <p>
       Default: 900
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-redshift/src/main/java/com/amazonaws/services/redshift/model/GetClusterCredentialsRequest.java