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