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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateInvalidationForDistributionTenantResponse.Builderinvalidation(Consumer<Invalidation.Builder> invalidation)Sets the value of the Invalidation property for this object.CreateInvalidationForDistributionTenantResponse.Builderinvalidation(Invalidation invalidation)Sets the value of the Invalidation property for this object.CreateInvalidationForDistributionTenantResponse.Builderlocation(String location)The location for the invalidation.-
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
-
location
CreateInvalidationForDistributionTenantResponse.Builder location(String 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
CreateInvalidationForDistributionTenantResponse.Builder invalidation(Invalidation 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:
invalidation(Invalidation)
-
-