Class CfnBrokerPropsMixin.LdapServerMetadataProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.amazonmq.CfnBrokerPropsMixin.LdapServerMetadataProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBrokerPropsMixin.LdapServerMetadataProperty>
- Enclosing interface:
CfnBrokerPropsMixin.LdapServerMetadataProperty
@Stability(Stable)
public static final class CfnBrokerPropsMixin.LdapServerMetadataProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBrokerPropsMixin.LdapServerMetadataProperty>
A builder for
CfnBrokerPropsMixin.LdapServerMetadataProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnBrokerPropsMixin.LdapServerMetadataProperty.getHosts()Sets the value ofCfnBrokerPropsMixin.LdapServerMetadataProperty.getRoleBase()Sets the value ofCfnBrokerPropsMixin.LdapServerMetadataProperty.getRoleName()roleSearchMatching(String roleSearchMatching) Sets the value ofCfnBrokerPropsMixin.LdapServerMetadataProperty.getRoleSearchMatching()roleSearchSubtree(Boolean roleSearchSubtree) Sets the value ofCfnBrokerPropsMixin.LdapServerMetadataProperty.getRoleSearchSubtree()roleSearchSubtree(IResolvable roleSearchSubtree) Sets the value ofCfnBrokerPropsMixin.LdapServerMetadataProperty.getRoleSearchSubtree()serviceAccountPassword(String serviceAccountPassword) serviceAccountUsername(String serviceAccountUsername) Sets the value ofCfnBrokerPropsMixin.LdapServerMetadataProperty.getUserBase()userRoleName(String userRoleName) Sets the value ofCfnBrokerPropsMixin.LdapServerMetadataProperty.getUserRoleName()userSearchMatching(String userSearchMatching) Sets the value ofCfnBrokerPropsMixin.LdapServerMetadataProperty.getUserSearchMatching()userSearchSubtree(Boolean userSearchSubtree) Sets the value ofCfnBrokerPropsMixin.LdapServerMetadataProperty.getUserSearchSubtree()userSearchSubtree(IResolvable userSearchSubtree) Sets the value ofCfnBrokerPropsMixin.LdapServerMetadataProperty.getUserSearchSubtree()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
hosts
@Stability(Stable) public CfnBrokerPropsMixin.LdapServerMetadataProperty.Builder hosts(List<String> hosts) Sets the value ofCfnBrokerPropsMixin.LdapServerMetadataProperty.getHosts()- Parameters:
hosts- the value to be set.- Returns:
this
-
roleBase
@Stability(Stable) public CfnBrokerPropsMixin.LdapServerMetadataProperty.Builder roleBase(String roleBase) Sets the value ofCfnBrokerPropsMixin.LdapServerMetadataProperty.getRoleBase()- Parameters:
roleBase- the value to be set.- Returns:
this
-
roleName
@Stability(Stable) public CfnBrokerPropsMixin.LdapServerMetadataProperty.Builder roleName(String roleName) Sets the value ofCfnBrokerPropsMixin.LdapServerMetadataProperty.getRoleName()- Parameters:
roleName- the value to be set.- Returns:
this
-
roleSearchMatching
@Stability(Stable) public CfnBrokerPropsMixin.LdapServerMetadataProperty.Builder roleSearchMatching(String roleSearchMatching) Sets the value ofCfnBrokerPropsMixin.LdapServerMetadataProperty.getRoleSearchMatching()- Parameters:
roleSearchMatching- the value to be set.- Returns:
this
-
roleSearchSubtree
@Stability(Stable) public CfnBrokerPropsMixin.LdapServerMetadataProperty.Builder roleSearchSubtree(Boolean roleSearchSubtree) Sets the value ofCfnBrokerPropsMixin.LdapServerMetadataProperty.getRoleSearchSubtree()- Parameters:
roleSearchSubtree- the value to be set.- Returns:
this
-
roleSearchSubtree
@Stability(Stable) public CfnBrokerPropsMixin.LdapServerMetadataProperty.Builder roleSearchSubtree(IResolvable roleSearchSubtree) Sets the value ofCfnBrokerPropsMixin.LdapServerMetadataProperty.getRoleSearchSubtree()- Parameters:
roleSearchSubtree- the value to be set.- Returns:
this
-
serviceAccountPassword
@Stability(Stable) public CfnBrokerPropsMixin.LdapServerMetadataProperty.Builder serviceAccountPassword(String serviceAccountPassword) - Parameters:
serviceAccountPassword- the value to be set.- Returns:
this
-
serviceAccountUsername
@Stability(Stable) public CfnBrokerPropsMixin.LdapServerMetadataProperty.Builder serviceAccountUsername(String serviceAccountUsername) - Parameters:
serviceAccountUsername- the value to be set.- Returns:
this
-
userBase
@Stability(Stable) public CfnBrokerPropsMixin.LdapServerMetadataProperty.Builder userBase(String userBase) Sets the value ofCfnBrokerPropsMixin.LdapServerMetadataProperty.getUserBase()- Parameters:
userBase- the value to be set.- Returns:
this
-
userRoleName
@Stability(Stable) public CfnBrokerPropsMixin.LdapServerMetadataProperty.Builder userRoleName(String userRoleName) Sets the value ofCfnBrokerPropsMixin.LdapServerMetadataProperty.getUserRoleName()- Parameters:
userRoleName- the value to be set.- Returns:
this
-
userSearchMatching
@Stability(Stable) public CfnBrokerPropsMixin.LdapServerMetadataProperty.Builder userSearchMatching(String userSearchMatching) Sets the value ofCfnBrokerPropsMixin.LdapServerMetadataProperty.getUserSearchMatching()- Parameters:
userSearchMatching- the value to be set.- Returns:
this
-
userSearchSubtree
@Stability(Stable) public CfnBrokerPropsMixin.LdapServerMetadataProperty.Builder userSearchSubtree(Boolean userSearchSubtree) Sets the value ofCfnBrokerPropsMixin.LdapServerMetadataProperty.getUserSearchSubtree()- Parameters:
userSearchSubtree- the value to be set.- Returns:
this
-
userSearchSubtree
@Stability(Stable) public CfnBrokerPropsMixin.LdapServerMetadataProperty.Builder userSearchSubtree(IResolvable userSearchSubtree) Sets the value ofCfnBrokerPropsMixin.LdapServerMetadataProperty.getUserSearchSubtree()- Parameters:
userSearchSubtree- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBrokerPropsMixin.LdapServerMetadataProperty>- Returns:
- a new instance of
CfnBrokerPropsMixin.LdapServerMetadataProperty - Throws:
NullPointerException- if any required attribute was not provided
-