Class CfnProfileProps.Builder
java.lang.Object
software.amazon.awscdk.services.wellarchitected.CfnProfileProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProfileProps>
- Enclosing interface:
CfnProfileProps
@Stability(Stable)
public static final class CfnProfileProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProfileProps>
A builder for
CfnProfileProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.profileDescription(String profileDescription) Sets the value ofCfnProfileProps.getProfileDescription()profileName(String profileName) Sets the value ofCfnProfileProps.getProfileName()profileQuestions(List<? extends Object> profileQuestions) Sets the value ofCfnProfileProps.getProfileQuestions()profileQuestions(IResolvable profileQuestions) Sets the value ofCfnProfileProps.getProfileQuestions()Sets the value ofCfnProfileProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
profileDescription
Sets the value ofCfnProfileProps.getProfileDescription()- Parameters:
profileDescription- The profile description. This parameter is required.- Returns:
this
-
profileName
Sets the value ofCfnProfileProps.getProfileName()- Parameters:
profileName- The name of the profile. This parameter is required.- Returns:
this
-
profileQuestions
Sets the value ofCfnProfileProps.getProfileQuestions()- Parameters:
profileQuestions- The profile questions. This parameter is required.- Returns:
this
-
profileQuestions
@Stability(Stable) public CfnProfileProps.Builder profileQuestions(List<? extends Object> profileQuestions) Sets the value ofCfnProfileProps.getProfileQuestions()- Parameters:
profileQuestions- The profile questions. This parameter is required.- Returns:
this
-
tags
Sets the value ofCfnProfileProps.getTags()- Parameters:
tags- The tags assigned to the profile.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnProfileProps>- Returns:
- a new instance of
CfnProfileProps - Throws:
NullPointerException- if any required attribute was not provided
-