Interface CreateDistributionTenantResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudFrontResponse.Builder
,CopyableBuilder<CreateDistributionTenantResponse.Builder,
,CreateDistributionTenantResponse> SdkBuilder<CreateDistributionTenantResponse.Builder,
,CreateDistributionTenantResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateDistributionTenantResponse
@Mutable
@NotThreadSafe
public static interface CreateDistributionTenantResponse.Builder
extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<CreateDistributionTenantResponse.Builder,CreateDistributionTenantResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondistributionTenant
(Consumer<DistributionTenant.Builder> distributionTenant) The distribution tenant that you created.distributionTenant
(DistributionTenant distributionTenant) The distribution tenant that you created.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 created.
- Parameters:
distributionTenant
- The distribution tenant that you created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
distributionTenant
default CreateDistributionTenantResponse.Builder distributionTenant(Consumer<DistributionTenant.Builder> distributionTenant) The distribution tenant that you created.
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.
-