public WebIdentityFederationSessionCredentialsProvider withSessionDuration(int sessionDuration) {
        this.setSessionDuration(sessionDuration);
        return this;
    }
Set the duration of the session credentials created by this client in
seconds. Values must be supported by AssumeRoleWithWebIdentityRequest.
Returns refreence to object so methods can be chained together. 

@see com.amazonaws.services.securitytoken.model.AssumeRoleWithWebIdentityRequest 

@param sessionDuration
             The new duration for session credentials created by this
             provider

@return A reference to this updated object so that method calls
         can be chained together.
aws-java-sdk-sts/src/main/java/com/amazonaws/auth/WebIdentityFederationSessionCredentialsProvider.java