public static interface Restrictions.Builder extends CopyableBuilder<Restrictions.Builder,Restrictions>
| Modifier and Type | Method and Description |
|---|---|
default Restrictions.Builder |
geoRestriction(Consumer<GeoRestriction.Builder> geoRestriction)
Sets the value of the GeoRestriction property for this object.
|
Restrictions.Builder |
geoRestriction(GeoRestriction geoRestriction)
Sets the value of the GeoRestriction property for this object.
|
copyapply, buildRestrictions.Builder geoRestriction(GeoRestriction geoRestriction)
geoRestriction - The new value for the GeoRestriction property for this object.default Restrictions.Builder geoRestriction(Consumer<GeoRestriction.Builder> geoRestriction)
GeoRestriction.Builder avoiding the need to
create one manually via GeoRestriction.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to geoRestriction(GeoRestriction).geoRestriction - a consumer that will call methods on GeoRestriction.BuildergeoRestriction(GeoRestriction)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.