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 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

      Invalidation.Builder status(String 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 is Completed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createTime

      Invalidation.Builder createTime(Instant 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

      Invalidation.Builder invalidationBatch(InvalidationBatch 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 the InvalidationBatch.Builder avoiding the need to create one manually via InvalidationBatch.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to invalidationBatch(InvalidationBatch).

      Parameters:
      invalidationBatch - a consumer that will call methods on InvalidationBatch.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: