StructuredPojo
, ToCopyableBuilder<DataRetrievalRule.Builder,DataRetrievalRule>
@Generated("software.amazon.awssdk:codegen") public class DataRetrievalRule extends Object implements StructuredPojo, ToCopyableBuilder<DataRetrievalRule.Builder,DataRetrievalRule>
Data retrieval policy rule.
Modifier and Type | Class | Description |
---|---|---|
static interface |
DataRetrievalRule.Builder |
Modifier and Type | Method | Description |
---|---|---|
static DataRetrievalRule.Builder |
builder() |
|
Long |
bytesPerHour() |
The maximum number of bytes that can be retrieved in an hour.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
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() |
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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.