Class CfnDomainPropsMixin.SubDomainSettingProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.amplify.CfnDomainPropsMixin.SubDomainSettingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomainPropsMixin.SubDomainSettingProperty>
- Enclosing interface:
CfnDomainPropsMixin.SubDomainSettingProperty
@Stability(Stable)
public static final class CfnDomainPropsMixin.SubDomainSettingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomainPropsMixin.SubDomainSettingProperty>
A builder for
CfnDomainPropsMixin.SubDomainSettingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbranchName(String branchName) Sets the value ofCfnDomainPropsMixin.SubDomainSettingProperty.getBranchName()build()Builds the configured instance.Sets the value ofCfnDomainPropsMixin.SubDomainSettingProperty.getPrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
branchName
@Stability(Stable) public CfnDomainPropsMixin.SubDomainSettingProperty.Builder branchName(String branchName) Sets the value ofCfnDomainPropsMixin.SubDomainSettingProperty.getBranchName()- Parameters:
branchName- The branch name setting for the subdomain. Length Constraints: Minimum length of 1. Maximum length of 255.Pattern: (?s).+
- Returns:
this
-
prefix
@Stability(Stable) public CfnDomainPropsMixin.SubDomainSettingProperty.Builder prefix(String prefix) Sets the value ofCfnDomainPropsMixin.SubDomainSettingProperty.getPrefix()- Parameters:
prefix- The prefix setting for the subdomain.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDomainPropsMixin.SubDomainSettingProperty>- Returns:
- a new instance of
CfnDomainPropsMixin.SubDomainSettingProperty - Throws:
NullPointerException- if any required attribute was not provided
-