/** * <p> * The user-supplied name of a final cluster snapshot. This is the unique name that identifies the snapshot. * ElastiCache creates the snapshot, and then deletes the cluster immediately afterward. * </p> * * @param finalSnapshotIdentifier * The user-supplied name of a final cluster snapshot. This is the unique name that identifies the snapshot. * ElastiCache creates the snapshot, and then deletes the cluster immediately afterward. * @return Returns a reference to this object so that method calls can be chained together. */ public DeleteCacheClusterRequest withFinalSnapshotIdentifier(String finalSnapshotIdentifier) { setFinalSnapshotIdentifier(finalSnapshotIdentifier); return this; }
/** * <p> * The user-supplied name of a final cluster snapshot. This is the unique name that identifies the snapshot. * ElastiCache creates the snapshot, and then deletes the cluster immediately afterward. * </p> * * @param finalSnapshotIdentifier * The user-supplied name of a final cluster snapshot. This is the unique name that identifies the snapshot. * ElastiCache creates the snapshot, and then deletes the cluster immediately afterward. * @return Returns a reference to this object so that method calls can be chained together. */ public DeleteCacheClusterRequest withFinalSnapshotIdentifier(String finalSnapshotIdentifier) { setFinalSnapshotIdentifier(finalSnapshotIdentifier); return this; }