@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, which can be an IAM user, IAM role, or the root user.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Setting.Builder> |
serializableBuilderClass() |
Setting.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
value()
Whether the account setting is enabled or disabled for the specified resource.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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 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 String value()
Whether the account setting is enabled or disabled for the specified resource.
public String principalArn()
The ARN of the principal, which 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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.