@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteAccountSettingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeleteAccountSettingRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteAccountSettingRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getName()
The resource name to disable the account setting for.
|
String |
getPrincipalArn()
The Amazon Resource Name (ARN) of the principal.
|
int |
hashCode() |
void |
setName(String name)
The resource name to disable the account setting for.
|
void |
setPrincipalArn(String principalArn)
The Amazon Resource Name (ARN) of the principal.
|
String |
toString()
Returns a string representation of this object.
|
DeleteAccountSettingRequest |
withName(SettingName name)
The resource name to disable the account setting for.
|
DeleteAccountSettingRequest |
withName(String name)
The resource name to disable the account setting for.
|
DeleteAccountSettingRequest |
withPrincipalArn(String principalArn)
The Amazon Resource Name (ARN) of the principal.
|
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, withSdkRequestTimeout
public void setName(String name)
The resource name to disable the account setting for. 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
ENI limit for your Amazon ECS container instances is affected.
name
- The resource name to disable the account setting for. 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 ENI limit for your Amazon ECS container instances is
affected.SettingName
public String getName()
The resource name to disable the account setting for. 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
ENI limit for your Amazon ECS container instances 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 ENI limit for your Amazon ECS container instances is
affected.SettingName
public DeleteAccountSettingRequest withName(String name)
The resource name to disable the account setting for. 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
ENI limit for your Amazon ECS container instances is affected.
name
- The resource name to disable the account setting for. 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 ENI limit for your Amazon ECS container instances is
affected.SettingName
public DeleteAccountSettingRequest withName(SettingName name)
The resource name to disable the account setting for. 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
ENI limit for your Amazon ECS container instances is affected.
name
- The resource name to disable the account setting for. 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 ENI limit for your Amazon ECS container instances is
affected.SettingName
public void setPrincipalArn(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.
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.public String getPrincipalArn()
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.
public DeleteAccountSettingRequest withPrincipalArn(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.
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.public String toString()
toString
in class Object
Object.toString()
public DeleteAccountSettingRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()