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