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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DomainAssociation.BuilderautoSubDomainCreationPatterns(String... autoSubDomainCreationPatterns)Sets branch patterns for automatic subdomain creation.DomainAssociation.BuilderautoSubDomainCreationPatterns(Collection<String> autoSubDomainCreationPatterns)Sets branch patterns for automatic subdomain creation.DomainAssociation.BuilderautoSubDomainIAMRole(String autoSubDomainIAMRole)The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.default DomainAssociation.Buildercertificate(Consumer<Certificate.Builder> certificate)Describes the SSL/TLS certificate for the domain association.DomainAssociation.Buildercertificate(Certificate certificate)Describes the SSL/TLS certificate for the domain association.DomainAssociation.BuildercertificateVerificationDNSRecord(String certificateVerificationDNSRecord)The DNS record for certificate verification.DomainAssociation.BuilderdomainAssociationArn(String domainAssociationArn)The Amazon Resource Name (ARN) for the domain association.DomainAssociation.BuilderdomainName(String domainName)The name of the domain.DomainAssociation.BuilderdomainStatus(String domainStatus)The current status of the domain association.DomainAssociation.BuilderdomainStatus(DomainStatus domainStatus)The current status of the domain association.DomainAssociation.BuilderenableAutoSubDomain(Boolean enableAutoSubDomain)Enables the automated creation of subdomains for branches.DomainAssociation.BuilderstatusReason(String statusReason)Additional information that describes why the domain association is in the current state.DomainAssociation.BuildersubDomains(Collection<SubDomain> subDomains)The subdomains for the domain association.DomainAssociation.BuildersubDomains(Consumer<SubDomain.Builder>... subDomains)The subdomains for the domain association.DomainAssociation.BuildersubDomains(SubDomain... subDomains)The subdomains for the domain association.DomainAssociation.BuilderupdateStatus(String updateStatus)The status of the domain update operation that is currently in progress.DomainAssociation.BuilderupdateStatus(UpdateStatus updateStatus)The status of the domain update operation that is currently in progress.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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,DomainStatus
-
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:
DomainStatus,DomainStatus
-
updateStatus
DomainAssociation.Builder updateStatus(String updateStatus)
The status of the domain update operation that is currently in progress. The following list describes the valid update states.
- REQUESTING_CERTIFICATE
-
The certificate is in the process of being updated.
- PENDING_VERIFICATION
-
Indicates that an Amplify managed certificate is in the process of being verified. This occurs during the creation of a custom domain or when a custom domain is updated to use a managed certificate.
- IMPORTING_CUSTOM_CERTIFICATE
-
Indicates that an Amplify custom certificate is in the process of being imported. This occurs during the creation of a custom domain or when a custom domain is updated to use a custom certificate.
- PENDING_DEPLOYMENT
-
Indicates that the subdomain or certificate changes are being propagated.
- AWAITING_APP_CNAME
-
Amplify is waiting for CNAME records corresponding to subdomains to be propagated. If your custom domain is on Route 53, Amplify handles this for you automatically. For more information about custom domains, see Setting up custom domains in the Amplify Hosting User Guide.
- UPDATE_COMPLETE
-
The certificate has been associated with a domain.
- UPDATE_FAILED
-
The certificate has failed to be provisioned or associated, and there is no existing active certificate to roll back to.
- Parameters:
updateStatus- The status of the domain update operation that is currently in progress. The following list describes the valid update states.- REQUESTING_CERTIFICATE
-
The certificate is in the process of being updated.
- PENDING_VERIFICATION
-
Indicates that an Amplify managed certificate is in the process of being verified. This occurs during the creation of a custom domain or when a custom domain is updated to use a managed certificate.
- IMPORTING_CUSTOM_CERTIFICATE
-
Indicates that an Amplify custom certificate is in the process of being imported. This occurs during the creation of a custom domain or when a custom domain is updated to use a custom certificate.
- PENDING_DEPLOYMENT
-
Indicates that the subdomain or certificate changes are being propagated.
- AWAITING_APP_CNAME
-
Amplify is waiting for CNAME records corresponding to subdomains to be propagated. If your custom domain is on Route 53, Amplify handles this for you automatically. For more information about custom domains, see Setting up custom domains in the Amplify Hosting User Guide.
- UPDATE_COMPLETE
-
The certificate has been associated with a domain.
- UPDATE_FAILED
-
The certificate has failed to be provisioned or associated, and there is no existing active certificate to roll back to.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
UpdateStatus,UpdateStatus
-
updateStatus
DomainAssociation.Builder updateStatus(UpdateStatus updateStatus)
The status of the domain update operation that is currently in progress. The following list describes the valid update states.
- REQUESTING_CERTIFICATE
-
The certificate is in the process of being updated.
- PENDING_VERIFICATION
-
Indicates that an Amplify managed certificate is in the process of being verified. This occurs during the creation of a custom domain or when a custom domain is updated to use a managed certificate.
- IMPORTING_CUSTOM_CERTIFICATE
-
Indicates that an Amplify custom certificate is in the process of being imported. This occurs during the creation of a custom domain or when a custom domain is updated to use a custom certificate.
- PENDING_DEPLOYMENT
-
Indicates that the subdomain or certificate changes are being propagated.
- AWAITING_APP_CNAME
-
Amplify is waiting for CNAME records corresponding to subdomains to be propagated. If your custom domain is on Route 53, Amplify handles this for you automatically. For more information about custom domains, see Setting up custom domains in the Amplify Hosting User Guide.
- UPDATE_COMPLETE
-
The certificate has been associated with a domain.
- UPDATE_FAILED
-
The certificate has failed to be provisioned or associated, and there is no existing active certificate to roll back to.
- Parameters:
updateStatus- The status of the domain update operation that is currently in progress. The following list describes the valid update states.- REQUESTING_CERTIFICATE
-
The certificate is in the process of being updated.
- PENDING_VERIFICATION
-
Indicates that an Amplify managed certificate is in the process of being verified. This occurs during the creation of a custom domain or when a custom domain is updated to use a managed certificate.
- IMPORTING_CUSTOM_CERTIFICATE
-
Indicates that an Amplify custom certificate is in the process of being imported. This occurs during the creation of a custom domain or when a custom domain is updated to use a custom certificate.
- PENDING_DEPLOYMENT
-
Indicates that the subdomain or certificate changes are being propagated.
- AWAITING_APP_CNAME
-
Amplify is waiting for CNAME records corresponding to subdomains to be propagated. If your custom domain is on Route 53, Amplify handles this for you automatically. For more information about custom domains, see Setting up custom domains in the Amplify Hosting User Guide.
- UPDATE_COMPLETE
-
The certificate has been associated with a domain.
- UPDATE_FAILED
-
The certificate has failed to be provisioned or associated, and there is no existing active certificate to roll back to.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
UpdateStatus,UpdateStatus
-
statusReason
DomainAssociation.Builder statusReason(String statusReason)
Additional information that describes why the domain association is in the current state.
- Parameters:
statusReason- Additional information that describes why the domain association is in the current state.- 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
DomainAssociation.Builder subDomains(Collection<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
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
DomainAssociation.Builder subDomains(Consumer<SubDomain.Builder>... subDomains)
The subdomains for the domain association.
This is a convenience method that creates an instance of theSubDomain.Builderavoiding the need to create one manually viaSubDomain.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#subDomains(List.) - Parameters:
subDomains- a consumer that will call methods onSubDomain.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#subDomains(java.util.Collection)
-
certificate
DomainAssociation.Builder certificate(Certificate certificate)
Describes the SSL/TLS certificate for the domain association. This can be your own custom certificate or the default certificate that Amplify provisions for you.
If you are updating your domain to use a different certificate,
certificatepoints to the new certificate that is being created instead of the current active certificate. Otherwise,certificatepoints to the current active certificate.- Parameters:
certificate- Describes the SSL/TLS certificate for the domain association. This can be your own custom certificate or the default certificate that Amplify provisions for you.If you are updating your domain to use a different certificate,
certificatepoints to the new certificate that is being created instead of the current active certificate. Otherwise,certificatepoints to the current active certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificate
default DomainAssociation.Builder certificate(Consumer<Certificate.Builder> certificate)
Describes the SSL/TLS certificate for the domain association. This can be your own custom certificate or the default certificate that Amplify provisions for you.
If you are updating your domain to use a different certificate,
This is a convenience method that creates an instance of thecertificatepoints to the new certificate that is being created instead of the current active certificate. Otherwise,certificatepoints to the current active certificate.Certificate.Builderavoiding the need to create one manually viaCertificate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocertificate(Certificate).- Parameters:
certificate- a consumer that will call methods onCertificate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
certificate(Certificate)
-
-