Class CfnLens.Builder
java.lang.Object
software.amazon.awscdk.services.wellarchitected.CfnLens.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLens>
- Enclosing class:
CfnLens
@Stability(Stable)
public static final class CfnLens.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLens>
A fluent builder for
CfnLens.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnLens.BuilderjsonString(String jsonString) The JSON representation of a lens.lensVersion(String lensVersion) The version of the lens.tags(List<? extends CfnLens.TagsItemsProperty> tags) The tags assigned to the lens.
-
Method Details
-
create
@Stability(Stable) public static CfnLens.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnLens.Builder.
-
jsonString
The JSON representation of a lens.- Parameters:
jsonString- The JSON representation of a lens. This parameter is required.- Returns:
this- See Also:
-
lensVersion
The version of the lens.- Parameters:
lensVersion- The version of the lens. This parameter is required.- Returns:
this- See Also:
-
tags
The tags assigned to the lens.- Parameters:
tags- The tags assigned to the lens. This parameter is required.- Returns:
this- See Also:
-
build
-