Interface CacheBehaviors.Builder

All Superinterfaces:
Buildable, CopyableBuilder<CacheBehaviors.Builder,CacheBehaviors>, SdkBuilder<CacheBehaviors.Builder,CacheBehaviors>, SdkPojo
Enclosing class:
CacheBehaviors

public static interface CacheBehaviors.Builder extends SdkPojo, CopyableBuilder<CacheBehaviors.Builder,CacheBehaviors>
  • Method Details

    • quantity

      CacheBehaviors.Builder quantity(Integer quantity)

      The number of cache behaviors for this distribution.

      Parameters:
      quantity - The number of cache behaviors for this distribution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items.

      Parameters:
      items - Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items.

      Parameters:
      items - Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items.

      This is a convenience method that creates an instance of the CacheBehavior.Builder avoiding the need to create one manually via CacheBehavior.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to items(List<CacheBehavior>).

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