Class SpaceReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.quicksight.SpaceReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SpaceReference>
- Enclosing interface:
SpaceReference
@Stability(Stable)
public static final class SpaceReference.Builder
extends Object
implements software.amazon.jsii.Builder<SpaceReference>
A builder for
SpaceReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawsAccountId(String awsAccountId) Sets the value ofSpaceReference.getAwsAccountId()build()Builds the configured instance.Sets the value ofSpaceReference.getSpaceArn()Sets the value ofSpaceReference.getSpaceId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsAccountId
Sets the value ofSpaceReference.getAwsAccountId()- Parameters:
awsAccountId- The AwsAccountId of the Space resource. This parameter is required.- Returns:
this
-
spaceArn
Sets the value ofSpaceReference.getSpaceArn()- Parameters:
spaceArn- The ARN of the Space resource. This parameter is required.- Returns:
this
-
spaceId
Sets the value ofSpaceReference.getSpaceId()- Parameters:
spaceId- The SpaceId of the Space resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SpaceReference>- Returns:
- a new instance of
SpaceReference - Throws:
NullPointerException- if any required attribute was not provided
-