Interface CacheBehaviors.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<CacheBehaviors.Builder,,- CacheBehaviors> - SdkBuilder<CacheBehaviors.Builder,,- CacheBehaviors> - SdkPojo
- Enclosing class:
- CacheBehaviors
@Mutable
@NotThreadSafe
public static interface CacheBehaviors.Builder
extends SdkPojo, CopyableBuilder<CacheBehaviors.Builder,CacheBehaviors> 
- 
Method SummaryModifier and TypeMethodDescriptionitems(Collection<CacheBehavior> items) Optional: A complex type that contains cache behaviors for this distribution.items(Consumer<CacheBehavior.Builder>... items) Optional: A complex type that contains cache behaviors for this distribution.items(CacheBehavior... items) Optional: A complex type that contains cache behaviors for this distribution.The number of cache behaviors for this distribution.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
quantityThe 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.
 
- 
itemsOptional: A complex type that contains cache behaviors for this distribution. If Quantityis0, you can omitItems.- Parameters:
- items- Optional: A complex type that contains cache behaviors for this distribution. If- Quantityis- 0, you can omit- Items.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
itemsOptional: A complex type that contains cache behaviors for this distribution. If Quantityis0, you can omitItems.- Parameters:
- items- Optional: A complex type that contains cache behaviors for this distribution. If- Quantityis- 0, you can omit- Items.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
itemsOptional: A complex type that contains cache behaviors for this distribution. If This is a convenience method that creates an instance of theQuantityis0, you can omitItems.CacheBehavior.Builderavoiding the need to create one manually viaCacheBehavior.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(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:
 
 
-