Interface ListTopicsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListTopicsResponse.Builder,,ListTopicsResponse> KafkaResponse.Builder,SdkBuilder<ListTopicsResponse.Builder,,ListTopicsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListTopicsResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe paginated results marker.topics(Collection<TopicInfo> topics) List containing topics info.topics(Consumer<TopicInfo.Builder>... topics) List containing topics info.List containing topics info.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
-
topics
List containing topics info.
- Parameters:
topics-List containing topics info.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topics
List containing topics info.
- Parameters:
topics-List containing topics info.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topics
List containing topics info.
This is a convenience method that creates an instance of theTopicInfo.Builderavoiding the need to create one manually viaTopicInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totopics(List<TopicInfo>).- Parameters:
topics- a consumer that will call methods onTopicInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The paginated results marker. When the result of a ListTopics operation is truncated, the call returns NextToken in the response. To get another batch of configurations, provide this token in your next request.
- Parameters:
nextToken-The paginated results marker. When the result of a ListTopics operation is truncated, the call returns NextToken in the response. To get another batch of configurations, provide this token in your next request.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-