Class UserSetting
- java.lang.Object
-
- software.amazon.awssdk.services.appstream.model.UserSetting
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<UserSetting.Builder,UserSetting>
@Generated("software.amazon.awssdk:codegen") public final class UserSetting extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UserSetting.Builder,UserSetting>
Describes an action and whether the action is enabled or disabled for users during their streaming sessions.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUserSetting.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Actionaction()The action that is enabled or disabled.StringactionAsString()The action that is enabled or disabled.static UserSetting.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaximumLength()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.Permissionpermission()Indicates whether the action is enabled or disabled.StringpermissionAsString()Indicates whether the action is enabled or disabled.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UserSetting.Builder>serializableBuilderClass()UserSetting.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
action
public final Action action()
The action that is enabled or disabled.
If the service returns an enum value that is not available in the current SDK version,
actionwill returnAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- The action that is enabled or disabled.
- See Also:
Action
-
actionAsString
public final String actionAsString()
The action that is enabled or disabled.
If the service returns an enum value that is not available in the current SDK version,
actionwill returnAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- The action that is enabled or disabled.
- See Also:
Action
-
permission
public final Permission permission()
Indicates whether the action is enabled or disabled.
If the service returns an enum value that is not available in the current SDK version,
permissionwill returnPermission.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompermissionAsString().- Returns:
- Indicates whether the action is enabled or disabled.
- See Also:
Permission
-
permissionAsString
public final String permissionAsString()
Indicates whether the action is enabled or disabled.
If the service returns an enum value that is not available in the current SDK version,
permissionwill returnPermission.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompermissionAsString().- Returns:
- Indicates whether the action is enabled or disabled.
- See Also:
Permission
-
maximumLength
public final Integer 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 the
CLIPBOARD_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:
- 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 the
CLIPBOARD_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).
-
toBuilder
public UserSetting.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UserSetting.Builder,UserSetting>
-
builder
public static UserSetting.Builder builder()
-
serializableBuilderClass
public static Class<? extends UserSetting.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-