Class CfnConnectorProps.Builder
java.lang.Object
software.amazon.awscdk.services.pcaconnectorad.CfnConnectorProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectorProps>
- Enclosing interface:
CfnConnectorProps
@Stability(Stable)
public static final class CfnConnectorProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectorProps>
A builder for
CfnConnectorProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.certificateAuthorityArn(String certificateAuthorityArn) Sets the value ofCfnConnectorProps.getCertificateAuthorityArn()directoryId(String directoryId) Sets the value ofCfnConnectorProps.getDirectoryId()Sets the value ofCfnConnectorProps.getTags()vpcInformation(IResolvable vpcInformation) Sets the value ofCfnConnectorProps.getVpcInformation()vpcInformation(CfnConnector.VpcInformationProperty vpcInformation) Sets the value ofCfnConnectorProps.getVpcInformation()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
certificateAuthorityArn
@Stability(Stable) public CfnConnectorProps.Builder certificateAuthorityArn(String certificateAuthorityArn) Sets the value ofCfnConnectorProps.getCertificateAuthorityArn()- Parameters:
certificateAuthorityArn- The Amazon Resource Name (ARN) of the certificate authority being used. This parameter is required.- Returns:
this
-
directoryId
Sets the value ofCfnConnectorProps.getDirectoryId()- Parameters:
directoryId- The identifier of the Active Directory. This parameter is required.- Returns:
this
-
vpcInformation
Sets the value ofCfnConnectorProps.getVpcInformation()- Parameters:
vpcInformation- Information of the VPC and security group(s) used with the connector. This parameter is required.- Returns:
this
-
vpcInformation
@Stability(Stable) public CfnConnectorProps.Builder vpcInformation(CfnConnector.VpcInformationProperty vpcInformation) Sets the value ofCfnConnectorProps.getVpcInformation()- Parameters:
vpcInformation- Information of the VPC and security group(s) used with the connector. This parameter is required.- Returns:
this
-
tags
Sets the value ofCfnConnectorProps.getTags()- Parameters:
tags- Metadata assigned to a connector consisting of a key-value pair.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectorProps>- Returns:
- a new instance of
CfnConnectorProps - Throws:
NullPointerException- if any required attribute was not provided
-