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