Interface DomainAssociation.Builder

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

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

    • domainAssociationArn

      DomainAssociation.Builder domainAssociationArn(String domainAssociationArn)

      The Amazon Resource Name (ARN) for the domain association.

      Parameters:
      domainAssociationArn - The Amazon Resource Name (ARN) for the domain association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • domainName

      DomainAssociation.Builder domainName(String domainName)

      The name of the domain.

      Parameters:
      domainName - The name of the domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enableAutoSubDomain

      DomainAssociation.Builder enableAutoSubDomain(Boolean enableAutoSubDomain)

      Enables the automated creation of subdomains for branches.

      Parameters:
      enableAutoSubDomain - Enables the automated creation of subdomains for branches.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • autoSubDomainCreationPatterns

      DomainAssociation.Builder autoSubDomainCreationPatterns(Collection<String> autoSubDomainCreationPatterns)

      Sets branch patterns for automatic subdomain creation.

      Parameters:
      autoSubDomainCreationPatterns - Sets branch patterns for automatic subdomain creation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • autoSubDomainCreationPatterns

      DomainAssociation.Builder autoSubDomainCreationPatterns(String... autoSubDomainCreationPatterns)

      Sets branch patterns for automatic subdomain creation.

      Parameters:
      autoSubDomainCreationPatterns - Sets branch patterns for automatic subdomain creation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • autoSubDomainIAMRole

      DomainAssociation.Builder autoSubDomainIAMRole(String autoSubDomainIAMRole)

      The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.

      Parameters:
      autoSubDomainIAMRole - The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • domainStatus

      DomainAssociation.Builder domainStatus(String domainStatus)

      The current status of the domain association.

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

      DomainAssociation.Builder domainStatus(DomainStatus domainStatus)

      The current status of the domain association.

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

      DomainAssociation.Builder statusReason(String statusReason)

      The reason for the current status of the domain association.

      Parameters:
      statusReason - The reason for the current status of the domain association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • certificateVerificationDNSRecord

      DomainAssociation.Builder certificateVerificationDNSRecord(String certificateVerificationDNSRecord)

      The DNS record for certificate verification.

      Parameters:
      certificateVerificationDNSRecord - The DNS record for certificate verification.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subDomains

      The subdomains for the domain association.

      Parameters:
      subDomains - The subdomains for the domain association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subDomains

      DomainAssociation.Builder subDomains(SubDomain... subDomains)

      The subdomains for the domain association.

      Parameters:
      subDomains - The subdomains for the domain association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subDomains

      The subdomains for the domain association.

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

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

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