@Generated(value="software.amazon.awssdk:codegen") public final class DataRetrievalRule extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DataRetrievalRule.Builder,DataRetrievalRule>
Data retrieval policy rule.
Modifier and Type | Class and Description |
---|---|
static interface |
DataRetrievalRule.Builder |
Modifier and Type | Method and Description |
---|---|
static DataRetrievalRule.Builder |
builder() |
Long |
bytesPerHour()
The maximum number of bytes that can be retrieved in an hour.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DataRetrievalRule.Builder> |
serializableBuilderClass() |
String |
strategy()
The type of data retrieval policy to set.
|
DataRetrievalRule.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String strategy()
The type of data retrieval policy to set.
Valid values: BytesPerHour|FreeTier|None
Valid values: BytesPerHour|FreeTier|None
public 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 to BytesPerHour
and you set this field.
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 to BytesPerHour
and you set this
field.
public DataRetrievalRule.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DataRetrievalRule.Builder,DataRetrievalRule>
public static DataRetrievalRule.Builder builder()
public static Class<? extends DataRetrievalRule.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.