@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListGeofencesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListGeofencesResult() |
Modifier and Type | Method and Description |
---|---|
ListGeofencesResult |
clone() |
boolean |
equals(Object obj) |
List<ListGeofenceResponseEntry> |
getEntries()
Contains a list of geofences stored in the geofence collection.
|
String |
getNextToken()
A pagination token indicating there are additional pages available.
|
int |
hashCode() |
void |
setEntries(Collection<ListGeofenceResponseEntry> entries)
Contains a list of geofences stored in the geofence collection.
|
void |
setNextToken(String nextToken)
A pagination token indicating there are additional pages available.
|
String |
toString()
Returns a string representation of this object.
|
ListGeofencesResult |
withEntries(Collection<ListGeofenceResponseEntry> entries)
Contains a list of geofences stored in the geofence collection.
|
ListGeofencesResult |
withEntries(ListGeofenceResponseEntry... entries)
Contains a list of geofences stored in the geofence collection.
|
ListGeofencesResult |
withNextToken(String nextToken)
A pagination token indicating there are additional pages available.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ListGeofenceResponseEntry> getEntries()
Contains a list of geofences stored in the geofence collection.
public void setEntries(Collection<ListGeofenceResponseEntry> entries)
Contains a list of geofences stored in the geofence collection.
entries
- Contains a list of geofences stored in the geofence collection.public ListGeofencesResult withEntries(ListGeofenceResponseEntry... entries)
Contains a list of geofences stored in the geofence collection.
NOTE: This method appends the values to the existing list (if any). Use
setEntries(java.util.Collection)
or withEntries(java.util.Collection)
if you want to override
the existing values.
entries
- Contains a list of geofences stored in the geofence collection.public ListGeofencesResult withEntries(Collection<ListGeofenceResponseEntry> entries)
Contains a list of geofences stored in the geofence collection.
entries
- Contains a list of geofences stored in the geofence collection.public void setNextToken(String nextToken)
A pagination token indicating there are additional pages available. You can use the token in a following request to fetch the next set of results.
nextToken
- A pagination token indicating there are additional pages available. You can use the token in a following
request to fetch the next set of results.public String getNextToken()
A pagination token indicating there are additional pages available. You can use the token in a following request to fetch the next set of results.
public ListGeofencesResult withNextToken(String nextToken)
A pagination token indicating there are additional pages available. You can use the token in a following request to fetch the next set of results.
nextToken
- A pagination token indicating there are additional pages available. You can use the token in a following
request to fetch the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListGeofencesResult clone()