Class CfnTargetDomainPropsMixin.HttpVerificationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.securityagent.CfnTargetDomainPropsMixin.HttpVerificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTargetDomainPropsMixin.HttpVerificationProperty>
- Enclosing interface:
CfnTargetDomainPropsMixin.HttpVerificationProperty
@Stability(Stable)
public static final class CfnTargetDomainPropsMixin.HttpVerificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTargetDomainPropsMixin.HttpVerificationProperty>
A builder for
CfnTargetDomainPropsMixin.HttpVerificationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTargetDomainPropsMixin.HttpVerificationProperty.getRoutePath()Sets the value ofCfnTargetDomainPropsMixin.HttpVerificationProperty.getToken()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
routePath
@Stability(Stable) public CfnTargetDomainPropsMixin.HttpVerificationProperty.Builder routePath(String routePath) Sets the value ofCfnTargetDomainPropsMixin.HttpVerificationProperty.getRoutePath()- Parameters:
routePath- Route path where verification token should be placed.- Returns:
this
-
token
@Stability(Stable) public CfnTargetDomainPropsMixin.HttpVerificationProperty.Builder token(String token) Sets the value ofCfnTargetDomainPropsMixin.HttpVerificationProperty.getToken()- Parameters:
token- Token used to verify domain ownership.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTargetDomainPropsMixin.HttpVerificationProperty>- Returns:
- a new instance of
CfnTargetDomainPropsMixin.HttpVerificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-