@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListGeofenceResponseEntry extends Object implements Serializable, Cloneable, StructuredPojo
Contains a list of geofences stored in a given geofence collection.
The returned geometry will always match the geometry format used when the geofence was created.
Constructor and Description |
---|
ListGeofenceResponseEntry() |
Modifier and Type | Method and Description |
---|---|
ListGeofenceResponseEntry |
addGeofencePropertiesEntry(String key,
String value)
Add a single GeofenceProperties entry
|
ListGeofenceResponseEntry |
clearGeofencePropertiesEntries()
Removes all the entries added into GeofenceProperties.
|
ListGeofenceResponseEntry |
clone() |
boolean |
equals(Object obj) |
Date |
getCreateTime()
The timestamp for when the geofence was stored in a geofence collection in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ |
String |
getGeofenceId()
The geofence identifier.
|
Map<String,String> |
getGeofenceProperties()
User defined properties of the geofence.
|
GeofenceGeometry |
getGeometry()
Contains the geofence geometry details describing a polygon or a circle.
|
String |
getStatus()
Identifies the state of the geofence.
|
Date |
getUpdateTime()
The timestamp for when the geofence was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreateTime(Date createTime)
The timestamp for when the geofence was stored in a geofence collection in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ |
void |
setGeofenceId(String geofenceId)
The geofence identifier.
|
void |
setGeofenceProperties(Map<String,String> geofenceProperties)
User defined properties of the geofence.
|
void |
setGeometry(GeofenceGeometry geometry)
Contains the geofence geometry details describing a polygon or a circle.
|
void |
setStatus(String status)
Identifies the state of the geofence.
|
void |
setUpdateTime(Date updateTime)
The timestamp for when the geofence was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ |
String |
toString()
Returns a string representation of this object.
|
ListGeofenceResponseEntry |
withCreateTime(Date createTime)
The timestamp for when the geofence was stored in a geofence collection in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ |
ListGeofenceResponseEntry |
withGeofenceId(String geofenceId)
The geofence identifier.
|
ListGeofenceResponseEntry |
withGeofenceProperties(Map<String,String> geofenceProperties)
User defined properties of the geofence.
|
ListGeofenceResponseEntry |
withGeometry(GeofenceGeometry geometry)
Contains the geofence geometry details describing a polygon or a circle.
|
ListGeofenceResponseEntry |
withStatus(String status)
Identifies the state of the geofence.
|
ListGeofenceResponseEntry |
withUpdateTime(Date updateTime)
The timestamp for when the geofence was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ |
public void setGeofenceId(String geofenceId)
The geofence identifier.
geofenceId
- The geofence identifier.public String getGeofenceId()
The geofence identifier.
public ListGeofenceResponseEntry withGeofenceId(String geofenceId)
The geofence identifier.
geofenceId
- The geofence identifier.public void setGeometry(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.public GeofenceGeometry getGeometry()
Contains the geofence geometry details describing a polygon or a circle.
public ListGeofenceResponseEntry withGeometry(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.public void setStatus(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.
public String getStatus()
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.
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.
public ListGeofenceResponseEntry withStatus(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.
public void setCreateTime(Date createTime)
The timestamp for when the geofence was stored in a geofence collection in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
createTime
- The timestamp for when the geofence was stored in a geofence collection in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
public Date getCreateTime()
The timestamp for when the geofence was stored in a geofence collection in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
YYYY-MM-DDThh:mm:ss.sssZ
public ListGeofenceResponseEntry withCreateTime(Date createTime)
The timestamp for when the geofence was stored in a geofence collection in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
createTime
- The timestamp for when the geofence was stored in a geofence collection in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
public void setUpdateTime(Date updateTime)
The timestamp for when the geofence was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
updateTime
- The timestamp for when the geofence was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
public Date getUpdateTime()
The timestamp for when the geofence was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
YYYY-MM-DDThh:mm:ss.sssZ
public ListGeofenceResponseEntry withUpdateTime(Date updateTime)
The timestamp for when the geofence was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
updateTime
- The timestamp for when the geofence was last updated in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ
public Map<String,String> getGeofenceProperties()
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"
Format: "key" : "value"
public void setGeofenceProperties(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"
public ListGeofenceResponseEntry withGeofenceProperties(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"
public ListGeofenceResponseEntry addGeofencePropertiesEntry(String key, String value)
public ListGeofenceResponseEntry clearGeofencePropertiesEntries()
public String toString()
toString
in class Object
Object.toString()
public ListGeofenceResponseEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.