Interface ModifyReplicationSubnetGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ModifyReplicationSubnetGroupResponse.Builder,
,ModifyReplicationSubnetGroupResponse> DatabaseMigrationResponse.Builder
,SdkBuilder<ModifyReplicationSubnetGroupResponse.Builder,
,ModifyReplicationSubnetGroupResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ModifyReplicationSubnetGroupResponse
public static interface ModifyReplicationSubnetGroupResponse.Builder
extends DatabaseMigrationResponse.Builder, SdkPojo, CopyableBuilder<ModifyReplicationSubnetGroupResponse.Builder,ModifyReplicationSubnetGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptionreplicationSubnetGroup
(Consumer<ReplicationSubnetGroup.Builder> replicationSubnetGroup) The modified replication subnet group.replicationSubnetGroup
(ReplicationSubnetGroup replicationSubnetGroup) The modified replication subnet group.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.databasemigration.model.DatabaseMigrationResponse.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
-
replicationSubnetGroup
ModifyReplicationSubnetGroupResponse.Builder replicationSubnetGroup(ReplicationSubnetGroup replicationSubnetGroup) The modified replication subnet group.
- Parameters:
replicationSubnetGroup
- The modified replication subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationSubnetGroup
default ModifyReplicationSubnetGroupResponse.Builder replicationSubnetGroup(Consumer<ReplicationSubnetGroup.Builder> replicationSubnetGroup) The modified replication subnet group.
This is a convenience method that creates an instance of theReplicationSubnetGroup.Builder
avoiding the need to create one manually viaReplicationSubnetGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreplicationSubnetGroup(ReplicationSubnetGroup)
.- Parameters:
replicationSubnetGroup
- a consumer that will call methods onReplicationSubnetGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-