@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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
SettingName |
name()
The account resource name.
|
String |
nameAsString()
The account 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() |
String |
value()
The current account setting for the resource name.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic SettingName name()
The account 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 account 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()
The current account setting for the resource name. If enabled, then the resource will receive the
new Amazon Resource Name (ARN) and resource identifier (ID) format. If disabled, then the resource
will receive the old Amazon Resource Name (ARN) and resource identifier (ID) format.
enabled, then the resource will
receive the new Amazon Resource Name (ARN) and resource identifier (ID) format. If disabled,
then the resource will receive the old Amazon Resource Name (ARN) and resource identifier (ID) format.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()
Copyright © 2019. All rights reserved.