public SubjectDetail withCredentials(java.util.Collection<CredentialSummary> credentials) {
        setCredentials(credentials);
        return this;
    }
<p>
The temporary session credentials vended at the last authenticating call with this subject.
</p>

@param credentials
       The temporary session credentials vended at the last authenticating call with this subject.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iamrolesanywhere/src/main/java/com/amazonaws/services/iamrolesanywhere/model/SubjectDetail.java