Interface SegmentLocation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SegmentLocation.Builder,
,SegmentLocation> SdkBuilder<SegmentLocation.Builder,
,SegmentLocation> SdkPojo
- Enclosing class:
SegmentLocation
public static interface SegmentLocation.Builder
extends SdkPojo, CopyableBuilder<SegmentLocation.Builder,SegmentLocation>
-
Method Summary
Modifier and TypeMethodDescriptiondefault SegmentLocation.Builder
country
(Consumer<SetDimension.Builder> country) The country or region code, in ISO 3166-1 alpha-2 format, for the segment.country
(SetDimension country) The country or region code, in ISO 3166-1 alpha-2 format, for the segment.default SegmentLocation.Builder
gpsPoint
(Consumer<GPSPointDimension.Builder> gpsPoint) The GPS location and range for the segment.gpsPoint
(GPSPointDimension gpsPoint) The GPS location and range for the segment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
country
The country or region code, in ISO 3166-1 alpha-2 format, for the segment.
- Parameters:
country
- The country or region code, in ISO 3166-1 alpha-2 format, for the segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
country
The country or region code, in ISO 3166-1 alpha-2 format, for the segment.
This is a convenience method that creates an instance of theSetDimension.Builder
avoiding the need to create one manually viaSetDimension.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocountry(SetDimension)
.- Parameters:
country
- a consumer that will call methods onSetDimension.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
gpsPoint
The GPS location and range for the segment.
- Parameters:
gpsPoint
- The GPS location and range for the segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gpsPoint
The GPS location and range for the segment.
This is a convenience method that creates an instance of theGPSPointDimension.Builder
avoiding the need to create one manually viaGPSPointDimension.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togpsPoint(GPSPointDimension)
.- Parameters:
gpsPoint
- a consumer that will call methods onGPSPointDimension.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-