@Generated(value="software.amazon.awssdk:codegen") public final class CreateDomainRequest extends OpenSearchRequest implements ToCopyableBuilder<CreateDomainRequest.Builder,CreateDomainRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateDomainRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
accessPolicies()
IAM access policy as a JSON-formatted string.
|
Map<String,String> |
advancedOptions()
Option to allow references to indices in an HTTP request body.
|
AdvancedSecurityOptionsInput |
advancedSecurityOptions()
Specifies advanced security options.
|
AutoTuneOptionsInput |
autoTuneOptions()
Specifies Auto-Tune options.
|
static CreateDomainRequest.Builder |
builder() |
ClusterConfig |
clusterConfig()
Configuration options for a domain.
|
CognitoOptions |
cognitoOptions()
Options to specify the Cognito user and identity pools for OpenSearch Dashboards authentication.
|
DomainEndpointOptions |
domainEndpointOptions()
Options to specify configurations that will be applied to the domain endpoint.
|
String |
domainName()
The name of the Amazon OpenSearch Service domain you're creating.
|
EBSOptions |
ebsOptions()
Options to enable, disable, and specify the type and size of EBS storage volumes.
|
EncryptionAtRestOptions |
encryptionAtRestOptions()
Options for encryption of data at rest.
|
String |
engineVersion()
String of format Elasticsearch_X.Y or OpenSearch_X.Y to specify the engine version for the Amazon OpenSearch
Service domain.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAdvancedOptions()
For responses, this returns true if the service returned a value for the AdvancedOptions property.
|
int |
hashCode() |
boolean |
hasLogPublishingOptions()
For responses, this returns true if the service returned a value for the LogPublishingOptions property.
|
boolean |
hasTagList()
For responses, this returns true if the service returned a value for the TagList property.
|
Map<LogType,LogPublishingOption> |
logPublishingOptions()
Map of
LogType and LogPublishingOption , each containing options to publish a given type
of OpenSearch log. |
Map<String,LogPublishingOption> |
logPublishingOptionsAsStrings()
Map of
LogType and LogPublishingOption , each containing options to publish a given type
of OpenSearch log. |
NodeToNodeEncryptionOptions |
nodeToNodeEncryptionOptions()
Node-to-node encryption options.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateDomainRequest.Builder> |
serializableBuilderClass() |
SnapshotOptions |
snapshotOptions()
Option to set time, in UTC format, of the daily automated snapshot.
|
List<Tag> |
tagList()
A list of
Tag added during domain creation. |
CreateDomainRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
VPCOptions |
vpcOptions()
Options to specify the subnets and security groups for a VPC endpoint.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String domainName()
The name of the Amazon OpenSearch Service domain you're creating. Domain names are unique across the domains owned by an account within an AWS region. Domain names must start with a lowercase letter and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
public final String engineVersion()
String of format Elasticsearch_X.Y or OpenSearch_X.Y to specify the engine version for the Amazon OpenSearch Service domain. For example, "OpenSearch_1.0" or "Elasticsearch_7.9". For more information, see Creating and managing Amazon OpenSearch Service domains .
public final ClusterConfig clusterConfig()
Configuration options for a domain. Specifies the instance type and number of instances in the domain.
public final EBSOptions ebsOptions()
Options to enable, disable, and specify the type and size of EBS storage volumes.
public final String accessPolicies()
IAM access policy as a JSON-formatted string.
public final SnapshotOptions snapshotOptions()
Option to set time, in UTC format, of the daily automated snapshot. Default value is 0 hours.
public final VPCOptions vpcOptions()
Options to specify the subnets and security groups for a VPC endpoint. For more information, see Launching your Amazon OpenSearch Service domains using a VPC .
public final CognitoOptions cognitoOptions()
Options to specify the Cognito user and identity pools for OpenSearch Dashboards authentication. For more information, see Configuring Amazon Cognito authentication for OpenSearch Dashboards.
public final EncryptionAtRestOptions encryptionAtRestOptions()
Options for encryption of data at rest.
public final NodeToNodeEncryptionOptions nodeToNodeEncryptionOptions()
Node-to-node encryption options.
public final boolean hasAdvancedOptions()
isEmpty()
method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final Map<String,String> advancedOptions()
Option to allow references to indices in an HTTP request body. Must be false
when configuring access
to individual sub-resources. By default, the value is true
. See Advanced cluster parameters for more information.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAdvancedOptions()
method.
false
when
configuring access to individual sub-resources. By default, the value is true
. See Advanced cluster parameters for more information.public final Map<LogType,LogPublishingOption> logPublishingOptions()
Map of LogType
and LogPublishingOption
, each containing options to publish a given type
of OpenSearch log.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasLogPublishingOptions()
method.
LogType
and LogPublishingOption
, each containing options to publish a
given type of OpenSearch log.public final boolean hasLogPublishingOptions()
isEmpty()
method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final Map<String,LogPublishingOption> logPublishingOptionsAsStrings()
Map of LogType
and LogPublishingOption
, each containing options to publish a given type
of OpenSearch log.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasLogPublishingOptions()
method.
LogType
and LogPublishingOption
, each containing options to publish a
given type of OpenSearch log.public final DomainEndpointOptions domainEndpointOptions()
Options to specify configurations that will be applied to the domain endpoint.
public final AdvancedSecurityOptionsInput advancedSecurityOptions()
Specifies advanced security options.
public final boolean hasTagList()
isEmpty()
method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<Tag> tagList()
A list of Tag
added during domain creation.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTagList()
method.
Tag
added during domain creation.public final AutoTuneOptionsInput autoTuneOptions()
Specifies Auto-Tune options.
public CreateDomainRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<CreateDomainRequest.Builder,CreateDomainRequest>
toBuilder
in class OpenSearchRequest
public static CreateDomainRequest.Builder builder()
public static Class<? extends CreateDomainRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2022. All rights reserved.