Class DeleteAccountSettingRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.ecs.model.EcsRequest
-
- software.amazon.awssdk.services.ecs.model.DeleteAccountSettingRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DeleteAccountSettingRequest.Builder,DeleteAccountSettingRequest>
@Generated("software.amazon.awssdk:codegen") public final class DeleteAccountSettingRequest extends EcsRequest implements ToCopyableBuilder<DeleteAccountSettingRequest.Builder,DeleteAccountSettingRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeleteAccountSettingRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeleteAccountSettingRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()SettingNamename()The resource name to disable the account setting for.StringnameAsString()The resource name to disable the account setting for.StringprincipalArn()The Amazon Resource Name (ARN) of the principal.List<SdkField<?>>sdkFields()static Class<? extends DeleteAccountSettingRequest.Builder>serializableBuilderClass()DeleteAccountSettingRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final SettingName name()
The resource name to disable the account setting for. If
serviceLongArnFormatis specified, the ARN for your Amazon ECS services is affected. IftaskLongArnFormatis specified, the ARN and resource ID for your Amazon ECS tasks is affected. IfcontainerInstanceLongArnFormatis specified, the ARN and resource ID for your Amazon ECS container instances is affected. IfawsvpcTrunkingis specified, the ENI limit for your Amazon ECS container instances is affected.If the service returns an enum value that is not available in the current SDK version,
namewill returnSettingName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnameAsString().- Returns:
- The resource name to disable the account setting for. If
serviceLongArnFormatis specified, the ARN for your Amazon ECS services is affected. IftaskLongArnFormatis specified, the ARN and resource ID for your Amazon ECS tasks is affected. IfcontainerInstanceLongArnFormatis specified, the ARN and resource ID for your Amazon ECS container instances is affected. IfawsvpcTrunkingis specified, the ENI limit for your Amazon ECS container instances is affected. - See Also:
SettingName
-
nameAsString
public final String nameAsString()
The resource name to disable the account setting for. If
serviceLongArnFormatis specified, the ARN for your Amazon ECS services is affected. IftaskLongArnFormatis specified, the ARN and resource ID for your Amazon ECS tasks is affected. IfcontainerInstanceLongArnFormatis specified, the ARN and resource ID for your Amazon ECS container instances is affected. IfawsvpcTrunkingis specified, the ENI limit for your Amazon ECS container instances is affected.If the service returns an enum value that is not available in the current SDK version,
namewill returnSettingName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnameAsString().- Returns:
- The resource name to disable the account setting for. If
serviceLongArnFormatis specified, the ARN for your Amazon ECS services is affected. IftaskLongArnFormatis specified, the ARN and resource ID for your Amazon ECS tasks is affected. IfcontainerInstanceLongArnFormatis specified, the ARN and resource ID for your Amazon ECS container instances is affected. IfawsvpcTrunkingis specified, the ENI limit for your Amazon ECS container instances is affected. - See Also:
SettingName
-
principalArn
public final String principalArn()
The Amazon Resource Name (ARN) of the principal. It can be an user, role, or the root user. If you specify the root user, it disables the account setting for all users, roles, and the root user of the account unless a user or role explicitly overrides these settings. If this field is omitted, the setting is changed only for the authenticated user.
- Returns:
- The Amazon Resource Name (ARN) of the principal. It can be an user, role, or the root user. If you specify the root user, it disables the account setting for all users, roles, and the root user of the account unless a user or role explicitly overrides these settings. If this field is omitted, the setting is changed only for the authenticated user.
-
toBuilder
public DeleteAccountSettingRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteAccountSettingRequest.Builder,DeleteAccountSettingRequest>- Specified by:
toBuilderin classEcsRequest
-
builder
public static DeleteAccountSettingRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeleteAccountSettingRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-