public UpdateEndpointRequest withDesiredDataAccessRoleArn(String desiredDataAccessRoleArn) {
        setDesiredDataAccessRoleArn(desiredDataAccessRoleArn);
        return this;
    }
<p>
Data access role ARN to use in case the new model is encrypted with a customer CMK.
</p>

@param desiredDataAccessRoleArn
       Data access role ARN to use in case the new model is encrypted with a customer CMK.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/UpdateEndpointRequest.java