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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SegmentLocation.Buildercountry(Consumer<SetDimension.Builder> country)The country or region code, in ISO 3166-1 alpha-2 format, for the segment.SegmentLocation.Buildercountry(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.SegmentLocation.BuildergpsPoint(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 Detail
-
country
SegmentLocation.Builder country(SetDimension 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
default SegmentLocation.Builder country(Consumer<SetDimension.Builder> 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:
country(SetDimension)
-
gpsPoint
SegmentLocation.Builder gpsPoint(GPSPointDimension 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
default SegmentLocation.Builder gpsPoint(Consumer<GPSPointDimension.Builder> 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:
gpsPoint(GPSPointDimension)
-
-