Interface CreateTopicV2Request.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateTopicV2Request.Builder,,CreateTopicV2Request> QuickSightRequest.Builder,SdkBuilder<CreateTopicV2Request.Builder,,CreateTopicV2Request> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateTopicV2Request
-
Method Summary
Modifier and TypeMethodDescriptionawsAccountId(String awsAccountId) The ID of the Amazon Web Services account that you want to create a topic in.default CreateTopicV2Request.BuildercustomInstructions(Consumer<CustomInstructions.Builder> customInstructions) Sets the value of the CustomInstructions property for this object.customInstructions(CustomInstructions customInstructions) Sets the value of the CustomInstructions property for this object.folderArns(String... folderArns) The Amazon Resource Names (ARNs) of the folders that you want the topic to reside in.folderArns(Collection<String> folderArns) The Amazon Resource Names (ARNs) of the folders that you want the topic to reside in.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags(Collection<Tag> tags) Contains a map of the key-value pairs for the resource tag or tags that are assigned to the topic.tags(Consumer<Tag.Builder>... tags) Contains a map of the key-value pairs for the resource tag or tags that are assigned to the topic.Contains a map of the key-value pairs for the resource tag or tags that are assigned to the topic.default CreateTopicV2Request.Buildertopic(Consumer<TopicV2Details.Builder> topic) The definition of a topic to create.topic(TopicV2Details topic) The definition of a topic to create.The ID for the topic that you want to create.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.quicksight.model.QuickSightRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
The definition of a topic to create.
This is a convenience method that creates an instance of theTopicV2Details.Builderavoiding the need to create one manually viaTopicV2Details.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totopic(TopicV2Details).- Parameters:
topic- a consumer that will call methods onTopicV2Details.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Contains a map of the key-value pairs for the resource tag or tags that are assigned to the topic.
- Parameters:
tags- Contains a map of the key-value pairs for the resource tag or tags that are assigned to the topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Contains a map of the key-value pairs for the resource tag or tags that are assigned to the topic.
- Parameters:
tags- Contains a map of the key-value pairs for the resource tag or tags that are assigned to the topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Contains a map of the key-value pairs for the resource tag or tags that are assigned to the topic.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- 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:
-
folderArns
The Amazon Resource Names (ARNs) of the folders that you want the topic to reside in.
- Parameters:
folderArns- The Amazon Resource Names (ARNs) of the folders that you want the topic to reside in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
folderArns
The Amazon Resource Names (ARNs) of the folders that you want the topic to reside in.
- Parameters:
folderArns- The Amazon Resource Names (ARNs) of the folders that you want the topic to reside in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customInstructions
Sets the value of the CustomInstructions property for this object.- Parameters:
customInstructions- The new value for the CustomInstructions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customInstructions
default CreateTopicV2Request.Builder customInstructions(Consumer<CustomInstructions.Builder> customInstructions) Sets the value of the CustomInstructions property for this object. This is a convenience method that creates an instance of theCustomInstructions.Builderavoiding the need to create one manually viaCustomInstructions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomInstructions(CustomInstructions).- Parameters:
customInstructions- a consumer that will call methods onCustomInstructions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateTopicV2Request.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateTopicV2Request.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-