Class CfnWorkspacePropsMixin.WorkspacePageProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnWorkspacePropsMixin.WorkspacePageProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspacePropsMixin.WorkspacePageProperty>
- Enclosing interface:
CfnWorkspacePropsMixin.WorkspacePageProperty
@Stability(Stable)
public static final class CfnWorkspacePropsMixin.WorkspacePageProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspacePropsMixin.WorkspacePageProperty>
A builder for
CfnWorkspacePropsMixin.WorkspacePageProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnWorkspacePropsMixin.WorkspacePageProperty.getInputData()Sets the value ofCfnWorkspacePropsMixin.WorkspacePageProperty.getPage()resourceArn(String resourceArn) Sets the value ofCfnWorkspacePropsMixin.WorkspacePageProperty.getResourceArn()Sets the value ofCfnWorkspacePropsMixin.WorkspacePageProperty.getSlug()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
inputData
@Stability(Stable) public CfnWorkspacePropsMixin.WorkspacePageProperty.Builder inputData(String inputData) Sets the value ofCfnWorkspacePropsMixin.WorkspacePageProperty.getInputData()- Parameters:
inputData- A JSON string containing input parameters passed to the view when the page is rendered.- Returns:
this
-
page
Sets the value ofCfnWorkspacePropsMixin.WorkspacePageProperty.getPage()- Parameters:
page- The page identifier. System pages includeHOMEandAGENT_EXPERIENCE.- Returns:
this
-
resourceArn
@Stability(Stable) public CfnWorkspacePropsMixin.WorkspacePageProperty.Builder resourceArn(String resourceArn) Sets the value ofCfnWorkspacePropsMixin.WorkspacePageProperty.getResourceArn()- Parameters:
resourceArn- The Amazon Resource Name (ARN) of the view associated with this page.- Returns:
this
-
slug
Sets the value ofCfnWorkspacePropsMixin.WorkspacePageProperty.getSlug()- Parameters:
slug- The URL-friendly identifier for the page.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkspacePropsMixin.WorkspacePageProperty>- Returns:
- a new instance of
CfnWorkspacePropsMixin.WorkspacePageProperty - Throws:
NullPointerException- if any required attribute was not provided
-