Interface DescribeReplicationTasksResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeReplicationTasksResponse.Builder,
,DescribeReplicationTasksResponse> DatabaseMigrationResponse.Builder
,SdkBuilder<DescribeReplicationTasksResponse.Builder,
,DescribeReplicationTasksResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeReplicationTasksResponse
@Mutable
@NotThreadSafe
public static interface DescribeReplicationTasksResponse.Builder
extends DatabaseMigrationResponse.Builder, SdkPojo, CopyableBuilder<DescribeReplicationTasksResponse.Builder,DescribeReplicationTasksResponse>
-
Method Summary
Modifier and TypeMethodDescriptionAn optional pagination token provided by a previous request.replicationTasks
(Collection<ReplicationTask> replicationTasks) A description of the replication tasks.replicationTasks
(Consumer<ReplicationTask.Builder>... replicationTasks) A description of the replication tasks.replicationTasks
(ReplicationTask... replicationTasks) A description of the replication tasks.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
marker
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.- Parameters:
marker
- An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified byMaxRecords
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationTasks
DescribeReplicationTasksResponse.Builder replicationTasks(Collection<ReplicationTask> replicationTasks) A description of the replication tasks.
- Parameters:
replicationTasks
- A description of the replication tasks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationTasks
A description of the replication tasks.
- Parameters:
replicationTasks
- A description of the replication tasks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationTasks
DescribeReplicationTasksResponse.Builder replicationTasks(Consumer<ReplicationTask.Builder>... replicationTasks) A description of the replication tasks.
This is a convenience method that creates an instance of theReplicationTask.Builder
avoiding the need to create one manually viaReplicationTask.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreplicationTasks(List<ReplicationTask>)
.- Parameters:
replicationTasks
- a consumer that will call methods onReplicationTask.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-