@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UserSetting.Builder |
| Modifier and Type | Method and Description |
|---|---|
Action |
action()
The action that is enabled or disabled.
|
String |
actionAsString()
The action that is enabled or disabled.
|
static UserSetting.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Permission |
permission()
Indicates whether the action is enabled or disabled.
|
String |
permissionAsString()
Indicates whether the action is enabled or disabled.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UserSetting.Builder> |
serializableBuilderClass() |
UserSetting.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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, action will
return Action.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
actionAsString().
Actionpublic 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, action will
return Action.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
actionAsString().
Actionpublic 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, permission will
return Permission.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
permissionAsString().
Permissionpublic 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, permission will
return Permission.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
permissionAsString().
Permissionpublic UserSetting.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UserSetting.Builder,UserSetting>public static UserSetting.Builder builder()
public static Class<? extends UserSetting.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.