Class SubDomain.Builder
java.lang.Object
software.amazon.awscdk.services.amplify.alpha.SubDomain.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SubDomain>
- Enclosing interface:
SubDomain
@Stability(Experimental)
public static final class SubDomain.Builder
extends Object
implements software.amazon.jsii.Builder<SubDomain>
A builder for
SubDomain
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofSubDomain.getBranch()
build()
Builds the configured instance.Sets the value ofSubDomain.getPrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
branch
Sets the value ofSubDomain.getBranch()
- Parameters:
branch
- The branch. This parameter is required.- Returns:
this
-
prefix
Sets the value ofSubDomain.getPrefix()
- Parameters:
prefix
- The prefix. Use '' to map to the root of the domain- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<SubDomain>
- Returns:
- a new instance of
SubDomain
- Throws:
NullPointerException
- if any required attribute was not provided
-