Interface CreateTopicReviewedAnswer.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<CreateTopicReviewedAnswer.Builder,CreateTopicReviewedAnswer>
,SdkBuilder<CreateTopicReviewedAnswer.Builder,CreateTopicReviewedAnswer>
,SdkPojo
- Enclosing class:
- CreateTopicReviewedAnswer
public static interface CreateTopicReviewedAnswer.Builder extends SdkPojo, CopyableBuilder<CreateTopicReviewedAnswer.Builder,CreateTopicReviewedAnswer>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateTopicReviewedAnswer.Builder
answerId(String answerId)
The answer ID for theCreateTopicReviewedAnswer
.CreateTopicReviewedAnswer.Builder
datasetArn(String datasetArn)
The Dataset arn for theCreateTopicReviewedAnswer
.default CreateTopicReviewedAnswer.Builder
mir(Consumer<TopicIR.Builder> mir)
The Mir for theCreateTopicReviewedAnswer
.CreateTopicReviewedAnswer.Builder
mir(TopicIR mir)
The Mir for theCreateTopicReviewedAnswer
.default CreateTopicReviewedAnswer.Builder
primaryVisual(Consumer<TopicVisual.Builder> primaryVisual)
ThePrimaryVisual
for theCreateTopicReviewedAnswer
.CreateTopicReviewedAnswer.Builder
primaryVisual(TopicVisual primaryVisual)
ThePrimaryVisual
for theCreateTopicReviewedAnswer
.CreateTopicReviewedAnswer.Builder
question(String question)
The Question to be created.default CreateTopicReviewedAnswer.Builder
template(Consumer<TopicTemplate.Builder> template)
The template for theCreateTopicReviewedAnswer
.CreateTopicReviewedAnswer.Builder
template(TopicTemplate template)
The template for theCreateTopicReviewedAnswer
.-
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
-
answerId
CreateTopicReviewedAnswer.Builder answerId(String answerId)
The answer ID for the
CreateTopicReviewedAnswer
.- Parameters:
answerId
- The answer ID for theCreateTopicReviewedAnswer
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetArn
CreateTopicReviewedAnswer.Builder datasetArn(String datasetArn)
The Dataset arn for the
CreateTopicReviewedAnswer
.- Parameters:
datasetArn
- The Dataset arn for theCreateTopicReviewedAnswer
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
question
CreateTopicReviewedAnswer.Builder question(String question)
The Question to be created.
- Parameters:
question
- The Question to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mir
CreateTopicReviewedAnswer.Builder mir(TopicIR mir)
The Mir for the
CreateTopicReviewedAnswer
.- Parameters:
mir
- The Mir for theCreateTopicReviewedAnswer
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mir
default CreateTopicReviewedAnswer.Builder mir(Consumer<TopicIR.Builder> mir)
The Mir for the
This is a convenience method that creates an instance of theCreateTopicReviewedAnswer
.TopicIR.Builder
avoiding the need to create one manually viaTopicIR.builder()
.When the
Consumer
completes,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
CreateTopicReviewedAnswer.Builder primaryVisual(TopicVisual primaryVisual)
The
PrimaryVisual
for theCreateTopicReviewedAnswer
.- Parameters:
primaryVisual
- ThePrimaryVisual
for theCreateTopicReviewedAnswer
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
primaryVisual
default CreateTopicReviewedAnswer.Builder primaryVisual(Consumer<TopicVisual.Builder> primaryVisual)
The
This is a convenience method that creates an instance of thePrimaryVisual
for theCreateTopicReviewedAnswer
.TopicVisual.Builder
avoiding the need to create one manually viaTopicVisual.builder()
.When the
Consumer
completes,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
CreateTopicReviewedAnswer.Builder template(TopicTemplate template)
The template for the
CreateTopicReviewedAnswer
.- Parameters:
template
- The template for theCreateTopicReviewedAnswer
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
template
default CreateTopicReviewedAnswer.Builder template(Consumer<TopicTemplate.Builder> template)
The template for the
This is a convenience method that creates an instance of theCreateTopicReviewedAnswer
.TopicTemplate.Builder
avoiding the need to create one manually viaTopicTemplate.builder()
.When the
Consumer
completes,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)
-
-