Interface ListReplicatorsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListReplicatorsResponse.Builder,ListReplicatorsResponse>
,KafkaResponse.Builder
,SdkBuilder<ListReplicatorsResponse.Builder,ListReplicatorsResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- ListReplicatorsResponse
public static interface ListReplicatorsResponse.Builder extends KafkaResponse.Builder, SdkPojo, CopyableBuilder<ListReplicatorsResponse.Builder,ListReplicatorsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListReplicatorsResponse.Builder
nextToken(String nextToken)
If the response of ListReplicators is truncated, it returns a NextToken in the response.ListReplicatorsResponse.Builder
replicators(Collection<ReplicatorSummary> replicators)
List containing information of each of the replicators in the account.ListReplicatorsResponse.Builder
replicators(Consumer<ReplicatorSummary.Builder>... replicators)
List containing information of each of the replicators in the account.ListReplicatorsResponse.Builder
replicators(ReplicatorSummary... replicators)
List containing information of each of the replicators in the account.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.kafka.model.KafkaResponse.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 Detail
-
nextToken
ListReplicatorsResponse.Builder nextToken(String 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
ListReplicatorsResponse.Builder replicators(Collection<ReplicatorSummary> 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
ListReplicatorsResponse.Builder replicators(ReplicatorSummary... 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
ListReplicatorsResponse.Builder replicators(Consumer<ReplicatorSummary.Builder>... replicators)
List containing information of each of the replicators in the account.
This is a convenience method that creates an instance of theReplicatorSummary.Builder
avoiding the need to create one manually viaReplicatorSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#replicators(List
.) - 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:
#replicators(java.util.Collection
)
-
-