/** * <p> * A list of snapshot identifiers you want to modify. * </p> * * @param snapshotIdentifierList * A list of snapshot identifiers you want to modify. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchModifyClusterSnapshotsRequest withSnapshotIdentifierList(java.util.Collection<String> snapshotIdentifierList) { setSnapshotIdentifierList(snapshotIdentifierList); return this; }
/** * <p> * A list of snapshot identifiers you want to modify. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setSnapshotIdentifierList(java.util.Collection)} or * {@link #withSnapshotIdentifierList(java.util.Collection)} if you want to override the existing values. * </p> * * @param snapshotIdentifierList * A list of snapshot identifiers you want to modify. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchModifyClusterSnapshotsRequest withSnapshotIdentifierList(String... snapshotIdentifierList) { if (this.snapshotIdentifierList == null) { setSnapshotIdentifierList(new com.amazonaws.internal.SdkInternalList<String>(snapshotIdentifierList.length)); } for (String ele : snapshotIdentifierList) { this.snapshotIdentifierList.add(ele); } return this; }
/** * <p> * A list of snapshot identifiers you want to modify. * </p> * * @param snapshotIdentifierList * A list of snapshot identifiers you want to modify. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchModifyClusterSnapshotsRequest withSnapshotIdentifierList(java.util.Collection<String> snapshotIdentifierList) { setSnapshotIdentifierList(snapshotIdentifierList); return this; }
/** * <p> * A list of snapshot identifiers you want to modify. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setSnapshotIdentifierList(java.util.Collection)} or * {@link #withSnapshotIdentifierList(java.util.Collection)} if you want to override the existing values. * </p> * * @param snapshotIdentifierList * A list of snapshot identifiers you want to modify. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchModifyClusterSnapshotsRequest withSnapshotIdentifierList(String... snapshotIdentifierList) { if (this.snapshotIdentifierList == null) { setSnapshotIdentifierList(new com.amazonaws.internal.SdkInternalList<String>(snapshotIdentifierList.length)); } for (String ele : snapshotIdentifierList) { this.snapshotIdentifierList.add(ele); } return this; }