/** * <p> * A list of cache node IDs that are being removed (or will be removed) from the cluster. A node ID is a 4-digit * numeric identifier (0001, 0002, etc.). * </p> * * @param cacheNodeIdsToRemove * A list of cache node IDs that are being removed (or will be removed) from the cluster. A node ID is a * 4-digit numeric identifier (0001, 0002, etc.). * @return Returns a reference to this object so that method calls can be chained together. */ public PendingModifiedValues withCacheNodeIdsToRemove(java.util.Collection<String> cacheNodeIdsToRemove) { setCacheNodeIdsToRemove(cacheNodeIdsToRemove); return this; }
/** * <p> * A list of cache node IDs that are being removed (or will be removed) from the cluster. A node ID is a 4-digit * numeric identifier (0001, 0002, etc.). * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setCacheNodeIdsToRemove(java.util.Collection)} or {@link #withCacheNodeIdsToRemove(java.util.Collection)} * if you want to override the existing values. * </p> * * @param cacheNodeIdsToRemove * A list of cache node IDs that are being removed (or will be removed) from the cluster. A node ID is a * 4-digit numeric identifier (0001, 0002, etc.). * @return Returns a reference to this object so that method calls can be chained together. */ public PendingModifiedValues withCacheNodeIdsToRemove(String... cacheNodeIdsToRemove) { if (this.cacheNodeIdsToRemove == null) { setCacheNodeIdsToRemove(new com.amazonaws.internal.SdkInternalList<String>(cacheNodeIdsToRemove.length)); } for (String ele : cacheNodeIdsToRemove) { this.cacheNodeIdsToRemove.add(ele); } return this; }
/** * <p> * A list of cache node IDs that are being removed (or will be removed) from the cluster. A node ID is a 4-digit * numeric identifier (0001, 0002, etc.). * </p> * * @param cacheNodeIdsToRemove * A list of cache node IDs that are being removed (or will be removed) from the cluster. A node ID is a * 4-digit numeric identifier (0001, 0002, etc.). * @return Returns a reference to this object so that method calls can be chained together. */ public PendingModifiedValues withCacheNodeIdsToRemove(java.util.Collection<String> cacheNodeIdsToRemove) { setCacheNodeIdsToRemove(cacheNodeIdsToRemove); return this; }
/** * <p> * A list of cache node IDs that are being removed (or will be removed) from the cluster. A node ID is a 4-digit * numeric identifier (0001, 0002, etc.). * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setCacheNodeIdsToRemove(java.util.Collection)} or {@link #withCacheNodeIdsToRemove(java.util.Collection)} * if you want to override the existing values. * </p> * * @param cacheNodeIdsToRemove * A list of cache node IDs that are being removed (or will be removed) from the cluster. A node ID is a * 4-digit numeric identifier (0001, 0002, etc.). * @return Returns a reference to this object so that method calls can be chained together. */ public PendingModifiedValues withCacheNodeIdsToRemove(String... cacheNodeIdsToRemove) { if (this.cacheNodeIdsToRemove == null) { setCacheNodeIdsToRemove(new com.amazonaws.internal.SdkInternalList<String>(cacheNodeIdsToRemove.length)); } for (String ele : cacheNodeIdsToRemove) { this.cacheNodeIdsToRemove.add(ele); } return this; }