@Generated(value="software.amazon.awssdk:codegen") public final class PutAccountSettingRequest extends EcsRequest implements ToCopyableBuilder<PutAccountSettingRequest.Builder,PutAccountSettingRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PutAccountSettingRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PutAccountSettingRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
SettingName |
name()
The resource name for which to enable the new format.
|
String |
nameAsString()
The resource name for which to enable the new format.
|
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 PutAccountSettingRequest.Builder> |
serializableBuilderClass() |
PutAccountSettingRequest.Builder |
toBuilder() |
String |
toString() |
String |
value()
The account setting value for the specified principal ARN.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic SettingName name()
The resource name for which to enable the new format. If serviceLongArnFormat is specified, the ARN
for your Amazon ECS services is affected. If taskLongArnFormat is specified, the ARN and resource ID
for your Amazon ECS tasks is affected. If containerInstanceLongArnFormat is specified, the ARN and
resource ID for your Amazon ECS container instances is affected.
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().
serviceLongArnFormat is specified,
the ARN for your Amazon ECS services is affected. If taskLongArnFormat is specified, the ARN
and resource ID for your Amazon ECS tasks is affected. If containerInstanceLongArnFormat is
specified, the ARN and resource ID for your Amazon ECS container instances is affected.SettingNamepublic String nameAsString()
The resource name for which to enable the new format. If serviceLongArnFormat is specified, the ARN
for your Amazon ECS services is affected. If taskLongArnFormat is specified, the ARN and resource ID
for your Amazon ECS tasks is affected. If containerInstanceLongArnFormat is specified, the ARN and
resource ID for your Amazon ECS container instances is affected.
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().
serviceLongArnFormat is specified,
the ARN for your Amazon ECS services is affected. If taskLongArnFormat is specified, the ARN
and resource ID for your Amazon ECS tasks is affected. If containerInstanceLongArnFormat is
specified, the ARN and resource ID for your Amazon ECS container instances is affected.SettingNamepublic String value()
The account setting value for the specified principal ARN. Accepted values are enabled and
disabled.
enabled and
disabled.public String principalArn()
The ARN of the principal, which can be an IAM user, IAM role, or the root user. If you specify the root user, it modifies the ARN and resource ID format for all IAM users, IAM roles, and the root user of the account unless an IAM user or role explicitly overrides these settings for themselves. If this field is omitted, the setting are changed only for the authenticated user.
public PutAccountSettingRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutAccountSettingRequest.Builder,PutAccountSettingRequest>toBuilder in class EcsRequestpublic static PutAccountSettingRequest.Builder builder()
public static Class<? extends PutAccountSettingRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.