Interface DescribeDbSnapshotAttributesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeDbSnapshotAttributesResponse.Builder,,DescribeDbSnapshotAttributesResponse> RdsResponse.Builder,SdkBuilder<DescribeDbSnapshotAttributesResponse.Builder,,DescribeDbSnapshotAttributesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeDbSnapshotAttributesResponse
@Mutable
@NotThreadSafe
public static interface DescribeDbSnapshotAttributesResponse.Builder
extends RdsResponse.Builder, SdkPojo, CopyableBuilder<DescribeDbSnapshotAttributesResponse.Builder,DescribeDbSnapshotAttributesResponse>
-
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
copyMethods inherited from interface software.amazon.awssdk.services.rds.model.RdsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
dbSnapshotAttributesResult
DescribeDbSnapshotAttributesResponse.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 DescribeDbSnapshotAttributesResponse.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.Builderavoiding the need to create one manually viaDBSnapshotAttributesResult.builder().When the
Consumercompletes,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:
-