public Integer getDurationSeconds() {
        return this.durationSeconds;
    }
<p>
Used to determine how long sessions vended using this profile are valid for. See the <code>Expiration</code>
section of the <a href=
"https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html#credentials-object"
>CreateSession API documentation</a> page for more details. In requests, if this value is not provided, the
default value will be 3600.
</p>

@return Used to determine how long sessions vended using this profile are valid for. See the
        <code>Expiration</code> section of the <a href=
        "https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html#credentials-object"
        >CreateSession API documentation</a> page for more details. In requests, if this value is not provided,
        the default value will be 3600.
aws-java-sdk-iamrolesanywhere/src/main/java/com/amazonaws/services/iamrolesanywhere/model/ProfileDetail.java