Interface CreateReplicationSubnetGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateReplicationSubnetGroupResponse.Builder,,CreateReplicationSubnetGroupResponse> DatabaseMigrationResponse.Builder,SdkBuilder<CreateReplicationSubnetGroupResponse.Builder,,CreateReplicationSubnetGroupResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateReplicationSubnetGroupResponse
public static interface CreateReplicationSubnetGroupResponse.Builder
extends DatabaseMigrationResponse.Builder, SdkPojo, CopyableBuilder<CreateReplicationSubnetGroupResponse.Builder,CreateReplicationSubnetGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptionreplicationSubnetGroup(Consumer<ReplicationSubnetGroup.Builder> replicationSubnetGroup) The replication subnet group that was created.replicationSubnetGroup(ReplicationSubnetGroup replicationSubnetGroup) The replication subnet group that was created.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.databasemigration.model.DatabaseMigrationResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
replicationSubnetGroup
CreateReplicationSubnetGroupResponse.Builder replicationSubnetGroup(ReplicationSubnetGroup replicationSubnetGroup) The replication subnet group that was created.
- Parameters:
replicationSubnetGroup- The replication subnet group that was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationSubnetGroup
default CreateReplicationSubnetGroupResponse.Builder replicationSubnetGroup(Consumer<ReplicationSubnetGroup.Builder> replicationSubnetGroup) The replication subnet group that was created.
This is a convenience method that creates an instance of theReplicationSubnetGroup.Builderavoiding the need to create one manually viaReplicationSubnetGroup.builder().When the
Consumercompletes,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:
-