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.BuildernextToken(String nextToken)If the response of ListReplicators is truncated, it returns a NextToken in the response.ListReplicatorsResponse.Builderreplicators(Collection<ReplicatorSummary> replicators)List containing information of each of the replicators in the account.ListReplicatorsResponse.Builderreplicators(Consumer<ReplicatorSummary.Builder>... replicators)List containing information of each of the replicators in the account.ListReplicatorsResponse.Builderreplicators(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.Builderavoiding the need to create one manually viaReplicatorSummary.builder().When the
Consumercompletes,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)
-
-