Class CfnViewProps.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnViewProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnViewProps>
- Enclosing interface:
CfnViewProps
@Stability(Stable)
public static final class CfnViewProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnViewProps>
A builder for
CfnViewProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnViewProps.getActions()build()Builds the configured instance.description(String description) Sets the value ofCfnViewProps.getDescription()instanceArn(String instanceArn) Sets the value ofCfnViewProps.getInstanceArn()Sets the value ofCfnViewProps.getName()Sets the value ofCfnViewProps.getTags()Sets the value ofCfnViewProps.getTemplate()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actions
Sets the value ofCfnViewProps.getActions()- Parameters:
actions- A list of actions possible from the view. This parameter is required.- Returns:
this
-
instanceArn
Sets the value ofCfnViewProps.getInstanceArn()- Parameters:
instanceArn- The Amazon Resource Name (ARN) of the instance. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnViewProps.getName()- Parameters:
name- The name of the view. This parameter is required.- Returns:
this
-
template
Sets the value ofCfnViewProps.getTemplate()- Parameters:
template- The view template representing the structure of the view. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnViewProps.getDescription()- Parameters:
description- The description of the view.- Returns:
this
-
tags
Sets the value ofCfnViewProps.getTags()- Parameters:
tags- The tags associated with the view resource (not specific to view version).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnViewProps>- Returns:
- a new instance of
CfnViewProps - Throws:
NullPointerException- if any required attribute was not provided
-