Interface CopyDbSnapshotResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CopyDbSnapshotResponse.Builder,CopyDbSnapshotResponse>
,RdsResponse.Builder
,SdkBuilder<CopyDbSnapshotResponse.Builder,CopyDbSnapshotResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- CopyDbSnapshotResponse
public static interface CopyDbSnapshotResponse.Builder extends RdsResponse.Builder, SdkPojo, CopyableBuilder<CopyDbSnapshotResponse.Builder,CopyDbSnapshotResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.rds.model.RdsResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
dbSnapshot
CopyDbSnapshotResponse.Builder dbSnapshot(DBSnapshot dbSnapshot)
Sets the value of the DBSnapshot property for this object.- Parameters:
dbSnapshot
- The new value for the DBSnapshot property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbSnapshot
default CopyDbSnapshotResponse.Builder dbSnapshot(Consumer<DBSnapshot.Builder> dbSnapshot)
Sets the value of the DBSnapshot property for this object. This is a convenience method that creates an instance of theDBSnapshot.Builder
avoiding the need to create one manually viaDBSnapshot.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todbSnapshot(DBSnapshot)
.- Parameters:
dbSnapshot
- a consumer that will call methods onDBSnapshot.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
dbSnapshot(DBSnapshot)
-
-