public void setCredentials(java.util.Collection<CredentialSummary> credentials) {
        if (credentials == null) {
            this.credentials = null;
            return;
        }

        this.credentials = new java.util.ArrayList<CredentialSummary>(credentials);
    }
<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.
aws-java-sdk-iamrolesanywhere/src/main/java/com/amazonaws/services/iamrolesanywhere/model/SubjectDetail.java