@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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
SettingName |
name()
The Amazon ECS resource name for which to modify the account setting.
|
String |
nameAsString()
The Amazon ECS resource name for which to modify the account setting.
|
String |
principalArn()
The ARN of the principal, which can be a user, role, or the root user.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutAccountSettingRequest.Builder> |
serializableBuilderClass() |
PutAccountSettingRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
value()
The account setting value for the specified principal ARN.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final SettingName name()
The Amazon ECS resource name for which to modify the account setting. 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
awsvpcTrunking is specified, the elastic network interface (ENI) limit for your Amazon ECS container
instances is affected. If containerInsights is specified, the default setting for Amazon Web
Services CloudWatch Container Insights for your clusters is affected. If fargateFIPSMode is
specified, Fargate FIPS 140 compliance is affected. If tagResourceAuthorization is specified, the
opt-in option for tagging resources on creation is affected. For information about the opt-in timeline, see Tagging
authorization timeline in the Amazon ECS Developer Guide.
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. If awsvpcTrunking is specified, the elastic
network interface (ENI) limit for your Amazon ECS container instances is affected. If
containerInsights is specified, the default setting for Amazon Web Services CloudWatch
Container Insights for your clusters is affected. If fargateFIPSMode is specified, Fargate
FIPS 140 compliance is affected. If tagResourceAuthorization is specified, the opt-in option
for tagging resources on creation is affected. For information about the opt-in timeline, see Tagging authorization timeline in the Amazon ECS Developer Guide.SettingNamepublic final String nameAsString()
The Amazon ECS resource name for which to modify the account setting. 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
awsvpcTrunking is specified, the elastic network interface (ENI) limit for your Amazon ECS container
instances is affected. If containerInsights is specified, the default setting for Amazon Web
Services CloudWatch Container Insights for your clusters is affected. If fargateFIPSMode is
specified, Fargate FIPS 140 compliance is affected. If tagResourceAuthorization is specified, the
opt-in option for tagging resources on creation is affected. For information about the opt-in timeline, see Tagging
authorization timeline in the Amazon ECS Developer Guide.
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. If awsvpcTrunking is specified, the elastic
network interface (ENI) limit for your Amazon ECS container instances is affected. If
containerInsights is specified, the default setting for Amazon Web Services CloudWatch
Container Insights for your clusters is affected. If fargateFIPSMode is specified, Fargate
FIPS 140 compliance is affected. If tagResourceAuthorization is specified, the opt-in option
for tagging resources on creation is affected. For information about the opt-in timeline, see Tagging authorization timeline in the Amazon ECS Developer Guide.SettingNamepublic final String value()
The account setting value for the specified principal ARN. Accepted values are enabled,
disabled, on, and off.
enabled,
disabled, on, and off.public final String principalArn()
The ARN of the principal, which can be a user, role, or the root user. If you specify the root user, it modifies 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.
Federated users assume the account setting of the root user and can't have explicit account settings set for them.
Federated users assume the account setting of the root user and can't have explicit account settings set for them.
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 final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.