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