Class CfnProfile.ProfileQuestionUpdateProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wellarchitected.CfnProfile.ProfileQuestionUpdateProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProfile.ProfileQuestionUpdateProperty>
- Enclosing interface:
CfnProfile.ProfileQuestionUpdateProperty
@Stability(Stable)
public static final class CfnProfile.ProfileQuestionUpdateProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProfile.ProfileQuestionUpdateProperty>
A builder for
CfnProfile.ProfileQuestionUpdateProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.questionId(String questionId) Sets the value ofCfnProfile.ProfileQuestionUpdateProperty.getQuestionId()selectedChoiceIds(List<String> selectedChoiceIds) Sets the value ofCfnProfile.ProfileQuestionUpdateProperty.getSelectedChoiceIds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
questionId
@Stability(Stable) public CfnProfile.ProfileQuestionUpdateProperty.Builder questionId(String questionId) Sets the value ofCfnProfile.ProfileQuestionUpdateProperty.getQuestionId()- Parameters:
questionId- The ID of the question.- Returns:
this
-
selectedChoiceIds
@Stability(Stable) public CfnProfile.ProfileQuestionUpdateProperty.Builder selectedChoiceIds(List<String> selectedChoiceIds) Sets the value ofCfnProfile.ProfileQuestionUpdateProperty.getSelectedChoiceIds()- Parameters:
selectedChoiceIds- The selected choices.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnProfile.ProfileQuestionUpdateProperty>- Returns:
- a new instance of
CfnProfile.ProfileQuestionUpdateProperty - Throws:
NullPointerException- if any required attribute was not provided
-