public static interface GetGeofenceResponse.Builder extends LocationResponse.Builder, SdkPojo, CopyableBuilder<GetGeofenceResponse.Builder,GetGeofenceResponse>
| Modifier and Type | Method and Description |
|---|---|
GetGeofenceResponse.Builder |
createTime(Instant createTime)
The timestamp for when the geofence collection was created in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ |
GetGeofenceResponse.Builder |
geofenceId(String geofenceId)
The geofence identifier.
|
GetGeofenceResponse.Builder |
geofenceProperties(Map<String,String> geofenceProperties)
User defined properties of the geofence.
|
default GetGeofenceResponse.Builder |
geometry(Consumer<GeofenceGeometry.Builder> geometry)
Contains the geofence geometry details describing a polygon or a circle.
|
GetGeofenceResponse.Builder |
geometry(GeofenceGeometry geometry)
Contains the geofence geometry details describing a polygon or a circle.
|
GetGeofenceResponse.Builder |
status(String status)
Identifies the state of the geofence.
|
GetGeofenceResponse.Builder |
updateTime(Instant updateTime)
The timestamp for when the geofence collection was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ |
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetGeofenceResponse.Builder createTime(Instant createTime)
The timestamp for when the geofence collection was created in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
createTime - The timestamp for when the geofence collection was created in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZGetGeofenceResponse.Builder geofenceId(String geofenceId)
The geofence identifier.
geofenceId - The geofence identifier.GetGeofenceResponse.Builder geofenceProperties(Map<String,String> geofenceProperties)
User defined properties of 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 - User defined properties of 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"
GetGeofenceResponse.Builder geometry(GeofenceGeometry geometry)
Contains the geofence geometry details describing a polygon or a circle.
geometry - Contains the geofence geometry details describing a polygon or a circle.default GetGeofenceResponse.Builder geometry(Consumer<GeofenceGeometry.Builder> geometry)
Contains the geofence geometry details describing a polygon or a circle.
This is a convenience method that creates an instance of theGeofenceGeometry.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)GetGeofenceResponse.Builder status(String status)
Identifies the state of the geofence. A geofence will hold one of the following states:
ACTIVE — The geofence has been indexed by the system.
PENDING — The geofence is being processed by the system.
FAILED — The geofence failed to be indexed by the system.
DELETED — The geofence has been deleted from the system index.
DELETING — The geofence is being deleted from the system index.
status - Identifies the state of the geofence. A geofence will hold one of the following states:
ACTIVE — The geofence has been indexed by the system.
PENDING — The geofence is being processed by the system.
FAILED — The geofence failed to be indexed by the system.
DELETED — The geofence has been deleted from the system index.
DELETING — The geofence is being deleted from the system index.
GetGeofenceResponse.Builder updateTime(Instant updateTime)
The timestamp for when the geofence collection was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
updateTime - The timestamp for when the geofence collection was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZCopyright © 2023. All rights reserved.