Class CfnDomain.AdvancedSecurityOptionsInputProperty.Builder
java.lang.Object
software.amazon.awscdk.services.opensearchservice.CfnDomain.AdvancedSecurityOptionsInputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomain.AdvancedSecurityOptionsInputProperty>
- Enclosing interface:
CfnDomain.AdvancedSecurityOptionsInputProperty
@Stability(Stable)
public static final class CfnDomain.AdvancedSecurityOptionsInputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomain.AdvancedSecurityOptionsInputProperty>
A builder for
CfnDomain.AdvancedSecurityOptionsInputProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionanonymousAuthDisableDate
(String anonymousAuthDisableDate) anonymousAuthEnabled
(Boolean anonymousAuthEnabled) Sets the value ofCfnDomain.AdvancedSecurityOptionsInputProperty.getAnonymousAuthEnabled()
anonymousAuthEnabled
(IResolvable anonymousAuthEnabled) Sets the value ofCfnDomain.AdvancedSecurityOptionsInputProperty.getAnonymousAuthEnabled()
build()
Builds the configured instance.Sets the value ofCfnDomain.AdvancedSecurityOptionsInputProperty.getEnabled()
enabled
(IResolvable enabled) Sets the value ofCfnDomain.AdvancedSecurityOptionsInputProperty.getEnabled()
internalUserDatabaseEnabled
(Boolean internalUserDatabaseEnabled) internalUserDatabaseEnabled
(IResolvable internalUserDatabaseEnabled) jwtOptions
(IResolvable jwtOptions) Sets the value ofCfnDomain.AdvancedSecurityOptionsInputProperty.getJwtOptions()
jwtOptions
(CfnDomain.JWTOptionsProperty jwtOptions) Sets the value ofCfnDomain.AdvancedSecurityOptionsInputProperty.getJwtOptions()
masterUserOptions
(IResolvable masterUserOptions) Sets the value ofCfnDomain.AdvancedSecurityOptionsInputProperty.getMasterUserOptions()
masterUserOptions
(CfnDomain.MasterUserOptionsProperty masterUserOptions) Sets the value ofCfnDomain.AdvancedSecurityOptionsInputProperty.getMasterUserOptions()
samlOptions
(IResolvable samlOptions) Sets the value ofCfnDomain.AdvancedSecurityOptionsInputProperty.getSamlOptions()
samlOptions
(CfnDomain.SAMLOptionsProperty samlOptions) Sets the value ofCfnDomain.AdvancedSecurityOptionsInputProperty.getSamlOptions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
anonymousAuthDisableDate
@Stability(Stable) public CfnDomain.AdvancedSecurityOptionsInputProperty.Builder anonymousAuthDisableDate(String anonymousAuthDisableDate) - Parameters:
anonymousAuthDisableDate
- Date and time when the migration period will be disabled. Only necessary when enabling fine-grained access control on an existing domain .- Returns:
this
-
anonymousAuthEnabled
@Stability(Stable) public CfnDomain.AdvancedSecurityOptionsInputProperty.Builder anonymousAuthEnabled(Boolean anonymousAuthEnabled) Sets the value ofCfnDomain.AdvancedSecurityOptionsInputProperty.getAnonymousAuthEnabled()
- Parameters:
anonymousAuthEnabled
- True to enable a 30-day migration period during which administrators can create role mappings. Only necessary when enabling fine-grained access control on an existing domain .- Returns:
this
-
anonymousAuthEnabled
@Stability(Stable) public CfnDomain.AdvancedSecurityOptionsInputProperty.Builder anonymousAuthEnabled(IResolvable anonymousAuthEnabled) Sets the value ofCfnDomain.AdvancedSecurityOptionsInputProperty.getAnonymousAuthEnabled()
- Parameters:
anonymousAuthEnabled
- True to enable a 30-day migration period during which administrators can create role mappings. Only necessary when enabling fine-grained access control on an existing domain .- Returns:
this
-
enabled
@Stability(Stable) public CfnDomain.AdvancedSecurityOptionsInputProperty.Builder enabled(Boolean enabled) Sets the value ofCfnDomain.AdvancedSecurityOptionsInputProperty.getEnabled()
- Parameters:
enabled
- True to enable fine-grained access control. You must also enable encryption of data at rest and node-to-node encryption. See Fine-grained access control in Amazon OpenSearch Service .- Returns:
this
-
enabled
@Stability(Stable) public CfnDomain.AdvancedSecurityOptionsInputProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnDomain.AdvancedSecurityOptionsInputProperty.getEnabled()
- Parameters:
enabled
- True to enable fine-grained access control. You must also enable encryption of data at rest and node-to-node encryption. See Fine-grained access control in Amazon OpenSearch Service .- Returns:
this
-
internalUserDatabaseEnabled
@Stability(Stable) public CfnDomain.AdvancedSecurityOptionsInputProperty.Builder internalUserDatabaseEnabled(Boolean internalUserDatabaseEnabled) - Parameters:
internalUserDatabaseEnabled
- True to enable the internal user database.- Returns:
this
-
internalUserDatabaseEnabled
@Stability(Stable) public CfnDomain.AdvancedSecurityOptionsInputProperty.Builder internalUserDatabaseEnabled(IResolvable internalUserDatabaseEnabled) - Parameters:
internalUserDatabaseEnabled
- True to enable the internal user database.- Returns:
this
-
jwtOptions
@Stability(Stable) public CfnDomain.AdvancedSecurityOptionsInputProperty.Builder jwtOptions(IResolvable jwtOptions) Sets the value ofCfnDomain.AdvancedSecurityOptionsInputProperty.getJwtOptions()
- Parameters:
jwtOptions
- Container for information about the JWT configuration of the Amazon OpenSearch Service.- Returns:
this
-
jwtOptions
@Stability(Stable) public CfnDomain.AdvancedSecurityOptionsInputProperty.Builder jwtOptions(CfnDomain.JWTOptionsProperty jwtOptions) Sets the value ofCfnDomain.AdvancedSecurityOptionsInputProperty.getJwtOptions()
- Parameters:
jwtOptions
- Container for information about the JWT configuration of the Amazon OpenSearch Service.- Returns:
this
-
masterUserOptions
@Stability(Stable) public CfnDomain.AdvancedSecurityOptionsInputProperty.Builder masterUserOptions(IResolvable masterUserOptions) Sets the value ofCfnDomain.AdvancedSecurityOptionsInputProperty.getMasterUserOptions()
- Parameters:
masterUserOptions
- Specifies information about the master user.- Returns:
this
-
masterUserOptions
@Stability(Stable) public CfnDomain.AdvancedSecurityOptionsInputProperty.Builder masterUserOptions(CfnDomain.MasterUserOptionsProperty masterUserOptions) Sets the value ofCfnDomain.AdvancedSecurityOptionsInputProperty.getMasterUserOptions()
- Parameters:
masterUserOptions
- Specifies information about the master user.- Returns:
this
-
samlOptions
@Stability(Stable) public CfnDomain.AdvancedSecurityOptionsInputProperty.Builder samlOptions(IResolvable samlOptions) Sets the value ofCfnDomain.AdvancedSecurityOptionsInputProperty.getSamlOptions()
- Parameters:
samlOptions
- Container for information about the SAML configuration for OpenSearch Dashboards.- Returns:
this
-
samlOptions
@Stability(Stable) public CfnDomain.AdvancedSecurityOptionsInputProperty.Builder samlOptions(CfnDomain.SAMLOptionsProperty samlOptions) Sets the value ofCfnDomain.AdvancedSecurityOptionsInputProperty.getSamlOptions()
- Parameters:
samlOptions
- Container for information about the SAML configuration for OpenSearch Dashboards.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDomain.AdvancedSecurityOptionsInputProperty>
- Returns:
- a new instance of
CfnDomain.AdvancedSecurityOptionsInputProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-