@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) |
<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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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()
.
Action
public 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()
.
Action
public 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()
.
Permission
public 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()
.
Permission
public UserSetting.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UserSetting.Builder,UserSetting>
public static UserSetting.Builder builder()
public static Class<? extends UserSetting.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.