Class DomainConfig
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<DomainConfig.Builder,
DomainConfig>
Container for the configuration of an OpenSearch Service domain.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal AccessPoliciesStatus
Specifies the access policies for the domain.final AdvancedOptionsStatus
Key-value pairs to specify advanced configuration options.Container for fine-grained access control settings for the domain.final AIMLOptionsStatus
Container for parameters required to enable all machine learning features.final AutoTuneOptionsStatus
Container for Auto-Tune settings for the domain.static DomainConfig.Builder
builder()
final ChangeProgressDetails
Container for information about the progress of an existing configuration change.final ClusterConfigStatus
Container for the cluster configuration of a the domain.final CognitoOptionsStatus
Container for Amazon Cognito options for the domain.Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.final EBSOptionsStatus
Container for EBS options configured for the domain.Key-value pairs to enable encryption at rest.final VersionStatus
The OpenSearch or Elasticsearch version that the domain is running.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final boolean
For responses, this returns true if the service returned a value for the ModifyingProperties property.final IPAddressTypeStatus
Choose either dual stack or IPv4 as your IP address type.Key-value pairs to configure log publishing.final List
<ModifyingProperties> Information about the domain properties that are currently being modified.Whether node-to-node encryption is enabled or disabled.Container for off-peak window options for the domain.static Class
<? extends DomainConfig.Builder> final SnapshotOptionsStatus
DEPRECATED.Software update options for the domain.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final VPCDerivedInfoStatus
The current VPC options for the domain and the status of any updates to their configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
engineVersion
The OpenSearch or Elasticsearch version that the domain is running.
- Returns:
- The OpenSearch or Elasticsearch version that the domain is running.
-
clusterConfig
Container for the cluster configuration of a the domain.
- Returns:
- Container for the cluster configuration of a the domain.
-
ebsOptions
Container for EBS options configured for the domain.
- Returns:
- Container for EBS options configured for the domain.
-
accessPolicies
Specifies the access policies for the domain.
- Returns:
- Specifies the access policies for the domain.
-
ipAddressType
Choose 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.
- Returns:
- Choose 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.
-
snapshotOptions
DEPRECATED. Container for parameters required to configure automated snapshots of domain indexes.
- Returns:
- DEPRECATED. Container for parameters required to configure automated snapshots of domain indexes.
-
vpcOptions
The current VPC options for the domain and the status of any updates to their configuration.
- Returns:
- The current VPC options for the domain and the status of any updates to their configuration.
-
cognitoOptions
Container for Amazon Cognito options for the domain.
- Returns:
- Container for Amazon Cognito options for the domain.
-
encryptionAtRestOptions
Key-value pairs to enable encryption at rest.
- Returns:
- Key-value pairs to enable encryption at rest.
-
nodeToNodeEncryptionOptions
Whether node-to-node encryption is enabled or disabled.
- Returns:
- Whether node-to-node encryption is enabled or disabled.
-
advancedOptions
Key-value pairs to specify advanced configuration options. For more information, see Advanced options.
- Returns:
- Key-value pairs to specify advanced configuration options. For more information, see Advanced options.
-
logPublishingOptions
Key-value pairs to configure log publishing.
- Returns:
- Key-value pairs to configure log publishing.
-
domainEndpointOptions
Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.
- Returns:
- Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.
-
advancedSecurityOptions
Container for fine-grained access control settings for the domain.
- Returns:
- Container for fine-grained access control settings for the domain.
-
autoTuneOptions
Container for Auto-Tune settings for the domain.
- Returns:
- Container for Auto-Tune settings for the domain.
-
changeProgressDetails
Container for information about the progress of an existing configuration change.
- Returns:
- Container for information about the progress of an existing configuration change.
-
offPeakWindowOptions
Container for off-peak window options for the domain.
- Returns:
- Container for off-peak window options for the domain.
-
softwareUpdateOptions
Software update options for the domain.
- Returns:
- Software update options for the domain.
-
hasModifyingProperties
public final boolean hasModifyingProperties()For responses, this returns true if the service returned a value for the ModifyingProperties property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
modifyingProperties
Information about the domain properties that are currently being modified.
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
hasModifyingProperties()
method.- Returns:
- Information about the domain properties that are currently being modified.
-
aimlOptions
Container for parameters required to enable all machine learning features.
- Returns:
- Container for parameters required to enable all machine learning features.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<DomainConfig.Builder,
DomainConfig> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-