Class CfnUserPoolDomain.CustomDomainConfigTypeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.CfnUserPoolDomain.CustomDomainConfigTypeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPoolDomain.CustomDomainConfigTypeProperty>
- Enclosing interface:
CfnUserPoolDomain.CustomDomainConfigTypeProperty
@Stability(Stable)
public static final class CfnUserPoolDomain.CustomDomainConfigTypeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPoolDomain.CustomDomainConfigTypeProperty>
A builder for
CfnUserPoolDomain.CustomDomainConfigTypeProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.certificateArn
(String certificateArn) Sets the value ofCfnUserPoolDomain.CustomDomainConfigTypeProperty.getCertificateArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
certificateArn
@Stability(Stable) public CfnUserPoolDomain.CustomDomainConfigTypeProperty.Builder certificateArn(String certificateArn) Sets the value ofCfnUserPoolDomain.CustomDomainConfigTypeProperty.getCertificateArn()
- Parameters:
certificateArn
- The Amazon Resource Name (ARN) of an AWS Certificate Manager SSL certificate. You use this certificate for the subdomain of your custom domain.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnUserPoolDomain.CustomDomainConfigTypeProperty>
- Returns:
- a new instance of
CfnUserPoolDomain.CustomDomainConfigTypeProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-