public class BatchPutGeofenceRequestEntry
extends java.lang.Object
implements java.io.Serializable
Contains geofence details.
Constructor and Description |
---|
BatchPutGeofenceRequestEntry() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getGeofenceId()
The identifier for the geofence to be stored in a given geofence
collection.
|
GeofenceGeometry |
getGeometry()
The geometry details for the geofence.
|
int |
hashCode() |
void |
setGeofenceId(java.lang.String geofenceId)
The identifier for the geofence to be stored in a given geofence
collection.
|
void |
setGeometry(GeofenceGeometry geometry)
The geometry details for the geofence.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BatchPutGeofenceRequestEntry |
withGeofenceId(java.lang.String geofenceId)
The identifier for the geofence to be stored in a given geofence
collection.
|
BatchPutGeofenceRequestEntry |
withGeometry(GeofenceGeometry geometry)
The geometry details for the geofence.
|
public java.lang.String getGeofenceId()
The identifier for the geofence to be stored in a given geofence collection.
Constraints:
Length: 1 - 100
Pattern: ^[-._\p{L}\p{N}]+$
The identifier for the geofence to be stored in a given geofence collection.
public void setGeofenceId(java.lang.String geofenceId)
The identifier for the geofence to be stored in a given geofence collection.
Constraints:
Length: 1 - 100
Pattern: ^[-._\p{L}\p{N}]+$
geofenceId
- The identifier for the geofence to be stored in a given geofence collection.
public BatchPutGeofenceRequestEntry withGeofenceId(java.lang.String geofenceId)
The identifier for the geofence to be stored in a given geofence collection.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
Pattern: ^[-._\p{L}\p{N}]+$
geofenceId
- The identifier for the geofence to be stored in a given geofence collection.
public GeofenceGeometry getGeometry()
The geometry details for the geofence.
The geometry details for the geofence.
public void setGeometry(GeofenceGeometry geometry)
The geometry details for the geofence.
geometry
- The geometry details for the geofence.
public BatchPutGeofenceRequestEntry withGeometry(GeofenceGeometry geometry)
The geometry details for the geofence.
Returns a reference to this object so that method calls can be chained together.
geometry
- The geometry details for the geofence.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.