public static interface BatchPutGeofenceRequestEntry.Builder extends SdkPojo, CopyableBuilder<BatchPutGeofenceRequestEntry.Builder,BatchPutGeofenceRequestEntry>
| Modifier and Type | Method and Description |
|---|---|
BatchPutGeofenceRequestEntry.Builder |
geofenceId(String geofenceId)
The identifier for the geofence to be stored in a given geofence collection.
|
BatchPutGeofenceRequestEntry.Builder |
geofenceProperties(Map<String,String> geofenceProperties)
Associates one of more properties with the geofence.
|
default BatchPutGeofenceRequestEntry.Builder |
geometry(Consumer<GeofenceGeometry.Builder> geometry)
Contains the details of the position of the geofence.
|
BatchPutGeofenceRequestEntry.Builder |
geometry(GeofenceGeometry geometry)
Contains the details of the position of the geofence.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildBatchPutGeofenceRequestEntry.Builder geofenceId(String geofenceId)
The identifier for the geofence to be stored in a given geofence collection.
geofenceId - The identifier for the geofence to be stored in a given geofence collection.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"
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"
BatchPutGeofenceRequestEntry.Builder geometry(GeofenceGeometry geometry)
Contains the details of the position of the geofence. Can be either a polygon or a circle. Including both will return a validation error.
Each geofence polygon can have a maximum of 1,000 vertices.
geometry - Contains the details of the position of the geofence. Can be either a polygon or a circle. Including
both will return a validation error. Each geofence polygon can have a maximum of 1,000 vertices.
default BatchPutGeofenceRequestEntry.Builder geometry(Consumer<GeofenceGeometry.Builder> geometry)
Contains the details of the position of the geofence. Can be either a polygon or a circle. Including both will return a validation error.
Each geofence polygon can have a maximum of 1,000 vertices.
GeofenceGeometry.Builder
avoiding the need to create one manually via GeofenceGeometry.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to geometry(GeofenceGeometry).
geometry - a consumer that will call methods on GeofenceGeometry.Buildergeometry(GeofenceGeometry)Copyright © 2023. All rights reserved.