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 Details

    • Builder

      public Builder()
  • Method Details

    • branch

      @Stability(Experimental) public SubDomain.Builder branch(IBranch branch)
      Sets the value of SubDomain.getBranch()
      Parameters:
      branch - The branch. This parameter is required.
      Returns:
      this
    • prefix

      @Stability(Experimental) public SubDomain.Builder prefix(String prefix)
      Sets the value of SubDomain.getPrefix()
      Parameters:
      prefix - The prefix. Use '' to map to the root of the domain
      Returns:
      this
    • build

      @Stability(Experimental) public SubDomain build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<SubDomain>
      Returns:
      a new instance of SubDomain
      Throws:
      NullPointerException - if any required attribute was not provided