@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutAccountSettingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
PutAccountSettingRequest() |
| Modifier and Type | Method and Description |
|---|---|
PutAccountSettingRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getName()
The Amazon ECS resource name for which to modify the account setting.
|
String |
getPrincipalArn()
The ARN of the principal, which can be an IAM user, IAM role, or the root user.
|
String |
getValue()
The account setting value for the specified principal ARN.
|
int |
hashCode() |
void |
setName(String name)
The Amazon ECS resource name for which to modify the account setting.
|
void |
setPrincipalArn(String principalArn)
The ARN of the principal, which can be an IAM user, IAM role, or the root user.
|
void |
setValue(String value)
The account setting value for the specified principal ARN.
|
String |
toString()
Returns a string representation of this object.
|
PutAccountSettingRequest |
withName(SettingName name)
The Amazon ECS resource name for which to modify the account setting.
|
PutAccountSettingRequest |
withName(String name)
The Amazon ECS resource name for which to modify the account setting.
|
PutAccountSettingRequest |
withPrincipalArn(String principalArn)
The ARN of the principal, which can be an IAM user, IAM role, or the root user.
|
PutAccountSettingRequest |
withValue(String value)
The account setting value for the specified principal ARN.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setName(String 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 CloudWatch
Container Insights for your clusters is affected.
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 CloudWatch Container Insights for
your clusters is affected.SettingNamepublic String getName()
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 CloudWatch
Container Insights for your clusters is affected.
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 CloudWatch Container Insights for
your clusters is affected.SettingNamepublic PutAccountSettingRequest withName(String 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 CloudWatch
Container Insights for your clusters is affected.
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 CloudWatch Container Insights for
your clusters is affected.SettingNamepublic PutAccountSettingRequest withName(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 CloudWatch
Container Insights for your clusters is affected.
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 CloudWatch Container Insights for
your clusters is affected.SettingNamepublic void setValue(String value)
The account setting value for the specified principal ARN. Accepted values are enabled and
disabled.
value - The account setting value for the specified principal ARN. Accepted values are enabled and
disabled.public String getValue()
The account setting value for the specified principal ARN. Accepted values are enabled and
disabled.
enabled and
disabled.public PutAccountSettingRequest withValue(String value)
The account setting value for the specified principal ARN. Accepted values are enabled and
disabled.
value - The account setting value for the specified principal ARN. Accepted values are enabled and
disabled.public void setPrincipalArn(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 account setting for all IAM users, IAM roles, and the root user of the account unless an IAM user or role explicitly overrides these settings. If this field is omitted, the setting is changed only for the authenticated user.
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 account setting for all IAM users, IAM roles, and the root user of the account
unless an IAM user or role explicitly overrides these settings. If this field is omitted, the setting is
changed only for the authenticated user.public String getPrincipalArn()
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 account setting for all IAM users, IAM roles, and the root user of the account unless an IAM user or role explicitly overrides these settings. If this field is omitted, the setting is changed only for the authenticated user.
public PutAccountSettingRequest withPrincipalArn(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 account setting for all IAM users, IAM roles, and the root user of the account unless an IAM user or role explicitly overrides these settings. If this field is omitted, the setting is changed only for the authenticated user.
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 account setting for all IAM users, IAM roles, and the root user of the account
unless an IAM user or role explicitly overrides these settings. If this field is omitted, the setting is
changed only for the authenticated user.public String toString()
toString in class ObjectObject.toString()public PutAccountSettingRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()