Interface ListGeofencesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListGeofencesResponse.Builder,ListGeofencesResponse>,LocationResponse.Builder,SdkBuilder<ListGeofencesResponse.Builder,ListGeofencesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListGeofencesResponse
public static interface ListGeofencesResponse.Builder extends LocationResponse.Builder, SdkPojo, CopyableBuilder<ListGeofencesResponse.Builder,ListGeofencesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListGeofencesResponse.Builderentries(Collection<ListGeofenceResponseEntry> entries)Contains a list of geofences stored in the geofence collection.ListGeofencesResponse.Builderentries(Consumer<ListGeofenceResponseEntry.Builder>... entries)Contains a list of geofences stored in the geofence collection.ListGeofencesResponse.Builderentries(ListGeofenceResponseEntry... entries)Contains a list of geofences stored in the geofence collection.ListGeofencesResponse.BuildernextToken(String nextToken)A pagination token indicating there are additional pages available.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.location.model.LocationResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
entries
ListGeofencesResponse.Builder entries(Collection<ListGeofenceResponseEntry> entries)
Contains a list of geofences stored in the geofence collection.
- Parameters:
entries- Contains a list of geofences stored in the geofence collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
ListGeofencesResponse.Builder entries(ListGeofenceResponseEntry... entries)
Contains a list of geofences stored in the geofence collection.
- Parameters:
entries- Contains a list of geofences stored in the geofence collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
ListGeofencesResponse.Builder entries(Consumer<ListGeofenceResponseEntry.Builder>... entries)
Contains a list of geofences stored in the geofence collection.
This is a convenience method that creates an instance of theListGeofenceResponseEntry.Builderavoiding the need to create one manually viaListGeofenceResponseEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#entries(List.) - Parameters:
entries- a consumer that will call methods onListGeofenceResponseEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#entries(java.util.Collection)
-
nextToken
ListGeofencesResponse.Builder nextToken(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-