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