/* * 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; /** *
* The information for a change request. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ChangeBatch implements Serializable, Cloneable { /** ** Optional: Any comments you want to include about a change batch request. *
*/ private String comment; /** ** Information about the changes to make to the record sets. *
*/ private com.amazonaws.internal.SdkInternalList* Optional: Any comments you want to include about a change batch request. *
* * @param comment * Optional: Any comments you want to include about a change batch request. */ public void setComment(String comment) { this.comment = comment; } /** ** Optional: Any comments you want to include about a change batch request. *
* * @return Optional: Any comments you want to include about a change batch request. */ public String getComment() { return this.comment; } /** ** Optional: Any comments you want to include about a change batch request. *
* * @param comment * Optional: Any comments you want to include about a change batch request. * @return Returns a reference to this object so that method calls can be chained together. */ public ChangeBatch withComment(String comment) { setComment(comment); return this; } /** ** Information about the changes to make to the record sets. *
* * @return Information about the changes to make to the record sets. */ public java.util.List* Information about the changes to make to the record sets. *
* * @param changes * Information about the changes to make to the record sets. */ public void setChanges(java.util.Collection* Information about the changes to make to the record sets. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setChanges(java.util.Collection)} or {@link #withChanges(java.util.Collection)} if you want to override * the existing values. *
* * @param changes * Information about the changes to make to the record sets. * @return Returns a reference to this object so that method calls can be chained together. */ public ChangeBatch withChanges(Change... changes) { if (this.changes == null) { setChanges(new com.amazonaws.internal.SdkInternalList* Information about the changes to make to the record sets. *
* * @param changes * Information about the changes to make to the record sets. * @return Returns a reference to this object so that method calls can be chained together. */ public ChangeBatch withChanges(java.util.Collection