Class CfnReviewTemplateProps.Builder
java.lang.Object
software.amazon.awscdk.services.wellarchitected.CfnReviewTemplateProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReviewTemplateProps>
- Enclosing interface:
CfnReviewTemplateProps
@Stability(Stable)
public static final class CfnReviewTemplateProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReviewTemplateProps>
A builder for
CfnReviewTemplateProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnReviewTemplateProps.getDescription()Sets the value ofCfnReviewTemplateProps.getLenses()Sets the value ofCfnReviewTemplateProps.getNotes()tags(List<? extends CfnReviewTemplate.TagsItemsProperty> tags) Sets the value ofCfnReviewTemplateProps.getTags()templateName(String templateName) Sets the value ofCfnReviewTemplateProps.getTemplateName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnReviewTemplateProps.getDescription()- Parameters:
description- The review template description. This parameter is required.- Returns:
this
-
lenses
Sets the value ofCfnReviewTemplateProps.getLenses()- Parameters:
lenses- The lenses applied to the review template. This parameter is required.- Returns:
this
-
templateName
Sets the value ofCfnReviewTemplateProps.getTemplateName()- Parameters:
templateName- The name of the review template. This parameter is required.- Returns:
this
-
notes
Sets the value ofCfnReviewTemplateProps.getNotes()- Parameters:
notes- The notes associated with the review template.- Returns:
this
-
tags
@Stability(Stable) public CfnReviewTemplateProps.Builder tags(List<? extends CfnReviewTemplate.TagsItemsProperty> tags) Sets the value ofCfnReviewTemplateProps.getTags()- Parameters:
tags- The tags assigned to the review template.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnReviewTemplateProps>- Returns:
- a new instance of
CfnReviewTemplateProps - Throws:
NullPointerException- if any required attribute was not provided
-