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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TopicDetails.BuilderdataSets(Collection<DatasetMetadata> dataSets)The data sets that the topic is associated with.TopicDetails.BuilderdataSets(Consumer<DatasetMetadata.Builder>... dataSets)The data sets that the topic is associated with.TopicDetails.BuilderdataSets(DatasetMetadata... dataSets)The data sets that the topic is associated with.TopicDetails.Builderdescription(String description)The description of the topic.TopicDetails.Buildername(String name)The name of the topic.TopicDetails.BuilderuserExperienceVersion(String userExperienceVersion)The user experience version of a topic.TopicDetails.BuilderuserExperienceVersion(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 Detail
-
name
TopicDetails.Builder name(String 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
TopicDetails.Builder description(String 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
TopicDetails.Builder userExperienceVersion(String 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:
TopicUserExperienceVersion,TopicUserExperienceVersion
-
userExperienceVersion
TopicDetails.Builder userExperienceVersion(TopicUserExperienceVersion 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:
TopicUserExperienceVersion,TopicUserExperienceVersion
-
dataSets
TopicDetails.Builder dataSets(Collection<DatasetMetadata> 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
TopicDetails.Builder dataSets(DatasetMetadata... 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
TopicDetails.Builder dataSets(Consumer<DatasetMetadata.Builder>... dataSets)
The data sets that the topic is associated with.
This is a convenience method that creates an instance of theDatasetMetadata.Builderavoiding the need to create one manually viaDatasetMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#dataSets(List.) - 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:
#dataSets(java.util.Collection)
-
-