Interface CreateDbSnapshotResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateDbSnapshotResponse.Builder,CreateDbSnapshotResponse>,RdsResponse.Builder,SdkBuilder<CreateDbSnapshotResponse.Builder,CreateDbSnapshotResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateDbSnapshotResponse
public static interface CreateDbSnapshotResponse.Builder extends RdsResponse.Builder, SdkPojo, CopyableBuilder<CreateDbSnapshotResponse.Builder,CreateDbSnapshotResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateDbSnapshotResponse.BuilderdbSnapshot(Consumer<DBSnapshot.Builder> dbSnapshot)Sets the value of the DBSnapshot property for this object.CreateDbSnapshotResponse.BuilderdbSnapshot(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
CreateDbSnapshotResponse.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 CreateDbSnapshotResponse.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.Builderavoiding the need to create one manually viaDBSnapshot.builder().When the
Consumercompletes,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)
-
-