public AssumeRoleWithWebIdentityResult withCredentials(Credentials credentials) {
        setCredentials(credentials);
        return this;
    }
<p>
The temporary security credentials, which include an access key ID, a secret access key, and a security token.
</p>
<note>
<p>
The size of the security token that STS API operations return is not fixed. We strongly recommend that you make
no assumptions about the maximum size.
</p>
</note>

@param credentials
       The temporary security credentials, which include an access key ID, a secret access key, and a security
       token.</p> <note>
       <p>
       The size of the security token that STS API operations return is not fixed. We strongly recommend that you
       make no assumptions about the maximum size.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sts/src/main/java/com/amazonaws/services/securitytoken/model/AssumeRoleWithWebIdentityResult.java