Interface ListReplicatorsResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<ListReplicatorsResponse.Builder,,ListReplicatorsResponse> KafkaResponse.Builder,SdkBuilder<ListReplicatorsResponse.Builder,,ListReplicatorsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 ListReplicatorsResponse
@Mutable
@NotThreadSafe
public static interface ListReplicatorsResponse.Builder
extends KafkaResponse.Builder, SdkPojo, CopyableBuilder<ListReplicatorsResponse.Builder,ListReplicatorsResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptionIf the response of ListReplicators is truncated, it returns a NextToken in the response.replicators(Collection<ReplicatorSummary> replicators) List containing information of each of the replicators in the account.replicators(Consumer<ReplicatorSummary.Builder>... replicators) List containing information of each of the replicators in the account.replicators(ReplicatorSummary... replicators) List containing information of each of the replicators in the account.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kafka.model.KafkaResponse.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
- 
nextToken
If the response of ListReplicators is truncated, it returns a NextToken in the response. This NextToken should be sent in the subsequent request to ListReplicators.
- Parameters:
 nextToken- If the response of ListReplicators is truncated, it returns a NextToken in the response. This NextToken should be sent in the subsequent request to ListReplicators.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
replicators
List containing information of each of the replicators in the account.
- Parameters:
 replicators- List containing information of each of the replicators in the account.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
replicators
List containing information of each of the replicators in the account.
- Parameters:
 replicators- List containing information of each of the replicators in the account.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
replicators
List containing information of each of the replicators in the account.
This is a convenience method that creates an instance of theReplicatorSummary.Builderavoiding the need to create one manually viaReplicatorSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreplicators(List<ReplicatorSummary>).- Parameters:
 replicators- a consumer that will call methods onReplicatorSummary.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -