Class CfnSpaceProps.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnSpaceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSpaceProps>
- Enclosing interface:
CfnSpaceProps
@Stability(Stable)
public static final class CfnSpaceProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSpaceProps>
A builder for
CfnSpaceProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawsAccountId(String awsAccountId) Sets the value ofCfnSpaceProps.getAwsAccountId()build()Builds the configured instance.description(String description) Sets the value ofCfnSpaceProps.getDescription()Sets the value ofCfnSpaceProps.getName()permissions(List<? extends Object> permissions) Sets the value ofCfnSpaceProps.getPermissions()permissions(IResolvable permissions) Sets the value ofCfnSpaceProps.getPermissions()Sets the value ofCfnSpaceProps.getResources()resources(IResolvable resources) Sets the value ofCfnSpaceProps.getResources()Sets the value ofCfnSpaceProps.getSpaceId()Sets the value ofCfnSpaceProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsAccountId
Sets the value ofCfnSpaceProps.getAwsAccountId()- Parameters:
awsAccountId- The ID of the Amazon Web Services account where the space is being created. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnSpaceProps.getName()- Parameters:
name- The display name of the space. This parameter is required.- Returns:
this
-
spaceId
Sets the value ofCfnSpaceProps.getSpaceId()- Parameters:
spaceId- The unique identifier for the space. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnSpaceProps.getDescription()- Parameters:
description- A description of the space.- Returns:
this
-
permissions
Sets the value ofCfnSpaceProps.getPermissions()- Parameters:
permissions- A list of permissions granted on the space.- Returns:
this
-
permissions
Sets the value ofCfnSpaceProps.getPermissions()- Parameters:
permissions- A list of permissions granted on the space.- Returns:
this
-
resources
Sets the value ofCfnSpaceProps.getResources()- Parameters:
resources- A list of QuickSight resources attached to the space.- Returns:
this
-
resources
Sets the value ofCfnSpaceProps.getResources()- Parameters:
resources- A list of QuickSight resources attached to the space.- Returns:
this
-
tags
Sets the value ofCfnSpaceProps.getTags()- Parameters:
tags- A list of key-value pairs to associate with the space resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSpaceProps>- Returns:
- a new instance of
CfnSpaceProps - Throws:
NullPointerException- if any required attribute was not provided
-