Interface CreateTopicRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateTopicRequest.Builder,CreateTopicRequest>
,QuickSightRequest.Builder
,SdkBuilder<CreateTopicRequest.Builder,CreateTopicRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CreateTopicRequest
public static interface CreateTopicRequest.Builder extends QuickSightRequest.Builder, SdkPojo, CopyableBuilder<CreateTopicRequest.Builder,CreateTopicRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateTopicRequest.Builder
awsAccountId(String awsAccountId)
The ID of the Amazon Web Services account that you want to create a topic in.CreateTopicRequest.Builder
folderArns(String... folderArns)
The Folder ARN of the folder that you want the topic to reside in.CreateTopicRequest.Builder
folderArns(Collection<String> folderArns)
The Folder ARN of the folder that you want the topic to reside in.CreateTopicRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreateTopicRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
CreateTopicRequest.Builder
tags(Collection<Tag> tags)
Contains a map of the key-value pairs for the resource tag or tags that are assigned to the dataset.CreateTopicRequest.Builder
tags(Consumer<Tag.Builder>... tags)
Contains a map of the key-value pairs for the resource tag or tags that are assigned to the dataset.CreateTopicRequest.Builder
tags(Tag... tags)
Contains a map of the key-value pairs for the resource tag or tags that are assigned to the dataset.default CreateTopicRequest.Builder
topic(Consumer<TopicDetails.Builder> topic)
The definition of a topic to create.CreateTopicRequest.Builder
topic(TopicDetails topic)
The definition of a topic to create.CreateTopicRequest.Builder
topicId(String topicId)
The ID for the topic that you want to create.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.quicksight.model.QuickSightRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
awsAccountId
CreateTopicRequest.Builder awsAccountId(String awsAccountId)
The ID of the Amazon Web Services account that you want to create a topic in.
- Parameters:
awsAccountId
- The ID of the Amazon Web Services account that you want to create a topic in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicId
CreateTopicRequest.Builder topicId(String topicId)
The ID for the topic that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
- Parameters:
topicId
- The ID for the topic that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topic
CreateTopicRequest.Builder topic(TopicDetails topic)
The definition of a topic to create.
- Parameters:
topic
- The definition of a topic to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topic
default CreateTopicRequest.Builder topic(Consumer<TopicDetails.Builder> topic)
The definition of a topic to create.
This is a convenience method that creates an instance of theTopicDetails.Builder
avoiding the need to create one manually viaTopicDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totopic(TopicDetails)
.- Parameters:
topic
- a consumer that will call methods onTopicDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
topic(TopicDetails)
-
tags
CreateTopicRequest.Builder tags(Collection<Tag> tags)
Contains a map of the key-value pairs for the resource tag or tags that are assigned to the dataset.
- Parameters:
tags
- Contains a map of the key-value pairs for the resource tag or tags that are assigned to the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateTopicRequest.Builder tags(Tag... tags)
Contains a map of the key-value pairs for the resource tag or tags that are assigned to the dataset.
- Parameters:
tags
- Contains a map of the key-value pairs for the resource tag or tags that are assigned to the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateTopicRequest.Builder tags(Consumer<Tag.Builder>... tags)
Contains a map of the key-value pairs for the resource tag or tags that are assigned to the dataset.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#tags(List
.) - Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection
)
-
folderArns
CreateTopicRequest.Builder folderArns(Collection<String> folderArns)
The Folder ARN of the folder that you want the topic to reside in.
- Parameters:
folderArns
- The Folder ARN of the folder that you want the topic to reside in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
folderArns
CreateTopicRequest.Builder folderArns(String... folderArns)
The Folder ARN of the folder that you want the topic to reside in.
- Parameters:
folderArns
- The Folder ARN of the folder that you want the topic to reside in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateTopicRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateTopicRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-