@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 a user, 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 a user, 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 a user, 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, withSdkRequestTimeout
public void setName(String name)
The Amazon ECS resource name for which to modify the account setting. If you specify
serviceLongArnFormat
, the ARN for your Amazon ECS services is affected. If you specify
taskLongArnFormat
, the ARN and resource ID for your Amazon ECS tasks is affected. If you specify
containerInstanceLongArnFormat
, the ARN and resource ID for your Amazon ECS container instances is
affected. If you specify awsvpcTrunking
, the elastic network interface (ENI) limit for your Amazon
ECS container instances is affected. If you specify containerInsights
, the default setting for
Amazon Web Services CloudWatch Container Insights for your clusters is affected. If you specify
fargateFIPSMode
, Fargate FIPS 140 compliance is affected. If you specify
tagResourceAuthorization
, 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 you specify
fargateTaskRetirementWaitPeriod
, the wait time to retire a Fargate task is affected.
The guardDutyActivate
parameter is read-only in Amazon ECS and indicates whether Amazon ECS Runtime
Monitoring is enabled or disabled by your security administrator in your Amazon ECS account. Amazon GuardDuty
controls this account setting on your behalf. For more information, see Protecting
Amazon ECS workloads with Amazon ECS Runtime Monitoring.
name
- The Amazon ECS resource name for which to modify the account setting. If you specify
serviceLongArnFormat
, the ARN for your Amazon ECS services is affected. If you specify
taskLongArnFormat
, the ARN and resource ID for your Amazon ECS tasks is affected. If you
specify containerInstanceLongArnFormat
, the ARN and resource ID for your Amazon ECS container
instances is affected. If you specify awsvpcTrunking
, the elastic network interface (ENI)
limit for your Amazon ECS container instances is affected. If you specify containerInsights
,
the default setting for Amazon Web Services CloudWatch Container Insights for your clusters is affected.
If you specify fargateFIPSMode
, Fargate FIPS 140 compliance is affected. If you specify
tagResourceAuthorization
, 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 you specify
fargateTaskRetirementWaitPeriod
, the wait time to retire a Fargate task is affected.
The guardDutyActivate
parameter is read-only in Amazon ECS and indicates whether Amazon ECS
Runtime Monitoring is enabled or disabled by your security administrator in your Amazon ECS account.
Amazon GuardDuty controls this account setting on your behalf. For more information, see Protecting Amazon ECS workloads with Amazon ECS Runtime Monitoring.
SettingName
public String getName()
The Amazon ECS resource name for which to modify the account setting. If you specify
serviceLongArnFormat
, the ARN for your Amazon ECS services is affected. If you specify
taskLongArnFormat
, the ARN and resource ID for your Amazon ECS tasks is affected. If you specify
containerInstanceLongArnFormat
, the ARN and resource ID for your Amazon ECS container instances is
affected. If you specify awsvpcTrunking
, the elastic network interface (ENI) limit for your Amazon
ECS container instances is affected. If you specify containerInsights
, the default setting for
Amazon Web Services CloudWatch Container Insights for your clusters is affected. If you specify
fargateFIPSMode
, Fargate FIPS 140 compliance is affected. If you specify
tagResourceAuthorization
, 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 you specify
fargateTaskRetirementWaitPeriod
, the wait time to retire a Fargate task is affected.
The guardDutyActivate
parameter is read-only in Amazon ECS and indicates whether Amazon ECS Runtime
Monitoring is enabled or disabled by your security administrator in your Amazon ECS account. Amazon GuardDuty
controls this account setting on your behalf. For more information, see Protecting
Amazon ECS workloads with Amazon ECS Runtime Monitoring.
serviceLongArnFormat
, the ARN for your Amazon ECS services is affected. If you specify
taskLongArnFormat
, the ARN and resource ID for your Amazon ECS tasks is affected. If you
specify containerInstanceLongArnFormat
, the ARN and resource ID for your Amazon ECS
container instances is affected. If you specify awsvpcTrunking
, the elastic network
interface (ENI) limit for your Amazon ECS container instances is affected. If you specify
containerInsights
, the default setting for Amazon Web Services CloudWatch Container Insights
for your clusters is affected. If you specify fargateFIPSMode
, Fargate FIPS 140 compliance
is affected. If you specify tagResourceAuthorization
, 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 you specify
fargateTaskRetirementWaitPeriod
, the wait time to retire a Fargate task is affected.
The guardDutyActivate
parameter is read-only in Amazon ECS and indicates whether Amazon ECS
Runtime Monitoring is enabled or disabled by your security administrator in your Amazon ECS account.
Amazon GuardDuty controls this account setting on your behalf. For more information, see Protecting Amazon ECS workloads with Amazon ECS Runtime Monitoring.
SettingName
public PutAccountSettingRequest withName(String name)
The Amazon ECS resource name for which to modify the account setting. If you specify
serviceLongArnFormat
, the ARN for your Amazon ECS services is affected. If you specify
taskLongArnFormat
, the ARN and resource ID for your Amazon ECS tasks is affected. If you specify
containerInstanceLongArnFormat
, the ARN and resource ID for your Amazon ECS container instances is
affected. If you specify awsvpcTrunking
, the elastic network interface (ENI) limit for your Amazon
ECS container instances is affected. If you specify containerInsights
, the default setting for
Amazon Web Services CloudWatch Container Insights for your clusters is affected. If you specify
fargateFIPSMode
, Fargate FIPS 140 compliance is affected. If you specify
tagResourceAuthorization
, 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 you specify
fargateTaskRetirementWaitPeriod
, the wait time to retire a Fargate task is affected.
The guardDutyActivate
parameter is read-only in Amazon ECS and indicates whether Amazon ECS Runtime
Monitoring is enabled or disabled by your security administrator in your Amazon ECS account. Amazon GuardDuty
controls this account setting on your behalf. For more information, see Protecting
Amazon ECS workloads with Amazon ECS Runtime Monitoring.
name
- The Amazon ECS resource name for which to modify the account setting. If you specify
serviceLongArnFormat
, the ARN for your Amazon ECS services is affected. If you specify
taskLongArnFormat
, the ARN and resource ID for your Amazon ECS tasks is affected. If you
specify containerInstanceLongArnFormat
, the ARN and resource ID for your Amazon ECS container
instances is affected. If you specify awsvpcTrunking
, the elastic network interface (ENI)
limit for your Amazon ECS container instances is affected. If you specify containerInsights
,
the default setting for Amazon Web Services CloudWatch Container Insights for your clusters is affected.
If you specify fargateFIPSMode
, Fargate FIPS 140 compliance is affected. If you specify
tagResourceAuthorization
, 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 you specify
fargateTaskRetirementWaitPeriod
, the wait time to retire a Fargate task is affected.
The guardDutyActivate
parameter is read-only in Amazon ECS and indicates whether Amazon ECS
Runtime Monitoring is enabled or disabled by your security administrator in your Amazon ECS account.
Amazon GuardDuty controls this account setting on your behalf. For more information, see Protecting Amazon ECS workloads with Amazon ECS Runtime Monitoring.
SettingName
public PutAccountSettingRequest withName(SettingName name)
The Amazon ECS resource name for which to modify the account setting. If you specify
serviceLongArnFormat
, the ARN for your Amazon ECS services is affected. If you specify
taskLongArnFormat
, the ARN and resource ID for your Amazon ECS tasks is affected. If you specify
containerInstanceLongArnFormat
, the ARN and resource ID for your Amazon ECS container instances is
affected. If you specify awsvpcTrunking
, the elastic network interface (ENI) limit for your Amazon
ECS container instances is affected. If you specify containerInsights
, the default setting for
Amazon Web Services CloudWatch Container Insights for your clusters is affected. If you specify
fargateFIPSMode
, Fargate FIPS 140 compliance is affected. If you specify
tagResourceAuthorization
, 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 you specify
fargateTaskRetirementWaitPeriod
, the wait time to retire a Fargate task is affected.
The guardDutyActivate
parameter is read-only in Amazon ECS and indicates whether Amazon ECS Runtime
Monitoring is enabled or disabled by your security administrator in your Amazon ECS account. Amazon GuardDuty
controls this account setting on your behalf. For more information, see Protecting
Amazon ECS workloads with Amazon ECS Runtime Monitoring.
name
- The Amazon ECS resource name for which to modify the account setting. If you specify
serviceLongArnFormat
, the ARN for your Amazon ECS services is affected. If you specify
taskLongArnFormat
, the ARN and resource ID for your Amazon ECS tasks is affected. If you
specify containerInstanceLongArnFormat
, the ARN and resource ID for your Amazon ECS container
instances is affected. If you specify awsvpcTrunking
, the elastic network interface (ENI)
limit for your Amazon ECS container instances is affected. If you specify containerInsights
,
the default setting for Amazon Web Services CloudWatch Container Insights for your clusters is affected.
If you specify fargateFIPSMode
, Fargate FIPS 140 compliance is affected. If you specify
tagResourceAuthorization
, 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 you specify
fargateTaskRetirementWaitPeriod
, the wait time to retire a Fargate task is affected.
The guardDutyActivate
parameter is read-only in Amazon ECS and indicates whether Amazon ECS
Runtime Monitoring is enabled or disabled by your security administrator in your Amazon ECS account.
Amazon GuardDuty controls this account setting on your behalf. For more information, see Protecting Amazon ECS workloads with Amazon ECS Runtime Monitoring.
SettingName
public void setValue(String value)
The account setting value for the specified principal ARN. Accepted values are enabled
,
disabled
, on
, and off
.
When you specify fargateTaskRetirementWaitPeriod
for the name
, the following are the
valid values:
0
- Amazon Web Services sends the notification, and immediately retires the affected tasks.
7
- Amazon Web Services sends the notification, and waits 7 calendar days to retire the tasks.
14
- Amazon Web Services sends the notification, and waits 14 calendar days to retire the tasks.
value
- The account setting value for the specified principal ARN. Accepted values are enabled
,
disabled
, on
, and off
.
When you specify fargateTaskRetirementWaitPeriod
for the name
, the following are
the valid values:
0
- Amazon Web Services sends the notification, and immediately retires the affected tasks.
7
- Amazon Web Services sends the notification, and waits 7 calendar days to retire the
tasks.
14
- Amazon Web Services sends the notification, and waits 14 calendar days to retire the
tasks.
public String getValue()
The account setting value for the specified principal ARN. Accepted values are enabled
,
disabled
, on
, and off
.
When you specify fargateTaskRetirementWaitPeriod
for the name
, the following are the
valid values:
0
- Amazon Web Services sends the notification, and immediately retires the affected tasks.
7
- Amazon Web Services sends the notification, and waits 7 calendar days to retire the tasks.
14
- Amazon Web Services sends the notification, and waits 14 calendar days to retire the tasks.
enabled
,
disabled
, on
, and off
.
When you specify fargateTaskRetirementWaitPeriod
for the name
, the following
are the valid values:
0
- Amazon Web Services sends the notification, and immediately retires the affected tasks.
7
- Amazon Web Services sends the notification, and waits 7 calendar days to retire the
tasks.
14
- Amazon Web Services sends the notification, and waits 14 calendar days to retire the
tasks.
public PutAccountSettingRequest withValue(String value)
The account setting value for the specified principal ARN. Accepted values are enabled
,
disabled
, on
, and off
.
When you specify fargateTaskRetirementWaitPeriod
for the name
, the following are the
valid values:
0
- Amazon Web Services sends the notification, and immediately retires the affected tasks.
7
- Amazon Web Services sends the notification, and waits 7 calendar days to retire the tasks.
14
- Amazon Web Services sends the notification, and waits 14 calendar days to retire the tasks.
value
- The account setting value for the specified principal ARN. Accepted values are enabled
,
disabled
, on
, and off
.
When you specify fargateTaskRetirementWaitPeriod
for the name
, the following are
the valid values:
0
- Amazon Web Services sends the notification, and immediately retires the affected tasks.
7
- Amazon Web Services sends the notification, and waits 7 calendar days to retire the
tasks.
14
- Amazon Web Services sends the notification, and waits 14 calendar days to retire the
tasks.
public void setPrincipalArn(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.
You must use the root user when you set the Fargate wait time (fargateTaskRetirementWaitPeriod
).
Federated users assume the account setting of the root user and can't have explicit account settings set for them.
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.
You must use the root user when you set the Fargate wait time (
fargateTaskRetirementWaitPeriod
).
Federated users assume the account setting of the root user and can't have explicit account settings set for them.
public String getPrincipalArn()
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.
You must use the root user when you set the Fargate wait time (fargateTaskRetirementWaitPeriod
).
Federated users assume the account setting of the root user and can't have explicit account settings set for them.
You must use the root user when you set the Fargate wait time (
fargateTaskRetirementWaitPeriod
).
Federated users assume the account setting of the root user and can't have explicit account settings set for them.
public PutAccountSettingRequest withPrincipalArn(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.
You must use the root user when you set the Fargate wait time (fargateTaskRetirementWaitPeriod
).
Federated users assume the account setting of the root user and can't have explicit account settings set for them.
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.
You must use the root user when you set the Fargate wait time (
fargateTaskRetirementWaitPeriod
).
Federated users assume the account setting of the root user and can't have explicit account settings set for them.
public String toString()
toString
in class Object
Object.toString()
public PutAccountSettingRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()