Interface UpdateDistributionTenantRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudFrontRequest.Builder
,CopyableBuilder<UpdateDistributionTenantRequest.Builder,
,UpdateDistributionTenantRequest> SdkBuilder<UpdateDistributionTenantRequest.Builder,
,UpdateDistributionTenantRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateDistributionTenantRequest
-
Method Summary
Modifier and TypeMethodDescriptionconnectionGroupId
(String connectionGroupId) The ID of the target connection group.customizations
(Consumer<Customizations.Builder> customizations) Customizations for the distribution tenant.customizations
(Customizations customizations) Customizations for the distribution tenant.distributionId
(String distributionId) The ID for the multi-tenant distribution.domains
(Collection<DomainItem> domains) The domains to update for the distribution tenant.domains
(Consumer<DomainItem.Builder>... domains) The domains to update for the distribution tenant.domains
(DomainItem... domains) The domains to update for the distribution tenant.Indicates whether the distribution tenant should be updated to an enabled state.The ID of the distribution tenant.The value of theETag
header that you received when retrieving the distribution tenant to update.managedCertificateRequest
(Consumer<ManagedCertificateRequest.Builder> managedCertificateRequest) An object that contains the CloudFront managed ACM certificate request.managedCertificateRequest
(ManagedCertificateRequest managedCertificateRequest) An object that contains the CloudFront managed ACM certificate request.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.parameters
(Collection<Parameter> parameters) A list of parameter values to add to the resource.parameters
(Consumer<Parameter.Builder>... parameters) A list of parameter values to add to the resource.parameters
(Parameter... parameters) A list of parameter values to add to the resource.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontRequest.Builder
build
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 Details
-
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
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
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
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
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 theDomainItem.Builder
avoiding the need to create one manually viaDomainItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todomains(List<DomainItem>)
.- Parameters:
domains
- a consumer that will call methods onDomainItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
customizations
default UpdateDistributionTenantRequest.Builder customizations(Consumer<Customizations.Builder> 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.
This is a convenience method that creates an instance of theCustomizations.Builder
avoiding the need to create one manually viaCustomizations.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomizations(Customizations)
.- Parameters:
customizations
- a consumer that will call methods onCustomizations.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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 theParameter.Builder
avoiding the need to create one manually viaParameter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparameters(List<Parameter>)
.- Parameters:
parameters
- a consumer that will call methods onParameter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
The value of the
ETag
header that you received when retrieving the distribution tenant to update. This value is returned in the response of theGetDistributionTenant
API operation.- Parameters:
ifMatch
- The value of theETag
header that you received when retrieving the distribution tenant to update. This value is returned in the response of theGetDistributionTenant
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.
-
managedCertificateRequest
default UpdateDistributionTenantRequest.Builder managedCertificateRequest(Consumer<ManagedCertificateRequest.Builder> managedCertificateRequest) An object that contains the CloudFront managed ACM certificate request.
This is a convenience method that creates an instance of theManagedCertificateRequest.Builder
avoiding the need to create one manually viaManagedCertificateRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomanagedCertificateRequest(ManagedCertificateRequest)
.- Parameters:
managedCertificateRequest
- a consumer that will call methods onManagedCertificateRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
overrideConfiguration
UpdateDistributionTenantRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateDistributionTenantRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-