public DomainConfig withAdvancedOptions(AdvancedOptionsStatus advancedOptions) {
        setAdvancedOptions(advancedOptions);
        return this;
    }
<p>
Key-value pairs to specify advanced configuration options. For more information, see <a href=
"https://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html#createdomain-configure-advanced-options"
>Advanced options</a>.
</p>

@param advancedOptions
       Key-value pairs to specify advanced configuration options. For more information, see <a href=
       "https://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html#createdomain-configure-advanced-options"
       >Advanced options</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-opensearch/src/main/java/com/amazonaws/services/opensearch/model/DomainConfig.java