Interface ModifyDbSnapshotAttributeResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ModifyDbSnapshotAttributeResponse.Builder,
,ModifyDbSnapshotAttributeResponse> RdsResponse.Builder
,SdkBuilder<ModifyDbSnapshotAttributeResponse.Builder,
,ModifyDbSnapshotAttributeResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ModifyDbSnapshotAttributeResponse
public static interface ModifyDbSnapshotAttributeResponse.Builder
extends RdsResponse.Builder, SdkPojo, CopyableBuilder<ModifyDbSnapshotAttributeResponse.Builder,ModifyDbSnapshotAttributeResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondbSnapshotAttributesResult
(Consumer<DBSnapshotAttributesResult.Builder> dbSnapshotAttributesResult) Sets the value of the DBSnapshotAttributesResult property for this object.dbSnapshotAttributesResult
(DBSnapshotAttributesResult dbSnapshotAttributesResult) Sets the value of the DBSnapshotAttributesResult 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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
dbSnapshotAttributesResult
ModifyDbSnapshotAttributeResponse.Builder dbSnapshotAttributesResult(DBSnapshotAttributesResult dbSnapshotAttributesResult) Sets the value of the DBSnapshotAttributesResult property for this object.- Parameters:
dbSnapshotAttributesResult
- The new value for the DBSnapshotAttributesResult property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbSnapshotAttributesResult
default ModifyDbSnapshotAttributeResponse.Builder dbSnapshotAttributesResult(Consumer<DBSnapshotAttributesResult.Builder> dbSnapshotAttributesResult) Sets the value of the DBSnapshotAttributesResult property for this object. This is a convenience method that creates an instance of theDBSnapshotAttributesResult.Builder
avoiding the need to create one manually viaDBSnapshotAttributesResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todbSnapshotAttributesResult(DBSnapshotAttributesResult)
.- Parameters:
dbSnapshotAttributesResult
- a consumer that will call methods onDBSnapshotAttributesResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-