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
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, 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.