/* * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ package com.amazonaws.services.geo.model; import java.io.Serializable; import com.amazonaws.AmazonWebServiceRequest; /** *
* Deletes a batch of geofences from a geofence collection. *
** This operation deletes the resource permanently. *
** The geofence collection storing the geofences to be deleted. *
*
* Constraints:
* Length: 1 - 100
* Pattern: ^[-._\w]+$
*/
private String collectionName;
/**
*
* The batch of geofences to be deleted. *
*/ private java.util.List* The geofence collection storing the geofences to be deleted. *
*
* Constraints:
* Length: 1 - 100
* Pattern: ^[-._\w]+$
*
* @return
* The geofence collection storing the geofences to be deleted. *
*/ public String getCollectionName() { return collectionName; } /** ** The geofence collection storing the geofences to be deleted. *
*
* Constraints:
* Length: 1 - 100
* Pattern: ^[-._\w]+$
*
* @param collectionName
* The geofence collection storing the geofences to be deleted. *
*/ public void setCollectionName(String collectionName) { this.collectionName = collectionName; } /** ** The geofence collection storing the geofences to be deleted. *
** Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Length: 1 - 100
* Pattern: ^[-._\w]+$
*
* @param collectionName
* The geofence collection storing the geofences to be deleted. *
* @return A reference to this updated object so that method calls can be * chained together. */ public BatchDeleteGeofenceRequest withCollectionName(String collectionName) { this.collectionName = collectionName; return this; } /** ** The batch of geofences to be deleted. *
* * @return* The batch of geofences to be deleted. *
*/ public java.util.List* The batch of geofences to be deleted. *
* * @param geofenceIds* The batch of geofences to be deleted. *
*/ public void setGeofenceIds(java.util.Collection* The batch of geofences to be deleted. *
** Returns a reference to this object so that method calls can be chained * together. * * @param geofenceIds
* The batch of geofences to be deleted. *
* @return A reference to this updated object so that method calls can be * chained together. */ public BatchDeleteGeofenceRequest withGeofenceIds(String... geofenceIds) { if (getGeofenceIds() == null) { this.geofenceIds = new java.util.ArrayList* The batch of geofences to be deleted. *
** Returns a reference to this object so that method calls can be chained * together. * * @param geofenceIds
* The batch of geofences to be deleted. *
* @return A reference to this updated object so that method calls can be * chained together. */ public BatchDeleteGeofenceRequest withGeofenceIds(java.util.Collection