Class DomainsConfig.Builder
java.lang.Object
software.amazon.awscdk.services.route53resolver.DomainsConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DomainsConfig>
- Enclosing interface:
- DomainsConfig
@Stability(Experimental)
public static final class DomainsConfig.Builder
extends Object
implements software.amazon.jsii.Builder<DomainsConfig>
A builder for
DomainsConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.domainFileUrl
(String domainFileUrl) Sets the value ofDomainsConfig.getDomainFileUrl()
Sets the value ofDomainsConfig.getDomains()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainFileUrl
Sets the value ofDomainsConfig.getDomainFileUrl()
- Parameters:
domainFileUrl
- The fully qualified URL or URI of the file stored in Amazon S3 that contains the list of domains to import. The file must be a text file and must contain a single domain per line. The content type of the S3 object must beplain/text
.- Returns:
this
-
domains
Sets the value ofDomainsConfig.getDomains()
- Parameters:
domains
- A list of domains.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<DomainsConfig>
- Returns:
- a new instance of
DomainsConfig
- Throws:
NullPointerException
- if any required attribute was not provided
-