Class CfnTargetDomainProps.Builder
java.lang.Object
software.amazon.awscdk.services.securityagent.CfnTargetDomainProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTargetDomainProps>
- Enclosing interface:
CfnTargetDomainProps
@Stability(Stable)
public static final class CfnTargetDomainProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTargetDomainProps>
A builder for
CfnTargetDomainProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTargetDomainProps.getTags()targetDomainName(String targetDomainName) Sets the value ofCfnTargetDomainProps.getTargetDomainName()verificationMethod(String verificationMethod) Sets the value ofCfnTargetDomainProps.getVerificationMethod()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
targetDomainName
Sets the value ofCfnTargetDomainProps.getTargetDomainName()- Parameters:
targetDomainName- Domain name of the target domain. This parameter is required.- Returns:
this
-
verificationMethod
@Stability(Stable) public CfnTargetDomainProps.Builder verificationMethod(String verificationMethod) Sets the value ofCfnTargetDomainProps.getVerificationMethod()- Parameters:
verificationMethod- Verification method for the target domain. This parameter is required.- Returns:
this
-
tags
Sets the value ofCfnTargetDomainProps.getTags()- Parameters:
tags- Tags for the target domain.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTargetDomainProps>- Returns:
- a new instance of
CfnTargetDomainProps - Throws:
NullPointerException- if any required attribute was not provided
-