Class CfnTopicV2.ResourcePermissionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTopicV2.ResourcePermissionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopicV2.ResourcePermissionProperty>
- Enclosing interface:
CfnTopicV2.ResourcePermissionProperty
@Stability(Stable)
public static final class CfnTopicV2.ResourcePermissionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopicV2.ResourcePermissionProperty>
A builder for
CfnTopicV2.ResourcePermissionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnTopicV2.ResourcePermissionProperty.getActions()build()Builds the configured instance.Sets the value ofCfnTopicV2.ResourcePermissionProperty.getPrincipal()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actions
@Stability(Stable) public CfnTopicV2.ResourcePermissionProperty.Builder actions(List<String> actions) Sets the value ofCfnTopicV2.ResourcePermissionProperty.getActions()- Parameters:
actions- the value to be set. This parameter is required.- Returns:
this
-
principal
Sets the value ofCfnTopicV2.ResourcePermissionProperty.getPrincipal()- Parameters:
principal- the value to be set. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTopicV2.ResourcePermissionProperty>- Returns:
- a new instance of
CfnTopicV2.ResourcePermissionProperty - Throws:
NullPointerException- if any required attribute was not provided
-