Class CertificationValidationProps.Builder
java.lang.Object
software.amazon.awscdk.services.certificatemanager.CertificationValidationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CertificationValidationProps>
- Enclosing interface:
CertificationValidationProps
@Stability(Stable)
public static final class CertificationValidationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CertificationValidationProps>
A builder for
CertificationValidationProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.hostedZone
(IHostedZone hostedZone) Sets the value ofCertificationValidationProps.getHostedZone()
hostedZones
(Map<String, ? extends IHostedZone> hostedZones) Sets the value ofCertificationValidationProps.getHostedZones()
method
(ValidationMethod method) Sets the value ofCertificationValidationProps.getMethod()
validationDomains
(Map<String, String> validationDomains) Sets the value ofCertificationValidationProps.getValidationDomains()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
hostedZone
Sets the value ofCertificationValidationProps.getHostedZone()
- Parameters:
hostedZone
- Hosted zone to use for DNS validation.- Returns:
this
-
hostedZones
@Stability(Stable) public CertificationValidationProps.Builder hostedZones(Map<String, ? extends IHostedZone> hostedZones) Sets the value ofCertificationValidationProps.getHostedZones()
- Parameters:
hostedZones
- A map of hosted zones to use for DNS validation.- Returns:
this
-
method
Sets the value ofCertificationValidationProps.getMethod()
- Parameters:
method
- Validation method.- Returns:
this
-
validationDomains
@Stability(Stable) public CertificationValidationProps.Builder validationDomains(Map<String, String> validationDomains) Sets the value ofCertificationValidationProps.getValidationDomains()
- Parameters:
validationDomains
- Validation domains to use for email validation.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CertificationValidationProps>
- Returns:
- a new instance of
CertificationValidationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-