/* * Copyright 2018-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.route53.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ChangeCidrCollectionRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* The UUID of the CIDR collection to update. *

*/ private String id; /** *

* A sequential counter that Amazon Route 53 sets to 1 when you create a collection and increments it by 1 each time * you update the collection. *

*

* We recommend that you use ListCidrCollection to get the current value of * CollectionVersion for the collection that you want to update, and then include that value with the * change request. This prevents Route 53 from overwriting an intervening update: *

* */ private Long collectionVersion; /** *

* Information about changes to a CIDR collection. *

*/ private com.amazonaws.internal.SdkInternalList changes; /** *

* The UUID of the CIDR collection to update. *

* * @param id * The UUID of the CIDR collection to update. */ public void setId(String id) { this.id = id; } /** *

* The UUID of the CIDR collection to update. *

* * @return The UUID of the CIDR collection to update. */ public String getId() { return this.id; } /** *

* The UUID of the CIDR collection to update. *

* * @param id * The UUID of the CIDR collection to update. * @return Returns a reference to this object so that method calls can be chained together. */ public ChangeCidrCollectionRequest withId(String id) { setId(id); return this; } /** *

* A sequential counter that Amazon Route 53 sets to 1 when you create a collection and increments it by 1 each time * you update the collection. *

*

* We recommend that you use ListCidrCollection to get the current value of * CollectionVersion for the collection that you want to update, and then include that value with the * change request. This prevents Route 53 from overwriting an intervening update: *

* * * @param collectionVersion * A sequential counter that Amazon Route 53 sets to 1 when you create a collection and increments it by 1 * each time you update the collection.

*

* We recommend that you use ListCidrCollection to get the current value of * CollectionVersion for the collection that you want to update, and then include that value * with the change request. This prevents Route 53 from overwriting an intervening update: *

*