Class CfnLensProps.Builder
java.lang.Object
software.amazon.awscdk.services.wellarchitected.CfnLensProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLensProps>
- Enclosing interface:
CfnLensProps
@Stability(Stable)
public static final class CfnLensProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLensProps>
A builder for
CfnLensProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.jsonString(String jsonString) Sets the value ofCfnLensProps.getJsonString()lensVersion(String lensVersion) Sets the value ofCfnLensProps.getLensVersion()tags(List<? extends CfnLens.TagsItemsProperty> tags) Sets the value ofCfnLensProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
jsonString
Sets the value ofCfnLensProps.getJsonString()- Parameters:
jsonString- The JSON representation of a lens.- Returns:
this
-
lensVersion
Sets the value ofCfnLensProps.getLensVersion()- Parameters:
lensVersion- The version of the lens.- Returns:
this
-
tags
Sets the value ofCfnLensProps.getTags()- Parameters:
tags- The tags assigned to the lens.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLensProps>- Returns:
- a new instance of
CfnLensProps - Throws:
NullPointerException- if any required attribute was not provided
-