public RoleAliasDescription withCredentialDurationSeconds(Integer credentialDurationSeconds) {
        setCredentialDurationSeconds(credentialDurationSeconds);
        return this;
    }
<p>
The number of seconds for which the credential is valid.
</p>

@param credentialDurationSeconds
       The number of seconds for which the credential is valid.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/RoleAliasDescription.java