Interface CreateDistributionTenantRequest.Builder

    • Method Detail

      • distributionId

        CreateDistributionTenantRequest.Builder distributionId​(String distributionId)

        The ID of the multi-tenant distribution to use for creating the distribution tenant.

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

        CreateDistributionTenantRequest.Builder name​(String name)

        The name of the distribution tenant. Enter a friendly identifier that is unique within your Amazon Web Services account. This name can't be updated after you create the distribution tenant.

        Parameters:
        name - The name of the distribution tenant. Enter a friendly identifier that is unique within your Amazon Web Services account. This name can't be updated after you create the distribution tenant.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • domains

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

        The domains associated with the distribution tenant. You must specify at least one domain in the request.

        Parameters:
        domains - The domains associated with the distribution tenant. You must specify at least one domain in the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • domains

        CreateDistributionTenantRequest.Builder domains​(DomainItem... domains)

        The domains associated with the distribution tenant. You must specify at least one domain in the request.

        Parameters:
        domains - The domains associated with the distribution tenant. You must specify at least one domain in the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateDistributionTenantRequest.Builder tags​(Tags tags)
        Sets the value of the Tags property for this object.
        Parameters:
        tags - The new value for the Tags property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • customizations

        CreateDistributionTenantRequest.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

        CreateDistributionTenantRequest.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

        CreateDistributionTenantRequest.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

        CreateDistributionTenantRequest.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

        CreateDistributionTenantRequest.Builder connectionGroupId​(String connectionGroupId)

        The ID of the connection group to associate with the distribution tenant.

        Parameters:
        connectionGroupId - The ID of the connection group to associate with the distribution tenant.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • managedCertificateRequest

        CreateDistributionTenantRequest.Builder managedCertificateRequest​(ManagedCertificateRequest managedCertificateRequest)

        The configuration for the CloudFront managed ACM certificate request.

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

        CreateDistributionTenantRequest.Builder enabled​(Boolean enabled)

        Indicates whether the distribution tenant should be enabled when created. If the distribution tenant is disabled, the distribution tenant won't serve traffic.

        Parameters:
        enabled - Indicates whether the distribution tenant should be enabled when created. If the distribution tenant is disabled, the distribution tenant won't serve traffic.
        Returns:
        Returns a reference to this object so that method calls can be chained together.