@Generated(value="software.amazon.awssdk:codegen") public final class DeleteAccountSettingRequest extends EcsRequest implements ToCopyableBuilder<DeleteAccountSettingRequest.Builder,DeleteAccountSettingRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeleteAccountSettingRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DeleteAccountSettingRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest. |
int |
hashCode() |
SettingName |
name()
The resource name for which to disable the new format.
|
String |
nameAsString()
The resource name for which to disable 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 DeleteAccountSettingRequest.Builder> |
serializableBuilderClass() |
DeleteAccountSettingRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfigurationcopypublic SettingName name()
The resource name for which to disable 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 disable 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 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 DeleteAccountSettingRequest.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<DeleteAccountSettingRequest.Builder,DeleteAccountSettingRequest>toBuilder in class EcsRequestpublic static DeleteAccountSettingRequest.Builder builder()
public static Class<? extends DeleteAccountSettingRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequestSdkRequest. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class) method will
again be available.getValueForField in class SdkRequestfieldName - The name of the member to be retrieved.clazz - The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.