public static interface CopyDbSnapshotResponse.Builder extends RdsResponse.Builder, SdkPojo, CopyableBuilder<CopyDbSnapshotResponse.Builder,CopyDbSnapshotResponse>
Modifier and Type | Method and Description |
---|---|
default CopyDbSnapshotResponse.Builder |
dbSnapshot(Consumer<DBSnapshot.Builder> dbSnapshot)
Sets the value of the DBSnapshot property for this object.
|
CopyDbSnapshotResponse.Builder |
dbSnapshot(DBSnapshot dbSnapshot)
Sets the value of the DBSnapshot property for this object.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
CopyDbSnapshotResponse.Builder dbSnapshot(DBSnapshot dbSnapshot)
dbSnapshot
- The new value for the DBSnapshot property for this object.default CopyDbSnapshotResponse.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.