Interface GetInvalidationForDistributionTenantResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudFrontResponse.Builder,CopyableBuilder<GetInvalidationForDistributionTenantResponse.Builder,,GetInvalidationForDistributionTenantResponse> SdkBuilder<GetInvalidationForDistributionTenantResponse.Builder,,GetInvalidationForDistributionTenantResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetInvalidationForDistributionTenantResponse
@Mutable
@NotThreadSafe
public static interface GetInvalidationForDistributionTenantResponse.Builder
extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<GetInvalidationForDistributionTenantResponse.Builder,GetInvalidationForDistributionTenantResponse>
-
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.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
-
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 GetInvalidationForDistributionTenantResponse.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:
-