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