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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetDistributionTenantByDomainResponse.BuilderdistributionTenant(Consumer<DistributionTenant.Builder> distributionTenant)Sets the value of the DistributionTenant property for this object.GetDistributionTenantByDomainResponse.BuilderdistributionTenant(DistributionTenant distributionTenant)Sets the value of the DistributionTenant property for this object.GetDistributionTenantByDomainResponse.BuildereTag(String eTag)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 Detail
-
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.Builderavoiding the need to create one manually viaDistributionTenant.builder().When the
Consumercompletes,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:
distributionTenant(DistributionTenant)
-
eTag
GetDistributionTenantByDomainResponse.Builder eTag(String 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.
-
-