Class CfnServicePrincipalNameProps.Builder
java.lang.Object
software.amazon.awscdk.services.pcaconnectorad.CfnServicePrincipalNameProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServicePrincipalNameProps>
- Enclosing interface:
CfnServicePrincipalNameProps
@Stability(Stable)
public static final class CfnServicePrincipalNameProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServicePrincipalNameProps>
A builder for
CfnServicePrincipalNameProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.connectorArn(String connectorArn) Sets the value ofCfnServicePrincipalNameProps.getConnectorArn()directoryRegistrationArn(String directoryRegistrationArn) Sets the value ofCfnServicePrincipalNameProps.getDirectoryRegistrationArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectorArn
Sets the value ofCfnServicePrincipalNameProps.getConnectorArn()- Parameters:
connectorArn- The Amazon Resource Name (ARN) that was returned when you called CreateConnector.html .- Returns:
this
-
directoryRegistrationArn
@Stability(Stable) public CfnServicePrincipalNameProps.Builder directoryRegistrationArn(String directoryRegistrationArn) Sets the value ofCfnServicePrincipalNameProps.getDirectoryRegistrationArn()- Parameters:
directoryRegistrationArn- The Amazon Resource Name (ARN) that was returned when you called CreateDirectoryRegistration .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServicePrincipalNameProps>- Returns:
- a new instance of
CfnServicePrincipalNameProps - Throws:
NullPointerException- if any required attribute was not provided
-