/* * 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.elasticache.model; import java.io.Serializable; import javax.annotation.Generated; /** *
* The status of the user group update. *
* * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class UserGroupsUpdateStatus implements Serializable, Cloneable { /** ** The ID of the user group to add. *
*/ private com.amazonaws.internal.SdkInternalList* The ID of the user group to remove. *
*/ private com.amazonaws.internal.SdkInternalList* The ID of the user group to add. *
* * @return The ID of the user group to add. */ public java.util.List* The ID of the user group to add. *
* * @param userGroupIdsToAdd * The ID of the user group to add. */ public void setUserGroupIdsToAdd(java.util.Collection* The ID of the user group to add. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setUserGroupIdsToAdd(java.util.Collection)} or {@link #withUserGroupIdsToAdd(java.util.Collection)} if * you want to override the existing values. *
* * @param userGroupIdsToAdd * The ID of the user group to add. * @return Returns a reference to this object so that method calls can be chained together. */ public UserGroupsUpdateStatus withUserGroupIdsToAdd(String... userGroupIdsToAdd) { if (this.userGroupIdsToAdd == null) { setUserGroupIdsToAdd(new com.amazonaws.internal.SdkInternalList* The ID of the user group to add. *
* * @param userGroupIdsToAdd * The ID of the user group to add. * @return Returns a reference to this object so that method calls can be chained together. */ public UserGroupsUpdateStatus withUserGroupIdsToAdd(java.util.Collection* The ID of the user group to remove. *
* * @return The ID of the user group to remove. */ public java.util.List* The ID of the user group to remove. *
* * @param userGroupIdsToRemove * The ID of the user group to remove. */ public void setUserGroupIdsToRemove(java.util.Collection* The ID of the user group to remove. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setUserGroupIdsToRemove(java.util.Collection)} or {@link #withUserGroupIdsToRemove(java.util.Collection)} * if you want to override the existing values. *
* * @param userGroupIdsToRemove * The ID of the user group to remove. * @return Returns a reference to this object so that method calls can be chained together. */ public UserGroupsUpdateStatus withUserGroupIdsToRemove(String... userGroupIdsToRemove) { if (this.userGroupIdsToRemove == null) { setUserGroupIdsToRemove(new com.amazonaws.internal.SdkInternalList* The ID of the user group to remove. *
* * @param userGroupIdsToRemove * The ID of the user group to remove. * @return Returns a reference to this object so that method calls can be chained together. */ public UserGroupsUpdateStatus withUserGroupIdsToRemove(java.util.Collection