Interface TopicDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TopicDetails.Builder,
,TopicDetails> SdkBuilder<TopicDetails.Builder,
,TopicDetails> SdkPojo
- Enclosing class:
TopicDetails
public static interface TopicDetails.Builder
extends SdkPojo, CopyableBuilder<TopicDetails.Builder,TopicDetails>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TopicDetails.Builder
configOptions
(Consumer<TopicConfigOptions.Builder> configOptions) Configuration options for aTopic
.configOptions
(TopicConfigOptions configOptions) Configuration options for aTopic
.dataSets
(Collection<DatasetMetadata> dataSets) The data sets that the topic is associated with.dataSets
(Consumer<DatasetMetadata.Builder>... dataSets) The data sets that the topic is associated with.dataSets
(DatasetMetadata... dataSets) The data sets that the topic is associated with.description
(String description) The description of the topic.The name of the topic.userExperienceVersion
(String userExperienceVersion) The user experience version of a topic.userExperienceVersion
(TopicUserExperienceVersion userExperienceVersion) The user experience version of a topic.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name of the topic.
- Parameters:
name
- The name of the topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the topic.
- Parameters:
description
- The description of the topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userExperienceVersion
The user experience version of a topic.
- Parameters:
userExperienceVersion
- The user experience version of a topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
userExperienceVersion
The user experience version of a topic.
- Parameters:
userExperienceVersion
- The user experience version of a topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataSets
The data sets that the topic is associated with.
- Parameters:
dataSets
- The data sets that the topic is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSets
The data sets that the topic is associated with.
- Parameters:
dataSets
- The data sets that the topic is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSets
The data sets that the topic is associated with.
This is a convenience method that creates an instance of theDatasetMetadata.Builder
avoiding the need to create one manually viaDatasetMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataSets(List<DatasetMetadata>)
.- Parameters:
dataSets
- a consumer that will call methods onDatasetMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
configOptions
Configuration options for a
Topic
.- Parameters:
configOptions
- Configuration options for aTopic
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configOptions
Configuration options for a
This is a convenience method that creates an instance of theTopic
.TopicConfigOptions.Builder
avoiding the need to create one manually viaTopicConfigOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfigOptions(TopicConfigOptions)
.- Parameters:
configOptions
- a consumer that will call methods onTopicConfigOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-