Interface DataRetrievalRule.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DataRetrievalRule.Builder,DataRetrievalRule>,SdkBuilder<DataRetrievalRule.Builder,DataRetrievalRule>,SdkPojo
- Enclosing class:
- DataRetrievalRule
public static interface DataRetrievalRule.Builder extends SdkPojo, CopyableBuilder<DataRetrievalRule.Builder,DataRetrievalRule>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataRetrievalRule.BuilderbytesPerHour(Long bytesPerHour)The maximum number of bytes that can be retrieved in an hour.DataRetrievalRule.Builderstrategy(String strategy)The type of data retrieval policy to set.-
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, sdkFields
-
-
-
-
Method Detail
-
strategy
DataRetrievalRule.Builder strategy(String strategy)
The type of data retrieval policy to set.
Valid values: BytesPerHour|FreeTier|None
- Parameters:
strategy- The type of data retrieval policy to set.Valid values: BytesPerHour|FreeTier|None
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bytesPerHour
DataRetrievalRule.Builder bytesPerHour(Long bytesPerHour)
The maximum number of bytes that can be retrieved in an hour.
This field is required only if the value of the Strategy field is
BytesPerHour. Your PUT operation will be rejected if the Strategy field is not set toBytesPerHourand you set this field.- Parameters:
bytesPerHour- The maximum number of bytes that can be retrieved in an hour.This field is required only if the value of the Strategy field is
BytesPerHour. Your PUT operation will be rejected if the Strategy field is not set toBytesPerHourand you set this field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-