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