Class CfnContainer.PublicDomainNameProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lightsail.CfnContainer.PublicDomainNameProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnContainer.PublicDomainNameProperty>
- Enclosing interface:
- CfnContainer.PublicDomainNameProperty
@Stability(Stable)
public static final class CfnContainer.PublicDomainNameProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnContainer.PublicDomainNameProperty>
A builder for
CfnContainer.PublicDomainNameProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.certificateName
(String certificateName) Sets the value ofCfnContainer.PublicDomainNameProperty.getCertificateName()
domainNames
(List<String> domainNames) Sets the value ofCfnContainer.PublicDomainNameProperty.getDomainNames()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
certificateName
@Stability(Stable) public CfnContainer.PublicDomainNameProperty.Builder certificateName(String certificateName) Sets the value ofCfnContainer.PublicDomainNameProperty.getCertificateName()
- Parameters:
certificateName
- The name of the certificate for the public domains.- Returns:
this
-
domainNames
@Stability(Stable) public CfnContainer.PublicDomainNameProperty.Builder domainNames(List<String> domainNames) Sets the value ofCfnContainer.PublicDomainNameProperty.getDomainNames()
- Parameters:
domainNames
- The public domain names to use with the container service.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnContainer.PublicDomainNameProperty>
- Returns:
- a new instance of
CfnContainer.PublicDomainNameProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-