@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDomainRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateDomainRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDomainRequest |
addAdvancedOptionsEntry(String key,
String value)
Add a single AdvancedOptions entry
|
CreateDomainRequest |
addLogPublishingOptionsEntry(String key,
LogPublishingOption value)
Add a single LogPublishingOptions entry
|
CreateDomainRequest |
clearAdvancedOptionsEntries()
Removes all the entries added into AdvancedOptions.
|
CreateDomainRequest |
clearLogPublishingOptionsEntries()
Removes all the entries added into LogPublishingOptions.
|
CreateDomainRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccessPolicies()
Identity and Access Management (IAM) policy document specifying the access policies for the new domain.
|
Map<String,String> |
getAdvancedOptions()
Key-value pairs to specify advanced configuration options.
|
AdvancedSecurityOptionsInput |
getAdvancedSecurityOptions()
Options for fine-grained access control.
|
AIMLOptionsInput |
getAIMLOptions()
Options for all machine learning features for the specified domain.
|
AutoTuneOptionsInput |
getAutoTuneOptions()
Options for Auto-Tune.
|
ClusterConfig |
getClusterConfig()
Container for the cluster configuration of a domain.
|
CognitoOptions |
getCognitoOptions()
Key-value pairs to configure Amazon Cognito authentication.
|
DomainEndpointOptions |
getDomainEndpointOptions()
Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.
|
String |
getDomainName()
Name of the OpenSearch Service domain to create.
|
EBSOptions |
getEBSOptions()
Container for the parameters required to enable EBS-based storage for an OpenSearch Service domain.
|
EncryptionAtRestOptions |
getEncryptionAtRestOptions()
Key-value pairs to enable encryption at rest.
|
String |
getEngineVersion()
String of format Elasticsearch_X.Y or OpenSearch_X.Y to specify the engine version for the OpenSearch Service
domain.
|
String |
getIPAddressType()
Specify either dual stack or IPv4 as your IP address type.
|
Map<String,LogPublishingOption> |
getLogPublishingOptions()
Key-value pairs to configure log publishing.
|
NodeToNodeEncryptionOptions |
getNodeToNodeEncryptionOptions()
Enables node-to-node encryption.
|
OffPeakWindowOptions |
getOffPeakWindowOptions()
Specifies a daily 10-hour time block during which OpenSearch Service can perform configuration changes on the
domain, including service software updates and Auto-Tune enhancements that require a blue/green deployment.
|
SnapshotOptions |
getSnapshotOptions()
DEPRECATED.
|
SoftwareUpdateOptions |
getSoftwareUpdateOptions()
Software update options for the domain.
|
List<Tag> |
getTagList()
List of tags to add to the domain upon creation.
|
VPCOptions |
getVPCOptions()
Container for the values required to configure VPC access domains.
|
int |
hashCode() |
void |
setAccessPolicies(String accessPolicies)
Identity and Access Management (IAM) policy document specifying the access policies for the new domain.
|
void |
setAdvancedOptions(Map<String,String> advancedOptions)
Key-value pairs to specify advanced configuration options.
|
void |
setAdvancedSecurityOptions(AdvancedSecurityOptionsInput advancedSecurityOptions)
Options for fine-grained access control.
|
void |
setAIMLOptions(AIMLOptionsInput aIMLOptions)
Options for all machine learning features for the specified domain.
|
void |
setAutoTuneOptions(AutoTuneOptionsInput autoTuneOptions)
Options for Auto-Tune.
|
void |
setClusterConfig(ClusterConfig clusterConfig)
Container for the cluster configuration of a domain.
|
void |
setCognitoOptions(CognitoOptions cognitoOptions)
Key-value pairs to configure Amazon Cognito authentication.
|
void |
setDomainEndpointOptions(DomainEndpointOptions domainEndpointOptions)
Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.
|
void |
setDomainName(String domainName)
Name of the OpenSearch Service domain to create.
|
void |
setEBSOptions(EBSOptions eBSOptions)
Container for the parameters required to enable EBS-based storage for an OpenSearch Service domain.
|
void |
setEncryptionAtRestOptions(EncryptionAtRestOptions encryptionAtRestOptions)
Key-value pairs to enable encryption at rest.
|
void |
setEngineVersion(String engineVersion)
String of format Elasticsearch_X.Y or OpenSearch_X.Y to specify the engine version for the OpenSearch Service
domain.
|
void |
setIPAddressType(String iPAddressType)
Specify either dual stack or IPv4 as your IP address type.
|
void |
setLogPublishingOptions(Map<String,LogPublishingOption> logPublishingOptions)
Key-value pairs to configure log publishing.
|
void |
setNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptions nodeToNodeEncryptionOptions)
Enables node-to-node encryption.
|
void |
setOffPeakWindowOptions(OffPeakWindowOptions offPeakWindowOptions)
Specifies a daily 10-hour time block during which OpenSearch Service can perform configuration changes on the
domain, including service software updates and Auto-Tune enhancements that require a blue/green deployment.
|
void |
setSnapshotOptions(SnapshotOptions snapshotOptions)
DEPRECATED.
|
void |
setSoftwareUpdateOptions(SoftwareUpdateOptions softwareUpdateOptions)
Software update options for the domain.
|
void |
setTagList(Collection<Tag> tagList)
List of tags to add to the domain upon creation.
|
void |
setVPCOptions(VPCOptions vPCOptions)
Container for the values required to configure VPC access domains.
|
String |
toString()
Returns a string representation of this object.
|
CreateDomainRequest |
withAccessPolicies(String accessPolicies)
Identity and Access Management (IAM) policy document specifying the access policies for the new domain.
|
CreateDomainRequest |
withAdvancedOptions(Map<String,String> advancedOptions)
Key-value pairs to specify advanced configuration options.
|
CreateDomainRequest |
withAdvancedSecurityOptions(AdvancedSecurityOptionsInput advancedSecurityOptions)
Options for fine-grained access control.
|
CreateDomainRequest |
withAIMLOptions(AIMLOptionsInput aIMLOptions)
Options for all machine learning features for the specified domain.
|
CreateDomainRequest |
withAutoTuneOptions(AutoTuneOptionsInput autoTuneOptions)
Options for Auto-Tune.
|
CreateDomainRequest |
withClusterConfig(ClusterConfig clusterConfig)
Container for the cluster configuration of a domain.
|
CreateDomainRequest |
withCognitoOptions(CognitoOptions cognitoOptions)
Key-value pairs to configure Amazon Cognito authentication.
|
CreateDomainRequest |
withDomainEndpointOptions(DomainEndpointOptions domainEndpointOptions)
Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.
|
CreateDomainRequest |
withDomainName(String domainName)
Name of the OpenSearch Service domain to create.
|
CreateDomainRequest |
withEBSOptions(EBSOptions eBSOptions)
Container for the parameters required to enable EBS-based storage for an OpenSearch Service domain.
|
CreateDomainRequest |
withEncryptionAtRestOptions(EncryptionAtRestOptions encryptionAtRestOptions)
Key-value pairs to enable encryption at rest.
|
CreateDomainRequest |
withEngineVersion(String engineVersion)
String of format Elasticsearch_X.Y or OpenSearch_X.Y to specify the engine version for the OpenSearch Service
domain.
|
CreateDomainRequest |
withIPAddressType(IPAddressType iPAddressType)
Specify either dual stack or IPv4 as your IP address type.
|
CreateDomainRequest |
withIPAddressType(String iPAddressType)
Specify either dual stack or IPv4 as your IP address type.
|
CreateDomainRequest |
withLogPublishingOptions(Map<String,LogPublishingOption> logPublishingOptions)
Key-value pairs to configure log publishing.
|
CreateDomainRequest |
withNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptions nodeToNodeEncryptionOptions)
Enables node-to-node encryption.
|
CreateDomainRequest |
withOffPeakWindowOptions(OffPeakWindowOptions offPeakWindowOptions)
Specifies a daily 10-hour time block during which OpenSearch Service can perform configuration changes on the
domain, including service software updates and Auto-Tune enhancements that require a blue/green deployment.
|
CreateDomainRequest |
withSnapshotOptions(SnapshotOptions snapshotOptions)
DEPRECATED.
|
CreateDomainRequest |
withSoftwareUpdateOptions(SoftwareUpdateOptions softwareUpdateOptions)
Software update options for the domain.
|
CreateDomainRequest |
withTagList(Collection<Tag> tagList)
List of tags to add to the domain upon creation.
|
CreateDomainRequest |
withTagList(Tag... tagList)
List of tags to add to the domain upon creation.
|
CreateDomainRequest |
withVPCOptions(VPCOptions vPCOptions)
Container for the values required to configure VPC access domains.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDomainName(String domainName)
Name of the OpenSearch Service domain to create. Domain names are unique across the domains owned by an account within an Amazon Web Services Region.
domainName
- Name of the OpenSearch Service domain to create. Domain names are unique across the domains owned by an
account within an Amazon Web Services Region.public String getDomainName()
Name of the OpenSearch Service domain to create. Domain names are unique across the domains owned by an account within an Amazon Web Services Region.
public CreateDomainRequest withDomainName(String domainName)
Name of the OpenSearch Service domain to create. Domain names are unique across the domains owned by an account within an Amazon Web Services Region.
domainName
- Name of the OpenSearch Service domain to create. Domain names are unique across the domains owned by an
account within an Amazon Web Services Region.public void setEngineVersion(String engineVersion)
String of format Elasticsearch_X.Y or OpenSearch_X.Y to specify the engine version for the OpenSearch Service
domain. For example, OpenSearch_1.0
or Elasticsearch_7.9
. For more information, see Creating and managing Amazon OpenSearch Service domains.
engineVersion
- String of format Elasticsearch_X.Y or OpenSearch_X.Y to specify the engine version for the OpenSearch
Service domain. For example, OpenSearch_1.0
or Elasticsearch_7.9
. For more
information, see Creating and managing Amazon OpenSearch Service domains.public String getEngineVersion()
String of format Elasticsearch_X.Y or OpenSearch_X.Y to specify the engine version for the OpenSearch Service
domain. For example, OpenSearch_1.0
or Elasticsearch_7.9
. For more information, see Creating and managing Amazon OpenSearch Service domains.
OpenSearch_1.0
or Elasticsearch_7.9
. For more
information, see Creating and managing Amazon OpenSearch Service domains.public CreateDomainRequest withEngineVersion(String engineVersion)
String of format Elasticsearch_X.Y or OpenSearch_X.Y to specify the engine version for the OpenSearch Service
domain. For example, OpenSearch_1.0
or Elasticsearch_7.9
. For more information, see Creating and managing Amazon OpenSearch Service domains.
engineVersion
- String of format Elasticsearch_X.Y or OpenSearch_X.Y to specify the engine version for the OpenSearch
Service domain. For example, OpenSearch_1.0
or Elasticsearch_7.9
. For more
information, see Creating and managing Amazon OpenSearch Service domains.public void setClusterConfig(ClusterConfig clusterConfig)
Container for the cluster configuration of a domain.
clusterConfig
- Container for the cluster configuration of a domain.public ClusterConfig getClusterConfig()
Container for the cluster configuration of a domain.
public CreateDomainRequest withClusterConfig(ClusterConfig clusterConfig)
Container for the cluster configuration of a domain.
clusterConfig
- Container for the cluster configuration of a domain.public void setEBSOptions(EBSOptions eBSOptions)
Container for the parameters required to enable EBS-based storage for an OpenSearch Service domain.
eBSOptions
- Container for the parameters required to enable EBS-based storage for an OpenSearch Service domain.public EBSOptions getEBSOptions()
Container for the parameters required to enable EBS-based storage for an OpenSearch Service domain.
public CreateDomainRequest withEBSOptions(EBSOptions eBSOptions)
Container for the parameters required to enable EBS-based storage for an OpenSearch Service domain.
eBSOptions
- Container for the parameters required to enable EBS-based storage for an OpenSearch Service domain.public void setAccessPolicies(String accessPolicies)
Identity and Access Management (IAM) policy document specifying the access policies for the new domain.
accessPolicies
- Identity and Access Management (IAM) policy document specifying the access policies for the new domain.public String getAccessPolicies()
Identity and Access Management (IAM) policy document specifying the access policies for the new domain.
public CreateDomainRequest withAccessPolicies(String accessPolicies)
Identity and Access Management (IAM) policy document specifying the access policies for the new domain.
accessPolicies
- Identity and Access Management (IAM) policy document specifying the access policies for the new domain.public void setIPAddressType(String iPAddressType)
Specify either dual stack or IPv4 as your IP address type. Dual stack allows you to share domain resources across IPv4 and IPv6 address types, and is the recommended option. If you set your IP address type to dual stack, you can't change your address type later.
iPAddressType
- Specify either dual stack or IPv4 as your IP address type. Dual stack allows you to share domain resources
across IPv4 and IPv6 address types, and is the recommended option. If you set your IP address type to dual
stack, you can't change your address type later.IPAddressType
public String getIPAddressType()
Specify either dual stack or IPv4 as your IP address type. Dual stack allows you to share domain resources across IPv4 and IPv6 address types, and is the recommended option. If you set your IP address type to dual stack, you can't change your address type later.
IPAddressType
public CreateDomainRequest withIPAddressType(String iPAddressType)
Specify either dual stack or IPv4 as your IP address type. Dual stack allows you to share domain resources across IPv4 and IPv6 address types, and is the recommended option. If you set your IP address type to dual stack, you can't change your address type later.
iPAddressType
- Specify either dual stack or IPv4 as your IP address type. Dual stack allows you to share domain resources
across IPv4 and IPv6 address types, and is the recommended option. If you set your IP address type to dual
stack, you can't change your address type later.IPAddressType
public CreateDomainRequest withIPAddressType(IPAddressType iPAddressType)
Specify either dual stack or IPv4 as your IP address type. Dual stack allows you to share domain resources across IPv4 and IPv6 address types, and is the recommended option. If you set your IP address type to dual stack, you can't change your address type later.
iPAddressType
- Specify either dual stack or IPv4 as your IP address type. Dual stack allows you to share domain resources
across IPv4 and IPv6 address types, and is the recommended option. If you set your IP address type to dual
stack, you can't change your address type later.IPAddressType
public void setSnapshotOptions(SnapshotOptions snapshotOptions)
DEPRECATED. Container for the parameters required to configure automated snapshots of domain indexes.
snapshotOptions
- DEPRECATED. Container for the parameters required to configure automated snapshots of domain indexes.public SnapshotOptions getSnapshotOptions()
DEPRECATED. Container for the parameters required to configure automated snapshots of domain indexes.
public CreateDomainRequest withSnapshotOptions(SnapshotOptions snapshotOptions)
DEPRECATED. Container for the parameters required to configure automated snapshots of domain indexes.
snapshotOptions
- DEPRECATED. Container for the parameters required to configure automated snapshots of domain indexes.public void setVPCOptions(VPCOptions vPCOptions)
Container for the values required to configure VPC access domains. If you don't specify these values, OpenSearch Service creates the domain with a public endpoint. For more information, see Launching your Amazon OpenSearch Service domains using a VPC.
vPCOptions
- Container for the values required to configure VPC access domains. If you don't specify these values,
OpenSearch Service creates the domain with a public endpoint. For more information, see Launching your Amazon
OpenSearch Service domains using a VPC.public VPCOptions getVPCOptions()
Container for the values required to configure VPC access domains. If you don't specify these values, OpenSearch Service creates the domain with a public endpoint. For more information, see Launching your Amazon OpenSearch Service domains using a VPC.
public CreateDomainRequest withVPCOptions(VPCOptions vPCOptions)
Container for the values required to configure VPC access domains. If you don't specify these values, OpenSearch Service creates the domain with a public endpoint. For more information, see Launching your Amazon OpenSearch Service domains using a VPC.
vPCOptions
- Container for the values required to configure VPC access domains. If you don't specify these values,
OpenSearch Service creates the domain with a public endpoint. For more information, see Launching your Amazon
OpenSearch Service domains using a VPC.public void setCognitoOptions(CognitoOptions cognitoOptions)
Key-value pairs to configure Amazon Cognito authentication. For more information, see Configuring Amazon Cognito authentication for OpenSearch Dashboards.
cognitoOptions
- Key-value pairs to configure Amazon Cognito authentication. For more information, see Configuring
Amazon Cognito authentication for OpenSearch Dashboards.public CognitoOptions getCognitoOptions()
Key-value pairs to configure Amazon Cognito authentication. For more information, see Configuring Amazon Cognito authentication for OpenSearch Dashboards.
public CreateDomainRequest withCognitoOptions(CognitoOptions cognitoOptions)
Key-value pairs to configure Amazon Cognito authentication. For more information, see Configuring Amazon Cognito authentication for OpenSearch Dashboards.
cognitoOptions
- Key-value pairs to configure Amazon Cognito authentication. For more information, see Configuring
Amazon Cognito authentication for OpenSearch Dashboards.public void setEncryptionAtRestOptions(EncryptionAtRestOptions encryptionAtRestOptions)
Key-value pairs to enable encryption at rest.
encryptionAtRestOptions
- Key-value pairs to enable encryption at rest.public EncryptionAtRestOptions getEncryptionAtRestOptions()
Key-value pairs to enable encryption at rest.
public CreateDomainRequest withEncryptionAtRestOptions(EncryptionAtRestOptions encryptionAtRestOptions)
Key-value pairs to enable encryption at rest.
encryptionAtRestOptions
- Key-value pairs to enable encryption at rest.public void setNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptions nodeToNodeEncryptionOptions)
Enables node-to-node encryption.
nodeToNodeEncryptionOptions
- Enables node-to-node encryption.public NodeToNodeEncryptionOptions getNodeToNodeEncryptionOptions()
Enables node-to-node encryption.
public CreateDomainRequest withNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptions nodeToNodeEncryptionOptions)
Enables node-to-node encryption.
nodeToNodeEncryptionOptions
- Enables node-to-node encryption.public Map<String,String> getAdvancedOptions()
Key-value pairs to specify advanced configuration options. The following key-value pairs are supported:
"rest.action.multi.allow_explicit_index": "true" | "false"
- Note the use of a string rather than a
boolean. Specifies whether explicit references to indexes are allowed inside the body of HTTP requests. If you
want to configure access policies for domain sub-resources, such as specific indexes and domain APIs, you must
disable this property. Default is true.
"indices.fielddata.cache.size": "80"
- Note the use of a string rather than a boolean. Specifies
the percentage of heap space allocated to field data. Default is unbounded.
"indices.query.bool.max_clause_count": "1024"
- Note the use of a string rather than a boolean.
Specifies the maximum number of clauses allowed in a Lucene boolean query. Default is 1,024. Queries with more
than the permitted number of clauses result in a TooManyClauses
error.
"override_main_response_version": "true" | "false"
- Note the use of a string rather than a boolean.
Specifies whether the domain reports its version as 7.10 to allow Elasticsearch OSS clients and plugins to
continue working with it. Default is false when creating a domain and true when upgrading a domain.
For more information, see Advanced cluster parameters.
"rest.action.multi.allow_explicit_index": "true" | "false"
- Note the use of a string rather
than a boolean. Specifies whether explicit references to indexes are allowed inside the body of HTTP
requests. If you want to configure access policies for domain sub-resources, such as specific indexes and
domain APIs, you must disable this property. Default is true.
"indices.fielddata.cache.size": "80"
- Note the use of a string rather than a boolean.
Specifies the percentage of heap space allocated to field data. Default is unbounded.
"indices.query.bool.max_clause_count": "1024"
- Note the use of a string rather than a
boolean. Specifies the maximum number of clauses allowed in a Lucene boolean query. Default is 1,024.
Queries with more than the permitted number of clauses result in a TooManyClauses
error.
"override_main_response_version": "true" | "false"
- Note the use of a string rather than a
boolean. Specifies whether the domain reports its version as 7.10 to allow Elasticsearch OSS clients and
plugins to continue working with it. Default is false when creating a domain and true when upgrading a
domain.
For more information, see Advanced cluster parameters.
public void setAdvancedOptions(Map<String,String> advancedOptions)
Key-value pairs to specify advanced configuration options. The following key-value pairs are supported:
"rest.action.multi.allow_explicit_index": "true" | "false"
- Note the use of a string rather than a
boolean. Specifies whether explicit references to indexes are allowed inside the body of HTTP requests. If you
want to configure access policies for domain sub-resources, such as specific indexes and domain APIs, you must
disable this property. Default is true.
"indices.fielddata.cache.size": "80"
- Note the use of a string rather than a boolean. Specifies
the percentage of heap space allocated to field data. Default is unbounded.
"indices.query.bool.max_clause_count": "1024"
- Note the use of a string rather than a boolean.
Specifies the maximum number of clauses allowed in a Lucene boolean query. Default is 1,024. Queries with more
than the permitted number of clauses result in a TooManyClauses
error.
"override_main_response_version": "true" | "false"
- Note the use of a string rather than a boolean.
Specifies whether the domain reports its version as 7.10 to allow Elasticsearch OSS clients and plugins to
continue working with it. Default is false when creating a domain and true when upgrading a domain.
For more information, see Advanced cluster parameters.
advancedOptions
- Key-value pairs to specify advanced configuration options. The following key-value pairs are
supported:
"rest.action.multi.allow_explicit_index": "true" | "false"
- Note the use of a string rather
than a boolean. Specifies whether explicit references to indexes are allowed inside the body of HTTP
requests. If you want to configure access policies for domain sub-resources, such as specific indexes and
domain APIs, you must disable this property. Default is true.
"indices.fielddata.cache.size": "80"
- Note the use of a string rather than a boolean.
Specifies the percentage of heap space allocated to field data. Default is unbounded.
"indices.query.bool.max_clause_count": "1024"
- Note the use of a string rather than a
boolean. Specifies the maximum number of clauses allowed in a Lucene boolean query. Default is 1,024.
Queries with more than the permitted number of clauses result in a TooManyClauses
error.
"override_main_response_version": "true" | "false"
- Note the use of a string rather than a
boolean. Specifies whether the domain reports its version as 7.10 to allow Elasticsearch OSS clients and
plugins to continue working with it. Default is false when creating a domain and true when upgrading a
domain.
For more information, see Advanced cluster parameters.
public CreateDomainRequest withAdvancedOptions(Map<String,String> advancedOptions)
Key-value pairs to specify advanced configuration options. The following key-value pairs are supported:
"rest.action.multi.allow_explicit_index": "true" | "false"
- Note the use of a string rather than a
boolean. Specifies whether explicit references to indexes are allowed inside the body of HTTP requests. If you
want to configure access policies for domain sub-resources, such as specific indexes and domain APIs, you must
disable this property. Default is true.
"indices.fielddata.cache.size": "80"
- Note the use of a string rather than a boolean. Specifies
the percentage of heap space allocated to field data. Default is unbounded.
"indices.query.bool.max_clause_count": "1024"
- Note the use of a string rather than a boolean.
Specifies the maximum number of clauses allowed in a Lucene boolean query. Default is 1,024. Queries with more
than the permitted number of clauses result in a TooManyClauses
error.
"override_main_response_version": "true" | "false"
- Note the use of a string rather than a boolean.
Specifies whether the domain reports its version as 7.10 to allow Elasticsearch OSS clients and plugins to
continue working with it. Default is false when creating a domain and true when upgrading a domain.
For more information, see Advanced cluster parameters.
advancedOptions
- Key-value pairs to specify advanced configuration options. The following key-value pairs are
supported:
"rest.action.multi.allow_explicit_index": "true" | "false"
- Note the use of a string rather
than a boolean. Specifies whether explicit references to indexes are allowed inside the body of HTTP
requests. If you want to configure access policies for domain sub-resources, such as specific indexes and
domain APIs, you must disable this property. Default is true.
"indices.fielddata.cache.size": "80"
- Note the use of a string rather than a boolean.
Specifies the percentage of heap space allocated to field data. Default is unbounded.
"indices.query.bool.max_clause_count": "1024"
- Note the use of a string rather than a
boolean. Specifies the maximum number of clauses allowed in a Lucene boolean query. Default is 1,024.
Queries with more than the permitted number of clauses result in a TooManyClauses
error.
"override_main_response_version": "true" | "false"
- Note the use of a string rather than a
boolean. Specifies whether the domain reports its version as 7.10 to allow Elasticsearch OSS clients and
plugins to continue working with it. Default is false when creating a domain and true when upgrading a
domain.
For more information, see Advanced cluster parameters.
public CreateDomainRequest addAdvancedOptionsEntry(String key, String value)
public CreateDomainRequest clearAdvancedOptionsEntries()
public Map<String,LogPublishingOption> getLogPublishingOptions()
Key-value pairs to configure log publishing.
public void setLogPublishingOptions(Map<String,LogPublishingOption> logPublishingOptions)
Key-value pairs to configure log publishing.
logPublishingOptions
- Key-value pairs to configure log publishing.public CreateDomainRequest withLogPublishingOptions(Map<String,LogPublishingOption> logPublishingOptions)
Key-value pairs to configure log publishing.
logPublishingOptions
- Key-value pairs to configure log publishing.public CreateDomainRequest addLogPublishingOptionsEntry(String key, LogPublishingOption value)
public CreateDomainRequest clearLogPublishingOptionsEntries()
public void setDomainEndpointOptions(DomainEndpointOptions domainEndpointOptions)
Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.
domainEndpointOptions
- Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.public DomainEndpointOptions getDomainEndpointOptions()
Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.
public CreateDomainRequest withDomainEndpointOptions(DomainEndpointOptions domainEndpointOptions)
Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.
domainEndpointOptions
- Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.public void setAdvancedSecurityOptions(AdvancedSecurityOptionsInput advancedSecurityOptions)
Options for fine-grained access control.
advancedSecurityOptions
- Options for fine-grained access control.public AdvancedSecurityOptionsInput getAdvancedSecurityOptions()
Options for fine-grained access control.
public CreateDomainRequest withAdvancedSecurityOptions(AdvancedSecurityOptionsInput advancedSecurityOptions)
Options for fine-grained access control.
advancedSecurityOptions
- Options for fine-grained access control.public List<Tag> getTagList()
List of tags to add to the domain upon creation.
public void setTagList(Collection<Tag> tagList)
List of tags to add to the domain upon creation.
tagList
- List of tags to add to the domain upon creation.public CreateDomainRequest withTagList(Tag... tagList)
List of tags to add to the domain upon creation.
NOTE: This method appends the values to the existing list (if any). Use
setTagList(java.util.Collection)
or withTagList(java.util.Collection)
if you want to override
the existing values.
tagList
- List of tags to add to the domain upon creation.public CreateDomainRequest withTagList(Collection<Tag> tagList)
List of tags to add to the domain upon creation.
tagList
- List of tags to add to the domain upon creation.public void setAutoTuneOptions(AutoTuneOptionsInput autoTuneOptions)
Options for Auto-Tune.
autoTuneOptions
- Options for Auto-Tune.public AutoTuneOptionsInput getAutoTuneOptions()
Options for Auto-Tune.
public CreateDomainRequest withAutoTuneOptions(AutoTuneOptionsInput autoTuneOptions)
Options for Auto-Tune.
autoTuneOptions
- Options for Auto-Tune.public void setOffPeakWindowOptions(OffPeakWindowOptions offPeakWindowOptions)
Specifies a daily 10-hour time block during which OpenSearch Service can perform configuration changes on the domain, including service software updates and Auto-Tune enhancements that require a blue/green deployment. If no options are specified, the default start time of 10:00 P.M. local time (for the Region that the domain is created in) is used.
offPeakWindowOptions
- Specifies a daily 10-hour time block during which OpenSearch Service can perform configuration changes on
the domain, including service software updates and Auto-Tune enhancements that require a blue/green
deployment. If no options are specified, the default start time of 10:00 P.M. local time (for the Region
that the domain is created in) is used.public OffPeakWindowOptions getOffPeakWindowOptions()
Specifies a daily 10-hour time block during which OpenSearch Service can perform configuration changes on the domain, including service software updates and Auto-Tune enhancements that require a blue/green deployment. If no options are specified, the default start time of 10:00 P.M. local time (for the Region that the domain is created in) is used.
public CreateDomainRequest withOffPeakWindowOptions(OffPeakWindowOptions offPeakWindowOptions)
Specifies a daily 10-hour time block during which OpenSearch Service can perform configuration changes on the domain, including service software updates and Auto-Tune enhancements that require a blue/green deployment. If no options are specified, the default start time of 10:00 P.M. local time (for the Region that the domain is created in) is used.
offPeakWindowOptions
- Specifies a daily 10-hour time block during which OpenSearch Service can perform configuration changes on
the domain, including service software updates and Auto-Tune enhancements that require a blue/green
deployment. If no options are specified, the default start time of 10:00 P.M. local time (for the Region
that the domain is created in) is used.public void setSoftwareUpdateOptions(SoftwareUpdateOptions softwareUpdateOptions)
Software update options for the domain.
softwareUpdateOptions
- Software update options for the domain.public SoftwareUpdateOptions getSoftwareUpdateOptions()
Software update options for the domain.
public CreateDomainRequest withSoftwareUpdateOptions(SoftwareUpdateOptions softwareUpdateOptions)
Software update options for the domain.
softwareUpdateOptions
- Software update options for the domain.public void setAIMLOptions(AIMLOptionsInput aIMLOptions)
Options for all machine learning features for the specified domain.
aIMLOptions
- Options for all machine learning features for the specified domain.public AIMLOptionsInput getAIMLOptions()
Options for all machine learning features for the specified domain.
public CreateDomainRequest withAIMLOptions(AIMLOptionsInput aIMLOptions)
Options for all machine learning features for the specified domain.
aIMLOptions
- Options for all machine learning features for the specified domain.public String toString()
toString
in class Object
Object.toString()
public CreateDomainRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()