public AppMonitorConfiguration withIdentityPoolId(String identityPoolId) {
        setIdentityPoolId(identityPoolId);
        return this;
    }
<p>
The ID of the Amazon Cognito identity pool that is used to authorize the sending of data to RUM.
</p>

@param identityPoolId
       The ID of the Amazon Cognito identity pool that is used to authorize the sending of data to RUM.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudwatchrum/src/main/java/com/amazonaws/services/cloudwatchrum/model/AppMonitorConfiguration.java