@Generated(value="software.amazon.awssdk:codegen") public final class Setting extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Setting.Builder,Setting>
The current account setting for a resource.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Setting.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Setting.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
SettingName |
name()
The Amazon ECS resource name.
|
String |
nameAsString()
The Amazon ECS resource name.
|
String |
principalArn()
The ARN of the principal.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Setting.Builder> |
serializableBuilderClass() |
Setting.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
value()
Determines whether the account setting is enabled or disabled for the specified resource.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final SettingName name()
The Amazon ECS resource name.
If the service returns an enum value that is not available in the current SDK version, name will return
SettingName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
SettingNamepublic final String nameAsString()
The Amazon ECS resource name.
If the service returns an enum value that is not available in the current SDK version, name will return
SettingName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
SettingNamepublic final String value()
Determines whether the account setting is enabled or disabled for the specified resource.
public final String principalArn()
The ARN of the principal. It can be an IAM user, IAM role, or the root user. If this field is omitted, the authenticated user is assumed.
public Setting.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Setting.Builder,Setting>public static Setting.Builder builder()
public static Class<? extends Setting.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.