Class CfnDomainProps.Builder
java.lang.Object
software.amazon.awscdk.services.lightsail.CfnDomainProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomainProps>
- Enclosing interface:
CfnDomainProps
@Stability(Stable)
public static final class CfnDomainProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomainProps>
A builder for
CfnDomainProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.domainEntries
(List<? extends Object> domainEntries) Sets the value ofCfnDomainProps.getDomainEntries()
domainEntries
(IResolvable domainEntries) Sets the value ofCfnDomainProps.getDomainEntries()
domainName
(String domainName) Sets the value ofCfnDomainProps.getDomainName()
Sets the value ofCfnDomainProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainName
Sets the value ofCfnDomainProps.getDomainName()
- Parameters:
domainName
- The fully qualified domain name in the certificate request. This parameter is required.- Returns:
this
-
domainEntries
Sets the value ofCfnDomainProps.getDomainEntries()
- Parameters:
domainEntries
- An array of key-value pairs containing information about the domain entries.- Returns:
this
-
domainEntries
@Stability(Stable) public CfnDomainProps.Builder domainEntries(List<? extends Object> domainEntries) Sets the value ofCfnDomainProps.getDomainEntries()
- Parameters:
domainEntries
- An array of key-value pairs containing information about the domain entries.- Returns:
this
-
tags
Sets the value ofCfnDomainProps.getTags()
- Parameters:
tags
- The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDomainProps>
- Returns:
- a new instance of
CfnDomainProps
- Throws:
NullPointerException
- if any required attribute was not provided
-