public static interface SegmentLocation.Builder extends CopyableBuilder<SegmentLocation.Builder,SegmentLocation>
Modifier and Type | Method and Description |
---|---|
default SegmentLocation.Builder |
country(Consumer<SetDimension.Builder> country)
The country filter according to ISO 3166-1 Alpha-2 codes.
|
SegmentLocation.Builder |
country(SetDimension country)
The country filter according to ISO 3166-1 Alpha-2 codes.
|
copy
apply, build
SegmentLocation.Builder country(SetDimension country)
country
- The country filter according to ISO 3166-1 Alpha-2 codes.default SegmentLocation.Builder country(Consumer<SetDimension.Builder> country)
SetDimension.Builder
avoiding the need to create one manually via SetDimension.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to country(SetDimension)
.country
- a consumer that will call methods on SetDimension.Builder
country(SetDimension)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.