public static interface DataRetrievalPolicy.Builder extends CopyableBuilder<DataRetrievalPolicy.Builder,DataRetrievalPolicy>
| Modifier and Type | Method and Description |
|---|---|
DataRetrievalPolicy.Builder |
rules(Collection<DataRetrievalRule> rules)
The policy rule.
|
DataRetrievalPolicy.Builder |
rules(Consumer<DataRetrievalRule.Builder>... rules)
The policy rule.
|
DataRetrievalPolicy.Builder |
rules(DataRetrievalRule... rules)
The policy rule.
|
copyapply, buildDataRetrievalPolicy.Builder rules(Collection<DataRetrievalRule> rules)
The policy rule. Although this is a list type, currently there must be only one rule, which contains a Strategy field and optionally a BytesPerHour field.
rules - The policy rule. Although this is a list type, currently there must be only one rule, which contains a
Strategy field and optionally a BytesPerHour field.DataRetrievalPolicy.Builder rules(DataRetrievalRule... rules)
The policy rule. Although this is a list type, currently there must be only one rule, which contains a Strategy field and optionally a BytesPerHour field.
rules - The policy rule. Although this is a list type, currently there must be only one rule, which contains a
Strategy field and optionally a BytesPerHour field.DataRetrievalPolicy.Builder rules(Consumer<DataRetrievalRule.Builder>... rules)
The policy rule. Although this is a list type, currently there must be only one rule, which contains a Strategy field and optionally a BytesPerHour field.
This is a convenience that creates an instance of theList.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately
and its result is passed to #rules(List) .rules - a consumer that will call methods on List.Builder #rules(List) Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.