Interface BatchCreateTopicReviewedAnswerRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<BatchCreateTopicReviewedAnswerRequest.Builder,
,BatchCreateTopicReviewedAnswerRequest> QuickSightRequest.Builder
,SdkBuilder<BatchCreateTopicReviewedAnswerRequest.Builder,
,BatchCreateTopicReviewedAnswerRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
BatchCreateTopicReviewedAnswerRequest
public static interface BatchCreateTopicReviewedAnswerRequest.Builder
extends QuickSightRequest.Builder, SdkPojo, CopyableBuilder<BatchCreateTopicReviewedAnswerRequest.Builder,BatchCreateTopicReviewedAnswerRequest>
-
Method Summary
Modifier and TypeMethodDescriptionanswers
(Collection<CreateTopicReviewedAnswer> answers) The definition of the Answers to be created.answers
(Consumer<CreateTopicReviewedAnswer.Builder>... answers) The definition of the Answers to be created.answers
(CreateTopicReviewedAnswer... answers) The definition of the Answers to be created.awsAccountId
(String awsAccountId) The ID of the Amazon Web Services account that you want to create a reviewed answer in.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ID for the topic reviewed answer 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, sdkFields
-
Method Details
-
awsAccountId
The ID of the Amazon Web Services account that you want to create a reviewed answer in.
- Parameters:
awsAccountId
- The ID of the Amazon Web Services account that you want to create a reviewed answer in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicId
The ID for the topic reviewed answer 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 reviewed answer 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.
-
answers
BatchCreateTopicReviewedAnswerRequest.Builder answers(Collection<CreateTopicReviewedAnswer> answers) The definition of the Answers to be created.
- Parameters:
answers
- The definition of the Answers to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
answers
The definition of the Answers to be created.
- Parameters:
answers
- The definition of the Answers to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
answers
BatchCreateTopicReviewedAnswerRequest.Builder answers(Consumer<CreateTopicReviewedAnswer.Builder>... answers) The definition of the Answers to be created.
This is a convenience method that creates an instance of theCreateTopicReviewedAnswer.Builder
avoiding the need to create one manually viaCreateTopicReviewedAnswer.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toanswers(List<CreateTopicReviewedAnswer>)
.- Parameters:
answers
- a consumer that will call methods onCreateTopicReviewedAnswer.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchCreateTopicReviewedAnswerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
BatchCreateTopicReviewedAnswerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-