Interface BatchPutGeofenceRequestEntry.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BatchPutGeofenceRequestEntry.Builder,BatchPutGeofenceRequestEntry>,SdkBuilder<BatchPutGeofenceRequestEntry.Builder,BatchPutGeofenceRequestEntry>,SdkPojo
- Enclosing class:
- BatchPutGeofenceRequestEntry
public static interface BatchPutGeofenceRequestEntry.Builder extends SdkPojo, CopyableBuilder<BatchPutGeofenceRequestEntry.Builder,BatchPutGeofenceRequestEntry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BatchPutGeofenceRequestEntry.BuildergeofenceId(String geofenceId)The identifier for the geofence to be stored in a given geofence collection.BatchPutGeofenceRequestEntry.BuildergeofenceProperties(Map<String,String> geofenceProperties)Associates one of more properties with the geofence.default BatchPutGeofenceRequestEntry.Buildergeometry(Consumer<GeofenceGeometry.Builder> geometry)Contains the details to specify the position of the geofence.BatchPutGeofenceRequestEntry.Buildergeometry(GeofenceGeometry geometry)Contains the details to specify the position of the geofence.-
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
-
geofenceId
BatchPutGeofenceRequestEntry.Builder geofenceId(String geofenceId)
The identifier for the geofence to be stored in a given geofence collection.
- Parameters:
geofenceId- The identifier for the geofence to be stored in a given geofence collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
geometry
BatchPutGeofenceRequestEntry.Builder geometry(GeofenceGeometry geometry)
Contains the details to specify the position of the geofence. Can be a polygon, a circle or a polygon encoded in Geobuf format. Including multiple selections will return a validation error.
The geofence polygon format supports a maximum of 1,000 vertices. The Geofence geobuf format supports a maximum of 100,000 vertices.
- Parameters:
geometry- Contains the details to specify the position of the geofence. Can be a polygon, a circle or a polygon encoded in Geobuf format. Including multiple selections will return a validation error.The geofence polygon format supports a maximum of 1,000 vertices. The Geofence geobuf format supports a maximum of 100,000 vertices.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
geometry
default BatchPutGeofenceRequestEntry.Builder geometry(Consumer<GeofenceGeometry.Builder> geometry)
Contains the details to specify the position of the geofence. Can be a polygon, a circle or a polygon encoded in Geobuf format. Including multiple selections will return a validation error.
This is a convenience method that creates an instance of theThe geofence polygon format supports a maximum of 1,000 vertices. The Geofence geobuf format supports a maximum of 100,000 vertices.
GeofenceGeometry.Builderavoiding the need to create one manually viaGeofenceGeometry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togeometry(GeofenceGeometry).- Parameters:
geometry- a consumer that will call methods onGeofenceGeometry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
geometry(GeofenceGeometry)
-
geofenceProperties
BatchPutGeofenceRequestEntry.Builder geofenceProperties(Map<String,String> geofenceProperties)
Associates one of more properties with the geofence. A property is a key-value pair stored with the geofence and added to any geofence event triggered with that geofence.
Format:
"key" : "value"- Parameters:
geofenceProperties- Associates one of more properties with the geofence. A property is a key-value pair stored with the geofence and added to any geofence event triggered with that geofence.Format:
"key" : "value"- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-