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.Buildercountry(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.BuildergpsPoint(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaSetDimension.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaGPSPointDimension.builder().When the
Consumercompletes,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:
-