Interface CreateTopicReviewedAnswer.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CreateTopicReviewedAnswer.Builder,CreateTopicReviewedAnswer>,SdkBuilder<CreateTopicReviewedAnswer.Builder,CreateTopicReviewedAnswer>,SdkPojo
- Enclosing class:
- CreateTopicReviewedAnswer
@Mutable @NotThreadSafe 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.BuilderanswerId(String answerId)The answer ID for theCreateTopicReviewedAnswer.CreateTopicReviewedAnswer.BuilderdatasetArn(String datasetArn)The Dataset arn for theCreateTopicReviewedAnswer.default CreateTopicReviewedAnswer.Buildermir(Consumer<TopicIR.Builder> mir)The Mir for theCreateTopicReviewedAnswer.CreateTopicReviewedAnswer.Buildermir(TopicIR mir)The Mir for theCreateTopicReviewedAnswer.default CreateTopicReviewedAnswer.BuilderprimaryVisual(Consumer<TopicVisual.Builder> primaryVisual)ThePrimaryVisualfor theCreateTopicReviewedAnswer.CreateTopicReviewedAnswer.BuilderprimaryVisual(TopicVisual primaryVisual)ThePrimaryVisualfor theCreateTopicReviewedAnswer.CreateTopicReviewedAnswer.Builderquestion(String question)The Question to be created.default CreateTopicReviewedAnswer.Buildertemplate(Consumer<TopicTemplate.Builder> template)The template for theCreateTopicReviewedAnswer.CreateTopicReviewedAnswer.Buildertemplate(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.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
CreateTopicReviewedAnswer.Builder primaryVisual(TopicVisual primaryVisual)
The
PrimaryVisualfor theCreateTopicReviewedAnswer.- Parameters:
primaryVisual- ThePrimaryVisualfor 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 thePrimaryVisualfor theCreateTopicReviewedAnswer.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
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.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)
-
-