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 Details

    • Builder

      public Builder()
  • Method Details

    • domainFileUrl

      @Stability(Experimental) public DomainsConfig.Builder domainFileUrl(String domainFileUrl)
      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 be plain/text.
      Returns:
      this
    • domains

      @Stability(Experimental) public DomainsConfig.Builder domains(List<String> domains)
      Sets the value of DomainsConfig.getDomains()
      Parameters:
      domains - A list of domains.
      Returns:
      this
    • build

      @Stability(Experimental) public DomainsConfig build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<DomainsConfig>
      Returns:
      a new instance of DomainsConfig
      Throws:
      NullPointerException - if any required attribute was not provided