Interface ModifyDbSubnetGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ModifyDbSubnetGroupResponse.Builder,
,ModifyDbSubnetGroupResponse> RdsResponse.Builder
,SdkBuilder<ModifyDbSubnetGroupResponse.Builder,
,ModifyDbSubnetGroupResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ModifyDbSubnetGroupResponse
public static interface ModifyDbSubnetGroupResponse.Builder
extends RdsResponse.Builder, SdkPojo, CopyableBuilder<ModifyDbSubnetGroupResponse.Builder,ModifyDbSubnetGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondbSubnetGroup
(Consumer<DBSubnetGroup.Builder> dbSubnetGroup) Sets the value of the DBSubnetGroup property for this object.dbSubnetGroup
(DBSubnetGroup dbSubnetGroup) Sets the value of the DBSubnetGroup 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
-
dbSubnetGroup
Sets the value of the DBSubnetGroup property for this object.- Parameters:
dbSubnetGroup
- The new value for the DBSubnetGroup property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbSubnetGroup
default ModifyDbSubnetGroupResponse.Builder dbSubnetGroup(Consumer<DBSubnetGroup.Builder> dbSubnetGroup) Sets the value of the DBSubnetGroup property for this object. This is a convenience method that creates an instance of theDBSubnetGroup.Builder
avoiding the need to create one manually viaDBSubnetGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todbSubnetGroup(DBSubnetGroup)
.- Parameters:
dbSubnetGroup
- a consumer that will call methods onDBSubnetGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-