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