public static interface CopyDBClusterSnapshotResponse.Builder extends RDSResponse.Builder, CopyableBuilder<CopyDBClusterSnapshotResponse.Builder,CopyDBClusterSnapshotResponse>
Modifier and Type | Method and Description |
---|---|
default CopyDBClusterSnapshotResponse.Builder |
dbClusterSnapshot(Consumer<DBClusterSnapshot.Builder> dbClusterSnapshot)
Sets the value of the DBClusterSnapshot property for this object.
|
CopyDBClusterSnapshotResponse.Builder |
dbClusterSnapshot(DBClusterSnapshot dbClusterSnapshot)
Sets the value of the DBClusterSnapshot property for this object.
|
build
copy
apply, build
CopyDBClusterSnapshotResponse.Builder dbClusterSnapshot(DBClusterSnapshot dbClusterSnapshot)
dbClusterSnapshot
- The new value for the DBClusterSnapshot property for this object.default CopyDBClusterSnapshotResponse.Builder dbClusterSnapshot(Consumer<DBClusterSnapshot.Builder> dbClusterSnapshot)
DBClusterSnapshot.Builder
avoiding the need to
create one manually via DBClusterSnapshot.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to dbClusterSnapshot(DBClusterSnapshot)
.dbClusterSnapshot
- a consumer that will call methods on DBClusterSnapshot.Builder
dbClusterSnapshot(DBClusterSnapshot)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.