Interface TopicReviewedAnswer.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TopicReviewedAnswer.Builder,TopicReviewedAnswer>,SdkBuilder<TopicReviewedAnswer.Builder,TopicReviewedAnswer>,SdkPojo
- Enclosing class:
- TopicReviewedAnswer
@Mutable @NotThreadSafe public static interface TopicReviewedAnswer.Builder extends SdkPojo, CopyableBuilder<TopicReviewedAnswer.Builder,TopicReviewedAnswer>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TopicReviewedAnswer.BuilderanswerId(String answerId)The answer ID of the reviewed answer.TopicReviewedAnswer.Builderarn(String arn)The Amazon Resource Name (ARN) of the reviewed answer.TopicReviewedAnswer.BuilderdatasetArn(String datasetArn)The Dataset ARN for theTopicReviewedAnswer.default TopicReviewedAnswer.Buildermir(Consumer<TopicIR.Builder> mir)The mir for theTopicReviewedAnswer.TopicReviewedAnswer.Buildermir(TopicIR mir)The mir for theTopicReviewedAnswer.default TopicReviewedAnswer.BuilderprimaryVisual(Consumer<TopicVisual.Builder> primaryVisual)The primary visual for theTopicReviewedAnswer.TopicReviewedAnswer.BuilderprimaryVisual(TopicVisual primaryVisual)The primary visual for theTopicReviewedAnswer.TopicReviewedAnswer.Builderquestion(String question)The question for theTopicReviewedAnswer.default TopicReviewedAnswer.Buildertemplate(Consumer<TopicTemplate.Builder> template)The template for theTopicReviewedAnswer.TopicReviewedAnswer.Buildertemplate(TopicTemplate template)The template for theTopicReviewedAnswer.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
arn
TopicReviewedAnswer.Builder arn(String arn)
The Amazon Resource Name (ARN) of the reviewed answer.
- Parameters:
arn- The Amazon Resource Name (ARN) of the reviewed answer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
answerId
TopicReviewedAnswer.Builder answerId(String answerId)
The answer ID of the reviewed answer.
- Parameters:
answerId- The answer ID of the reviewed answer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetArn
TopicReviewedAnswer.Builder datasetArn(String datasetArn)
The Dataset ARN for the
TopicReviewedAnswer.- Parameters:
datasetArn- The Dataset ARN for theTopicReviewedAnswer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
question
TopicReviewedAnswer.Builder question(String question)
The question for the
TopicReviewedAnswer.- Parameters:
question- The question for theTopicReviewedAnswer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mir
TopicReviewedAnswer.Builder mir(TopicIR mir)
The mir for the
TopicReviewedAnswer.- Parameters:
mir- The mir for theTopicReviewedAnswer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mir
default TopicReviewedAnswer.Builder mir(Consumer<TopicIR.Builder> mir)
The mir for the
This is a convenience method that creates an instance of theTopicReviewedAnswer.TopicIR.Builderavoiding the need to create one manually viaTopicIR.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomir(TopicIR).- Parameters:
mir- a consumer that will call methods onTopicIR.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
mir(TopicIR)
-
primaryVisual
TopicReviewedAnswer.Builder primaryVisual(TopicVisual primaryVisual)
The primary visual for the
TopicReviewedAnswer.- Parameters:
primaryVisual- The primary visual for theTopicReviewedAnswer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
primaryVisual
default TopicReviewedAnswer.Builder primaryVisual(Consumer<TopicVisual.Builder> primaryVisual)
The primary visual for the
This is a convenience method that creates an instance of theTopicReviewedAnswer.TopicVisual.Builderavoiding the need to create one manually viaTopicVisual.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprimaryVisual(TopicVisual).- Parameters:
primaryVisual- a consumer that will call methods onTopicVisual.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
primaryVisual(TopicVisual)
-
template
TopicReviewedAnswer.Builder template(TopicTemplate template)
The template for the
TopicReviewedAnswer.- Parameters:
template- The template for theTopicReviewedAnswer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
template
default TopicReviewedAnswer.Builder template(Consumer<TopicTemplate.Builder> template)
The template for the
This is a convenience method that creates an instance of theTopicReviewedAnswer.TopicTemplate.Builderavoiding the need to create one manually viaTopicTemplate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totemplate(TopicTemplate).- Parameters:
template- a consumer that will call methods onTopicTemplate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
template(TopicTemplate)
-
-