public Credentials withAccessKeyId(String accessKeyId) {
        setAccessKeyId(accessKeyId);
        return this;
    }
<p>
The Access Key portion of the credentials.
</p>

@param accessKeyId
       The Access Key portion of the credentials.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cognitoidentity/src/main/java/com/amazonaws/services/cognitoidentity/model/Credentials.java