Class CfnStackPropsMixin.UserSettingProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.appstream.mixins.CfnStackPropsMixin.UserSettingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStackPropsMixin.UserSettingProperty>
- Enclosing interface:
CfnStackPropsMixin.UserSettingProperty
@Stability(Stable)
public static final class CfnStackPropsMixin.UserSettingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStackPropsMixin.UserSettingProperty>
A builder for
CfnStackPropsMixin.UserSettingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnStackPropsMixin.UserSettingProperty.getAction()build()Builds the configured instance.maximumLength(Number maximumLength) Sets the value ofCfnStackPropsMixin.UserSettingProperty.getMaximumLength()permission(String permission) Sets the value ofCfnStackPropsMixin.UserSettingProperty.getPermission()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
action
Sets the value ofCfnStackPropsMixin.UserSettingProperty.getAction()- Parameters:
action- The action that is enabled or disabled.- Returns:
this
-
maximumLength
@Stability(Stable) public CfnStackPropsMixin.UserSettingProperty.Builder maximumLength(Number maximumLength) Sets the value ofCfnStackPropsMixin.UserSettingProperty.getMaximumLength()- Parameters:
maximumLength- Specifies the number of characters that can be copied by end users from the local device to the remote session, and to the local device from the remote session. This can be specified only for theCLIPBOARD_COPY_FROM_LOCAL_DEVICEandCLIPBOARD_COPY_TO_LOCAL_DEVICEactions.This defaults to 20,971,520 (20 MB) when unspecified and the permission is
ENABLED. This can't be specified when the permission isDISABLED.The value can be between 1 and 20,971,520 (20 MB).
- Returns:
this
-
permission
@Stability(Stable) public CfnStackPropsMixin.UserSettingProperty.Builder permission(String permission) Sets the value ofCfnStackPropsMixin.UserSettingProperty.getPermission()- Parameters:
permission- Indicates whether the action is enabled or disabled.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStackPropsMixin.UserSettingProperty>- Returns:
- a new instance of
CfnStackPropsMixin.UserSettingProperty - Throws:
NullPointerException- if any required attribute was not provided
-