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.maximumLength(Number maximumLength) Sets the value ofCfnStack.UserSettingProperty.getMaximumLength()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
-
maximumLength
Sets the value ofCfnStack.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
-
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
-