Class CfnViewVersionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnViewVersionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnViewVersionMixinProps>
- Enclosing interface:
CfnViewVersionMixinProps
@Stability(Stable)
public static final class CfnViewVersionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnViewVersionMixinProps>
A builder for
CfnViewVersionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.versionDescription(String versionDescription) Sets the value ofCfnViewVersionMixinProps.getVersionDescription()Sets the value ofCfnViewVersionMixinProps.getViewArn()Sets the value ofCfnViewVersionMixinProps.getViewArn()viewContentSha256(String viewContentSha256) Sets the value ofCfnViewVersionMixinProps.getViewContentSha256()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
versionDescription
@Stability(Stable) public CfnViewVersionMixinProps.Builder versionDescription(String versionDescription) Sets the value ofCfnViewVersionMixinProps.getVersionDescription()- Parameters:
versionDescription- The description of the view version.- Returns:
this
-
viewArn
Sets the value ofCfnViewVersionMixinProps.getViewArn()- Parameters:
viewArn- The unqualified Amazon Resource Name (ARN) of the view. For example:arn:<partition>:connect:<region>:<accountId>:instance/00000000-0000-0000-0000-000000000000/view/00000000-0000-0000-0000-000000000000- Returns:
this
-
viewArn
Sets the value ofCfnViewVersionMixinProps.getViewArn()- Parameters:
viewArn- The unqualified Amazon Resource Name (ARN) of the view. For example:arn:<partition>:connect:<region>:<accountId>:instance/00000000-0000-0000-0000-000000000000/view/00000000-0000-0000-0000-000000000000- Returns:
this
-
viewContentSha256
@Stability(Stable) public CfnViewVersionMixinProps.Builder viewContentSha256(String viewContentSha256) Sets the value ofCfnViewVersionMixinProps.getViewContentSha256()- Parameters:
viewContentSha256- Indicates the checksum value of the latest published view content.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnViewVersionMixinProps>- Returns:
- a new instance of
CfnViewVersionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-