@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutGeofenceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutGeofenceRequest() |
Modifier and Type | Method and Description |
---|---|
PutGeofenceRequest |
addGeofencePropertiesEntry(String key,
String value)
Add a single GeofenceProperties entry
|
PutGeofenceRequest |
clearGeofencePropertiesEntries()
Removes all the entries added into GeofenceProperties.
|
PutGeofenceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCollectionName()
The geofence collection to store the geofence in.
|
String |
getGeofenceId()
An identifier for the geofence.
|
Map<String,String> |
getGeofenceProperties()
Associates one of more properties with the geofence.
|
GeofenceGeometry |
getGeometry()
Contains the details to specify the position of the geofence.
|
int |
hashCode() |
void |
setCollectionName(String collectionName)
The geofence collection to store the geofence in.
|
void |
setGeofenceId(String geofenceId)
An identifier for the geofence.
|
void |
setGeofenceProperties(Map<String,String> geofenceProperties)
Associates one of more properties with the geofence.
|
void |
setGeometry(GeofenceGeometry geometry)
Contains the details to specify the position of the geofence.
|
String |
toString()
Returns a string representation of this object.
|
PutGeofenceRequest |
withCollectionName(String collectionName)
The geofence collection to store the geofence in.
|
PutGeofenceRequest |
withGeofenceId(String geofenceId)
An identifier for the geofence.
|
PutGeofenceRequest |
withGeofenceProperties(Map<String,String> geofenceProperties)
Associates one of more properties with the geofence.
|
PutGeofenceRequest |
withGeometry(GeofenceGeometry geometry)
Contains the details to specify the position of the geofence.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setCollectionName(String collectionName)
The geofence collection to store the geofence in.
collectionName
- The geofence collection to store the geofence in.public String getCollectionName()
The geofence collection to store the geofence in.
public PutGeofenceRequest withCollectionName(String collectionName)
The geofence collection to store the geofence in.
collectionName
- The geofence collection to store the geofence in.public void setGeofenceId(String geofenceId)
An identifier for the geofence. For example, ExampleGeofence-1
.
geofenceId
- An identifier for the geofence. For example, ExampleGeofence-1
.public String getGeofenceId()
An identifier for the geofence. For example, ExampleGeofence-1
.
ExampleGeofence-1
.public PutGeofenceRequest withGeofenceId(String geofenceId)
An identifier for the geofence. For example, ExampleGeofence-1
.
geofenceId
- An identifier for the geofence. For example, ExampleGeofence-1
.public void setGeometry(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.
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.
public GeofenceGeometry getGeometry()
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.
The geofence polygon format supports a maximum of 1,000 vertices. The Geofence Geobuf format supports a maximum of 100,000 vertices.
public PutGeofenceRequest withGeometry(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.
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.
public Map<String,String> getGeofenceProperties()
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"
Format: "key" : "value"
public void setGeofenceProperties(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"
public PutGeofenceRequest withGeofenceProperties(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"
public PutGeofenceRequest addGeofencePropertiesEntry(String key, String value)
public PutGeofenceRequest clearGeofencePropertiesEntries()
public String toString()
toString
in class Object
Object.toString()
public PutGeofenceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()