Class AdvancedSecurityOptions.Builder
java.lang.Object
software.amazon.awscdk.services.elasticsearch.AdvancedSecurityOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AdvancedSecurityOptions>
- Enclosing interface:
- AdvancedSecurityOptions
@Stability(Deprecated)
@Deprecated
public static final class AdvancedSecurityOptions.Builder
extends Object
implements software.amazon.jsii.Builder<AdvancedSecurityOptions>
Deprecated.
A builder for
AdvancedSecurityOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Deprecated.masterUserArn
(String masterUserArn) Deprecated.use opensearchservice module insteadmasterUserName
(String masterUserName) Deprecated.use opensearchservice module insteadmasterUserPassword
(SecretValue masterUserPassword) Deprecated.use opensearchservice module instead
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
masterUserArn
@Stability(Deprecated) @Deprecated public AdvancedSecurityOptions.Builder masterUserArn(String masterUserArn) Deprecated.use opensearchservice module insteadSets the value ofAdvancedSecurityOptions.getMasterUserArn()
- Parameters:
masterUserArn
- ARN for the master user. Only specify this or masterUserName, but not both.- Returns:
this
-
masterUserName
@Stability(Deprecated) @Deprecated public AdvancedSecurityOptions.Builder masterUserName(String masterUserName) Deprecated.use opensearchservice module insteadSets the value ofAdvancedSecurityOptions.getMasterUserName()
- Parameters:
masterUserName
- Username for the master user. Only specify this or masterUserArn, but not both.- Returns:
this
-
masterUserPassword
@Stability(Deprecated) @Deprecated public AdvancedSecurityOptions.Builder masterUserPassword(SecretValue masterUserPassword) Deprecated.use opensearchservice module insteadSets the value ofAdvancedSecurityOptions.getMasterUserPassword()
- Parameters:
masterUserPassword
- Password for the master user. You can useSecretValue.unsafePlainText
to specify a password in plain text or usesecretsmanager.Secret.fromSecretAttributes
to reference a secret in Secrets Manager.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AdvancedSecurityOptions>
- Returns:
- a new instance of
AdvancedSecurityOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-