Class CfnStack.UserSettingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appstream.CfnStack.UserSettingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStack.UserSettingProperty>
- Enclosing interface:
- CfnStack.UserSettingProperty
@Stability(Stable)
public static final class CfnStack.UserSettingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStack.UserSettingProperty>
A builder for
CfnStack.UserSettingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnStack.UserSettingProperty.getAction()build()Builds the configured instance.permission(String permission) Sets the value ofCfnStack.UserSettingProperty.getPermission()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
action
Sets the value ofCfnStack.UserSettingProperty.getAction()- Parameters:
action- The action that is enabled or disabled. This parameter is required.- Returns:
this
-
permission
Sets the value ofCfnStack.UserSettingProperty.getPermission()- Parameters:
permission- Indicates whether the action is enabled or disabled. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStack.UserSettingProperty>- Returns:
- a new instance of
CfnStack.UserSettingProperty - Throws:
NullPointerException- if any required attribute was not provided
-