Interface ListTopicsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListTopicsResponse.Builder,,ListTopicsResponse> SdkBuilder<ListTopicsResponse.Builder,,ListTopicsResponse> SdkPojo,SdkResponse.Builder,SnsResponse.Builder
- Enclosing class:
ListTopicsResponse
public static interface ListTopicsResponse.Builder
extends SnsResponse.Builder, SdkPojo, CopyableBuilder<ListTopicsResponse.Builder,ListTopicsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionToken to pass along to the nextListTopicsrequest.topics(Collection<Topic> topics) A list of topic ARNs.topics(Consumer<Topic.Builder>... topics) A list of topic ARNs.A list of topic ARNs.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.sns.model.SnsResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
topics
A list of topic ARNs.
- Parameters:
topics- A list of topic ARNs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topics
A list of topic ARNs.
- Parameters:
topics- A list of topic ARNs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topics
A list of topic ARNs.
This is a convenience method that creates an instance of theTopic.Builderavoiding the need to create one manually viaTopic.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totopics(List<Topic>).- Parameters:
topics- a consumer that will call methods onTopic.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Token to pass along to the next
ListTopicsrequest. This element is returned if there are additional topics to retrieve.- Parameters:
nextToken- Token to pass along to the nextListTopicsrequest. This element is returned if there are additional topics to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-