Interface CustomDomain.Builder

All Superinterfaces:
Buildable, CopyableBuilder<CustomDomain.Builder,CustomDomain>, SdkBuilder<CustomDomain.Builder,CustomDomain>, SdkPojo
Enclosing class:
CustomDomain

public static interface CustomDomain.Builder extends SdkPojo, CopyableBuilder<CustomDomain.Builder,CustomDomain>
  • Method Details

    • domainName

      CustomDomain.Builder domainName(String domainName)

      An associated custom domain endpoint. It can be a root domain (for example, example.com), a subdomain (for example, login.example.com or admin.login.example.com), or a wildcard (for example, *.example.com).

      Parameters:
      domainName - An associated custom domain endpoint. It can be a root domain (for example, example.com), a subdomain (for example, login.example.com or admin.login.example.com), or a wildcard (for example, *.example.com).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enableWWWSubdomain

      CustomDomain.Builder enableWWWSubdomain(Boolean enableWWWSubdomain)

      When true, the subdomain www.DomainName is associated with the App Runner service in addition to the base domain.

      Parameters:
      enableWWWSubdomain - When true, the subdomain www.DomainName is associated with the App Runner service in addition to the base domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • certificateValidationRecords

      CustomDomain.Builder certificateValidationRecords(Collection<CertificateValidationRecord> certificateValidationRecords)

      A list of certificate CNAME records that's used for this domain name.

      Parameters:
      certificateValidationRecords - A list of certificate CNAME records that's used for this domain name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • certificateValidationRecords

      CustomDomain.Builder certificateValidationRecords(CertificateValidationRecord... certificateValidationRecords)

      A list of certificate CNAME records that's used for this domain name.

      Parameters:
      certificateValidationRecords - A list of certificate CNAME records that's used for this domain name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • certificateValidationRecords

      CustomDomain.Builder certificateValidationRecords(Consumer<CertificateValidationRecord.Builder>... certificateValidationRecords)

      A list of certificate CNAME records that's used for this domain name.

      This is a convenience method that creates an instance of the CertificateValidationRecord.Builder avoiding the need to create one manually via CertificateValidationRecord.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to certificateValidationRecords(List<CertificateValidationRecord>).

      Parameters:
      certificateValidationRecords - a consumer that will call methods on CertificateValidationRecord.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      CustomDomain.Builder status(String status)

      The current state of the domain name association.

      Parameters:
      status - The current state of the domain name association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current state of the domain name association.

      Parameters:
      status - The current state of the domain name association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: