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