Interface CreateInvalidationForDistributionTenantResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CloudFrontResponse.Builder,CopyableBuilder<CreateInvalidationForDistributionTenantResponse.Builder,,CreateInvalidationForDistributionTenantResponse> SdkBuilder<CreateInvalidationForDistributionTenantResponse.Builder,,CreateInvalidationForDistributionTenantResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 CreateInvalidationForDistributionTenantResponse
@Mutable
@NotThreadSafe
public static interface CreateInvalidationForDistributionTenantResponse.Builder
extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<CreateInvalidationForDistributionTenantResponse.Builder,CreateInvalidationForDistributionTenantResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptioninvalidation(Consumer<Invalidation.Builder> invalidation) Sets the value of the Invalidation property for this object.invalidation(Invalidation invalidation) Sets the value of the Invalidation property for this object.The location for the invalidation.Methods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse 
- 
Method Details
- 
location
The location for the invalidation.
- Parameters:
 location- The location for the invalidation.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
invalidation
Sets the value of the Invalidation property for this object.- Parameters:
 invalidation- The new value for the Invalidation property for this object.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
invalidation
default CreateInvalidationForDistributionTenantResponse.Builder invalidation(Consumer<Invalidation.Builder> invalidation) Sets the value of the Invalidation property for this object. This is a convenience method that creates an instance of theInvalidation.Builderavoiding the need to create one manually viaInvalidation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinvalidation(Invalidation).- Parameters:
 invalidation- a consumer that will call methods onInvalidation.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -