Interface UpdateDistributionTenantRequest.Builder

    • Method Detail

      • id

        UpdateDistributionTenantRequest.Builder id​(String id)

        The ID of the distribution tenant.

        Parameters:
        id - The ID of the distribution tenant.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • distributionId

        UpdateDistributionTenantRequest.Builder distributionId​(String distributionId)

        The ID for the multi-tenant distribution.

        Parameters:
        distributionId - The ID for the multi-tenant distribution.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • domains

        UpdateDistributionTenantRequest.Builder domains​(Collection<DomainItem> domains)

        The domains to update for the distribution tenant. A domain object can contain only a domain property. You must specify at least one domain. Each distribution tenant can have up to 5 domains.

        Parameters:
        domains - The domains to update for the distribution tenant. A domain object can contain only a domain property. You must specify at least one domain. Each distribution tenant can have up to 5 domains.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • domains

        UpdateDistributionTenantRequest.Builder domains​(DomainItem... domains)

        The domains to update for the distribution tenant. A domain object can contain only a domain property. You must specify at least one domain. Each distribution tenant can have up to 5 domains.

        Parameters:
        domains - The domains to update for the distribution tenant. A domain object can contain only a domain property. You must specify at least one domain. Each distribution tenant can have up to 5 domains.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • domains

        UpdateDistributionTenantRequest.Builder domains​(Consumer<DomainItem.Builder>... domains)

        The domains to update for the distribution tenant. A domain object can contain only a domain property. You must specify at least one domain. Each distribution tenant can have up to 5 domains.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #domains(List).

        Parameters:
        domains - a consumer that will call methods on DomainItem.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #domains(java.util.Collection)
      • customizations

        UpdateDistributionTenantRequest.Builder customizations​(Customizations customizations)

        Customizations for the distribution tenant. For each distribution tenant, you can specify the geographic restrictions, and the Amazon Resource Names (ARNs) for the ACM certificate and WAF web ACL. These are specific values that you can override or disable from the multi-tenant distribution that was used to create the distribution tenant.

        Parameters:
        customizations - Customizations for the distribution tenant. For each distribution tenant, you can specify the geographic restrictions, and the Amazon Resource Names (ARNs) for the ACM certificate and WAF web ACL. These are specific values that you can override or disable from the multi-tenant distribution that was used to create the distribution tenant.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • parameters

        UpdateDistributionTenantRequest.Builder parameters​(Collection<Parameter> parameters)

        A list of parameter values to add to the resource. A parameter is specified as a key-value pair. A valid parameter value must exist for any parameter that is marked as required in the multi-tenant distribution.

        Parameters:
        parameters - A list of parameter values to add to the resource. A parameter is specified as a key-value pair. A valid parameter value must exist for any parameter that is marked as required in the multi-tenant distribution.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • parameters

        UpdateDistributionTenantRequest.Builder parameters​(Parameter... parameters)

        A list of parameter values to add to the resource. A parameter is specified as a key-value pair. A valid parameter value must exist for any parameter that is marked as required in the multi-tenant distribution.

        Parameters:
        parameters - A list of parameter values to add to the resource. A parameter is specified as a key-value pair. A valid parameter value must exist for any parameter that is marked as required in the multi-tenant distribution.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • parameters

        UpdateDistributionTenantRequest.Builder parameters​(Consumer<Parameter.Builder>... parameters)

        A list of parameter values to add to the resource. A parameter is specified as a key-value pair. A valid parameter value must exist for any parameter that is marked as required in the multi-tenant distribution.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #parameters(List).

        Parameters:
        parameters - a consumer that will call methods on Parameter.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #parameters(java.util.Collection)
      • connectionGroupId

        UpdateDistributionTenantRequest.Builder connectionGroupId​(String connectionGroupId)

        The ID of the target connection group.

        Parameters:
        connectionGroupId - The ID of the target connection group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ifMatch

        UpdateDistributionTenantRequest.Builder ifMatch​(String ifMatch)

        The value of the ETag header that you received when retrieving the distribution tenant to update. This value is returned in the response of the GetDistributionTenant API operation.

        Parameters:
        ifMatch - The value of the ETag header that you received when retrieving the distribution tenant to update. This value is returned in the response of the GetDistributionTenant API operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • managedCertificateRequest

        UpdateDistributionTenantRequest.Builder managedCertificateRequest​(ManagedCertificateRequest managedCertificateRequest)

        An object that contains the CloudFront managed ACM certificate request.

        Parameters:
        managedCertificateRequest - An object that contains the CloudFront managed ACM certificate request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • enabled

        UpdateDistributionTenantRequest.Builder enabled​(Boolean enabled)

        Indicates whether the distribution tenant should be updated to an enabled state. If you update the distribution tenant and it's not enabled, the distribution tenant won't serve traffic.

        Parameters:
        enabled - Indicates whether the distribution tenant should be updated to an enabled state. If you update the distribution tenant and it's not enabled, the distribution tenant won't serve traffic.
        Returns:
        Returns a reference to this object so that method calls can be chained together.