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