Interface ListTopicReassignmentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListTopicReassignmentsResponse.Builder,,ListTopicReassignmentsResponse> KafkaResponse.Builder,SdkBuilder<ListTopicReassignmentsResponse.Builder,,ListTopicReassignmentsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListTopicReassignmentsResponse
@Mutable
@NotThreadSafe
public static interface ListTopicReassignmentsResponse.Builder
extends KafkaResponse.Builder, SdkPojo, CopyableBuilder<ListTopicReassignmentsResponse.Builder,ListTopicReassignmentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf the response is truncated, it returns a nextToken.reassignments(Collection<TopicReassignmentInfo> reassignments) A list of topic reassignment operation summaries.reassignments(Consumer<TopicReassignmentInfo.Builder>... reassignments) A list of topic reassignment operation summaries.reassignments(TopicReassignmentInfo... reassignments) A list of topic reassignment operation summaries.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 is truncated, it returns a nextToken. Send this in the subsequent request to get the remaining results.
- Parameters:
nextToken- If the response is truncated, it returns a nextToken. Send this in the subsequent request to get the remaining results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reassignments
ListTopicReassignmentsResponse.Builder reassignments(Collection<TopicReassignmentInfo> reassignments) A list of topic reassignment operation summaries.
- Parameters:
reassignments- A list of topic reassignment operation summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reassignments
A list of topic reassignment operation summaries.
- Parameters:
reassignments- A list of topic reassignment operation summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reassignments
ListTopicReassignmentsResponse.Builder reassignments(Consumer<TopicReassignmentInfo.Builder>... reassignments) A list of topic reassignment operation summaries.
This is a convenience method that creates an instance of theTopicReassignmentInfo.Builderavoiding the need to create one manually viaTopicReassignmentInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreassignments(List<TopicReassignmentInfo>).- Parameters:
reassignments- a consumer that will call methods onTopicReassignmentInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-