@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 |
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.
|
GeofenceGeometry |
getGeometry()
Contains the polygon 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 |
setGeometry(GeofenceGeometry geometry)
Contains the polygon 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 |
withGeometry(GeofenceGeometry geometry)
Contains the polygon 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 polygon details to specify the position of the geofence.
Each geofence polygon can have a maximum of 1,000 vertices.
geometry
- Contains the polygon details to specify the position of the geofence. Each geofence polygon can have a maximum of 1,000 vertices.
public GeofenceGeometry getGeometry()
Contains the polygon details to specify the position of the geofence.
Each geofence polygon can have a maximum of 1,000 vertices.
Each geofence polygon can have a maximum of 1,000 vertices.
public PutGeofenceRequest withGeometry(GeofenceGeometry geometry)
Contains the polygon details to specify the position of the geofence.
Each geofence polygon can have a maximum of 1,000 vertices.
geometry
- Contains the polygon details to specify the position of the geofence. Each geofence polygon can have a maximum of 1,000 vertices.
public String toString()
toString
in class Object
Object.toString()
public PutGeofenceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()