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
Modifier and TypeMethodDescriptionentries(Collection<ListGeofenceResponseEntry> entries) Contains a list of geofences stored in the geofence collection.entries(Consumer<ListGeofenceResponseEntry.Builder>... entries) Contains a list of geofences stored in the geofence collection.entries(ListGeofenceResponseEntry... entries) Contains a list of geofences stored in the geofence collection.A pagination token indicating there are additional pages available.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.location.model.LocationResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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 toentries(List<ListGeofenceResponseEntry>).- 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:
-
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.
-