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