Class CfnDomain.MasterUserOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.elasticsearch.CfnDomain.MasterUserOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomain.MasterUserOptionsProperty>
- Enclosing interface:
- CfnDomain.MasterUserOptionsProperty
@Stability(Stable)
public static final class CfnDomain.MasterUserOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomain.MasterUserOptionsProperty>
A builder for
CfnDomain.MasterUserOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.masterUserArn(String masterUserArn) Sets the value ofCfnDomain.MasterUserOptionsProperty.getMasterUserArn()masterUserName(String masterUserName) Sets the value ofCfnDomain.MasterUserOptionsProperty.getMasterUserName()masterUserPassword(String masterUserPassword) Sets the value ofCfnDomain.MasterUserOptionsProperty.getMasterUserPassword()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
masterUserArn
@Stability(Stable) public CfnDomain.MasterUserOptionsProperty.Builder masterUserArn(String masterUserArn) Sets the value ofCfnDomain.MasterUserOptionsProperty.getMasterUserArn()- Parameters:
masterUserArn- ARN for the master user. Only specify ifInternalUserDatabaseEnabledis false inAdvancedSecurityOptions.- Returns:
this
-
masterUserName
@Stability(Stable) public CfnDomain.MasterUserOptionsProperty.Builder masterUserName(String masterUserName) Sets the value ofCfnDomain.MasterUserOptionsProperty.getMasterUserName()- Parameters:
masterUserName- Username for the master user. Only specify ifInternalUserDatabaseEnabledis true inAdvancedSecurityOptions.- Returns:
this
-
masterUserPassword
@Stability(Stable) public CfnDomain.MasterUserOptionsProperty.Builder masterUserPassword(String masterUserPassword) Sets the value ofCfnDomain.MasterUserOptionsProperty.getMasterUserPassword()- Parameters:
masterUserPassword- Password for the master user. Only specify ifInternalUserDatabaseEnabledis true inAdvancedSecurityOptions.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDomain.MasterUserOptionsProperty>- Returns:
- a new instance of
CfnDomain.MasterUserOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-