public void setData(java.nio.ByteBuffer data) {
        this.data = data;
    }
<p>
The rule groups file used in the namespace.
</p>
<p>
For details about the rule groups namespace structure, see <a
href="https://docs.aws.amazon.com/prometheus/latest/APIReference/yaml-RuleGroupsNamespaceData.html"
>RuleGroupsNamespaceData</a>.
</p>
<p>
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service.
Users of the SDK should not perform Base64 encoding on this field.
</p>
<p>
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will
be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or
ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future
major version of the SDK.
</p>

@param data
       The rule groups file used in the namespace.</p>
       <p>
       For details about the rule groups namespace structure, see <a
       href="https://docs.aws.amazon.com/prometheus/latest/APIReference/yaml-RuleGroupsNamespaceData.html"
       >RuleGroupsNamespaceData</a>.
aws-java-sdk-prometheus/src/main/java/com/amazonaws/services/prometheus/model/RuleGroupsNamespaceDescription.java