Class CfnDirectoryRegistrationProps.Builder
java.lang.Object
software.amazon.awscdk.services.pcaconnectorad.CfnDirectoryRegistrationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDirectoryRegistrationProps>
- Enclosing interface:
CfnDirectoryRegistrationProps
@Stability(Stable)
public static final class CfnDirectoryRegistrationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDirectoryRegistrationProps>
A builder for
CfnDirectoryRegistrationProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.directoryId
(String directoryId) Sets the value ofCfnDirectoryRegistrationProps.getDirectoryId()
Sets the value ofCfnDirectoryRegistrationProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
directoryId
Sets the value ofCfnDirectoryRegistrationProps.getDirectoryId()
- Parameters:
directoryId
- The identifier of the Active Directory. This parameter is required.- Returns:
this
-
tags
Sets the value ofCfnDirectoryRegistrationProps.getTags()
- Parameters:
tags
- Metadata assigned to a directory registration consisting of a key-value pair.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDirectoryRegistrationProps>
- Returns:
- a new instance of
CfnDirectoryRegistrationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-