/** * <p> * A list of the cache node IDs which need to be rebooted for parameter changes to be applied. A node ID is a * numeric identifier (0001, 0002, etc.). * </p> * * @param cacheNodeIdsToReboot * A list of the cache node IDs which need to be rebooted for parameter changes to be applied. A node ID is a * numeric identifier (0001, 0002, etc.). * @return Returns a reference to this object so that method calls can be chained together. */ public CacheParameterGroupStatus withCacheNodeIdsToReboot(java.util.Collection<String> cacheNodeIdsToReboot) { setCacheNodeIdsToReboot(cacheNodeIdsToReboot); return this; }
/** * <p> * A list of the cache node IDs which need to be rebooted for parameter changes to be applied. A node ID is a * numeric identifier (0001, 0002, etc.). * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setCacheNodeIdsToReboot(java.util.Collection)} or {@link #withCacheNodeIdsToReboot(java.util.Collection)} * if you want to override the existing values. * </p> * * @param cacheNodeIdsToReboot * A list of the cache node IDs which need to be rebooted for parameter changes to be applied. A node ID is a * numeric identifier (0001, 0002, etc.). * @return Returns a reference to this object so that method calls can be chained together. */ public CacheParameterGroupStatus withCacheNodeIdsToReboot(String... cacheNodeIdsToReboot) { if (this.cacheNodeIdsToReboot == null) { setCacheNodeIdsToReboot(new com.amazonaws.internal.SdkInternalList<String>(cacheNodeIdsToReboot.length)); } for (String ele : cacheNodeIdsToReboot) { this.cacheNodeIdsToReboot.add(ele); } return this; }
/** * <p> * A list of the cache node IDs which need to be rebooted for parameter changes to be applied. A node ID is a * numeric identifier (0001, 0002, etc.). * </p> * * @param cacheNodeIdsToReboot * A list of the cache node IDs which need to be rebooted for parameter changes to be applied. A node ID is a * numeric identifier (0001, 0002, etc.). * @return Returns a reference to this object so that method calls can be chained together. */ public CacheParameterGroupStatus withCacheNodeIdsToReboot(java.util.Collection<String> cacheNodeIdsToReboot) { setCacheNodeIdsToReboot(cacheNodeIdsToReboot); return this; }
/** * <p> * A list of the cache node IDs which need to be rebooted for parameter changes to be applied. A node ID is a * numeric identifier (0001, 0002, etc.). * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setCacheNodeIdsToReboot(java.util.Collection)} or {@link #withCacheNodeIdsToReboot(java.util.Collection)} * if you want to override the existing values. * </p> * * @param cacheNodeIdsToReboot * A list of the cache node IDs which need to be rebooted for parameter changes to be applied. A node ID is a * numeric identifier (0001, 0002, etc.). * @return Returns a reference to this object so that method calls can be chained together. */ public CacheParameterGroupStatus withCacheNodeIdsToReboot(String... cacheNodeIdsToReboot) { if (this.cacheNodeIdsToReboot == null) { setCacheNodeIdsToReboot(new com.amazonaws.internal.SdkInternalList<String>(cacheNodeIdsToReboot.length)); } for (String ele : cacheNodeIdsToReboot) { this.cacheNodeIdsToReboot.add(ele); } return this; }