public static interface SegmentLocation.Builder extends SdkPojo, CopyableBuilder<SegmentLocation.Builder,SegmentLocation>
Modifier and Type | Method and Description |
---|---|
default SegmentLocation.Builder |
country(Consumer<SetDimension.Builder> country)
The country or region, in ISO 3166-1 alpha-2 format.
|
SegmentLocation.Builder |
country(SetDimension country)
The country or region, in ISO 3166-1 alpha-2 format.
|
default SegmentLocation.Builder |
gpsPoint(Consumer<GPSPointDimension.Builder> gpsPoint)
The GPS Point dimension.
|
SegmentLocation.Builder |
gpsPoint(GPSPointDimension gpsPoint)
The GPS Point dimension.
|
copy
applyMutation, build
SegmentLocation.Builder country(SetDimension country)
country
- The country or region, in ISO 3166-1 alpha-2 format.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)
SegmentLocation.Builder gpsPoint(GPSPointDimension gpsPoint)
gpsPoint
- The GPS Point dimension.default SegmentLocation.Builder gpsPoint(Consumer<GPSPointDimension.Builder> gpsPoint)
GPSPointDimension.Builder
avoiding the need to create one manually via
GPSPointDimension.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to gpsPoint(GPSPointDimension)
.gpsPoint
- a consumer that will call methods on GPSPointDimension.Builder
gpsPoint(GPSPointDimension)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.