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