Interface ListInvalidationsForDistributionTenantResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudFrontResponse.Builder
,CopyableBuilder<ListInvalidationsForDistributionTenantResponse.Builder,
,ListInvalidationsForDistributionTenantResponse> SdkBuilder<ListInvalidationsForDistributionTenantResponse.Builder,
,ListInvalidationsForDistributionTenantResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListInvalidationsForDistributionTenantResponse
@Mutable
@NotThreadSafe
public static interface ListInvalidationsForDistributionTenantResponse.Builder
extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<ListInvalidationsForDistributionTenantResponse.Builder,ListInvalidationsForDistributionTenantResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninvalidationList
(Consumer<InvalidationList.Builder> invalidationList) Sets the value of the InvalidationList property for this object.invalidationList
(InvalidationList invalidationList) Sets the value of the InvalidationList property for this object.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
-
invalidationList
ListInvalidationsForDistributionTenantResponse.Builder invalidationList(InvalidationList invalidationList) Sets the value of the InvalidationList property for this object.- Parameters:
invalidationList
- The new value for the InvalidationList property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invalidationList
default ListInvalidationsForDistributionTenantResponse.Builder invalidationList(Consumer<InvalidationList.Builder> invalidationList) Sets the value of the InvalidationList property for this object. This is a convenience method that creates an instance of theInvalidationList.Builder
avoiding the need to create one manually viaInvalidationList.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinvalidationList(InvalidationList)
.- Parameters:
invalidationList
- a consumer that will call methods onInvalidationList.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-