docs: private void startSession() {
          AssumeRoleWithWebIdentityResult sessionTokenResult = securityTokenService
                  .assumeRoleWithWebIdentity(new AssumeRoleWithWebIdentityRequest().withWebIdentityToken(wifToken)
                          .withProviderId(wifProvider)
                          .withRoleArn(roleArn)
                          .withRoleSessionName("ProviderSession")
                          .withDurationSeconds(this.sessionDuration));
          Credentials stsCredentials = sessionTokenResult.getCredentials();
  
          subjectFromWIF = sessionTokenResult.getSubjectFromWebIdentityToken();
  
          sessionCredentials = new BasicSessionCredentials(
                  stsCredentials.getAccessKeyId(),
                  stsCredentials.getSecretAccessKey(),
                  stsCredentials.getSessionToken());
          sessionCredentialsExpiration = stsCredentials.getExpiration();
      }