Interface UpdateDistributionTenantResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudFrontResponse.Builder
,CopyableBuilder<UpdateDistributionTenantResponse.Builder,
,UpdateDistributionTenantResponse> SdkBuilder<UpdateDistributionTenantResponse.Builder,
,UpdateDistributionTenantResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateDistributionTenantResponse
@Mutable
@NotThreadSafe
public static interface UpdateDistributionTenantResponse.Builder
extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<UpdateDistributionTenantResponse.Builder,UpdateDistributionTenantResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondistributionTenant
(Consumer<DistributionTenant.Builder> distributionTenant) The distribution tenant that you're updating.distributionTenant
(DistributionTenant distributionTenant) The distribution tenant that you're updating.The current version of the distribution tenant.Methods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
distributionTenant
The distribution tenant that you're updating.
- Parameters:
distributionTenant
- The distribution tenant that you're updating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
distributionTenant
default UpdateDistributionTenantResponse.Builder distributionTenant(Consumer<DistributionTenant.Builder> distributionTenant) The distribution tenant that you're updating.
This is a convenience method that creates an instance of theDistributionTenant.Builder
avoiding the need to create one manually viaDistributionTenant.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todistributionTenant(DistributionTenant)
.- Parameters:
distributionTenant
- a consumer that will call methods onDistributionTenant.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eTag
The current version of the distribution tenant.
- Parameters:
eTag
- The current version of the distribution tenant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-