Interface Invalidation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Invalidation.Builder,,Invalidation> SdkBuilder<Invalidation.Builder,,Invalidation> SdkPojo
- Enclosing class:
Invalidation
public static interface Invalidation.Builder
extends SdkPojo, CopyableBuilder<Invalidation.Builder,Invalidation>
-
Method Summary
Modifier and TypeMethodDescriptioncreateTime(Instant createTime) The date and time the invalidation request was first made.The identifier for the invalidation request.default Invalidation.BuilderinvalidationBatch(Consumer<InvalidationBatch.Builder> invalidationBatch) The current invalidation information for the batch request.invalidationBatch(InvalidationBatch invalidationBatch) The current invalidation information for the batch request.The status of the invalidation request.Methods 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, sdkFields
-
Method Details
-
id
The identifier for the invalidation request. For example:
IDFDVBD632BHDS5.- Parameters:
id- The identifier for the invalidation request. For example:IDFDVBD632BHDS5.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the invalidation request. When the invalidation batch is finished, the status is
Completed.- Parameters:
status- The status of the invalidation request. When the invalidation batch is finished, the status isCompleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createTime
The date and time the invalidation request was first made.
- Parameters:
createTime- The date and time the invalidation request was first made.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invalidationBatch
The current invalidation information for the batch request.
- Parameters:
invalidationBatch- The current invalidation information for the batch request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invalidationBatch
default Invalidation.Builder invalidationBatch(Consumer<InvalidationBatch.Builder> invalidationBatch) The current invalidation information for the batch request.
This is a convenience method that creates an instance of theInvalidationBatch.Builderavoiding the need to create one manually viaInvalidationBatch.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinvalidationBatch(InvalidationBatch).- Parameters:
invalidationBatch- a consumer that will call methods onInvalidationBatch.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-