Class PutAccountSettingDefaultRequest
- 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.PutAccountSettingDefaultRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<PutAccountSettingDefaultRequest.Builder,PutAccountSettingDefaultRequest>
@Generated("software.amazon.awssdk:codegen") public final class PutAccountSettingDefaultRequest extends EcsRequest implements ToCopyableBuilder<PutAccountSettingDefaultRequest.Builder,PutAccountSettingDefaultRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
PutAccountSettingDefaultRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PutAccountSettingDefaultRequest.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
SettingName
name()
The resource name for which to modify the account setting.String
nameAsString()
The resource name for which to modify the account setting.List<SdkField<?>>
sdkFields()
static Class<? extends PutAccountSettingDefaultRequest.Builder>
serializableBuilderClass()
PutAccountSettingDefaultRequest.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
value()
The account setting value for the specified principal ARN.-
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 for which to modify the account setting. If you specify
serviceLongArnFormat
, the ARN for your Amazon ECS services is affected. If you specifytaskLongArnFormat
, the ARN and resource ID for your Amazon ECS tasks is affected. If you specifycontainerInstanceLongArnFormat
, the ARN and resource ID for your Amazon ECS container instances is affected. If you specifyawsvpcTrunking
, the ENI limit for your Amazon ECS container instances is affected. If you specifycontainerInsights
, the default setting for Amazon Web Services CloudWatch Container Insights for your clusters is affected. If you specifytagResourceAuthorization
, 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 specifyfargateTaskRetirementWaitPeriod
, the default wait time to retire a Fargate task due to required maintenance is affected.When you specify
fargateFIPSMode
for thename
andenabled
for thevalue
, Fargate uses FIPS-140 compliant cryptographic algorithms on your tasks. For more information about FIPS-140 compliance with Fargate, see Amazon Web Services Fargate Federal Information Processing Standard (FIPS) 140-2 compliance in the Amazon Elastic Container Service Developer Guide.When Amazon Web Services determines that a security or infrastructure update is needed for an Amazon ECS task hosted on Fargate, the tasks need to be stopped and new tasks launched to replace them. Use
fargateTaskRetirementWaitPeriod
to set the wait time to retire a Fargate task to the default. For information about the Fargate tasks maintenance, see Amazon Web Services Fargate task maintenance in the Amazon ECS Developer Guide.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.If the service returns an enum value that is not available in the current SDK version,
name
will returnSettingName.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromnameAsString()
.- Returns:
- The resource name for which to modify the account setting. If you specify
serviceLongArnFormat
, the ARN for your Amazon ECS services is affected. If you specifytaskLongArnFormat
, the ARN and resource ID for your Amazon ECS tasks is affected. If you specifycontainerInstanceLongArnFormat
, the ARN and resource ID for your Amazon ECS container instances is affected. If you specifyawsvpcTrunking
, the ENI limit for your Amazon ECS container instances is affected. If you specifycontainerInsights
, the default setting for Amazon Web Services CloudWatch Container Insights for your clusters is affected. If you specifytagResourceAuthorization
, 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 specifyfargateTaskRetirementWaitPeriod
, the default wait time to retire a Fargate task due to required maintenance is affected.When you specify
fargateFIPSMode
for thename
andenabled
for thevalue
, Fargate uses FIPS-140 compliant cryptographic algorithms on your tasks. For more information about FIPS-140 compliance with Fargate, see Amazon Web Services Fargate Federal Information Processing Standard (FIPS) 140-2 compliance in the Amazon Elastic Container Service Developer Guide.When Amazon Web Services determines that a security or infrastructure update is needed for an Amazon ECS task hosted on Fargate, the tasks need to be stopped and new tasks launched to replace them. Use
fargateTaskRetirementWaitPeriod
to set the wait time to retire a Fargate task to the default. For information about the Fargate tasks maintenance, see Amazon Web Services Fargate task maintenance in the Amazon ECS Developer Guide.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. - See Also:
SettingName
-
nameAsString
public final String nameAsString()
The resource name for which to modify the account setting. If you specify
serviceLongArnFormat
, the ARN for your Amazon ECS services is affected. If you specifytaskLongArnFormat
, the ARN and resource ID for your Amazon ECS tasks is affected. If you specifycontainerInstanceLongArnFormat
, the ARN and resource ID for your Amazon ECS container instances is affected. If you specifyawsvpcTrunking
, the ENI limit for your Amazon ECS container instances is affected. If you specifycontainerInsights
, the default setting for Amazon Web Services CloudWatch Container Insights for your clusters is affected. If you specifytagResourceAuthorization
, 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 specifyfargateTaskRetirementWaitPeriod
, the default wait time to retire a Fargate task due to required maintenance is affected.When you specify
fargateFIPSMode
for thename
andenabled
for thevalue
, Fargate uses FIPS-140 compliant cryptographic algorithms on your tasks. For more information about FIPS-140 compliance with Fargate, see Amazon Web Services Fargate Federal Information Processing Standard (FIPS) 140-2 compliance in the Amazon Elastic Container Service Developer Guide.When Amazon Web Services determines that a security or infrastructure update is needed for an Amazon ECS task hosted on Fargate, the tasks need to be stopped and new tasks launched to replace them. Use
fargateTaskRetirementWaitPeriod
to set the wait time to retire a Fargate task to the default. For information about the Fargate tasks maintenance, see Amazon Web Services Fargate task maintenance in the Amazon ECS Developer Guide.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.If the service returns an enum value that is not available in the current SDK version,
name
will returnSettingName.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromnameAsString()
.- Returns:
- The resource name for which to modify the account setting. If you specify
serviceLongArnFormat
, the ARN for your Amazon ECS services is affected. If you specifytaskLongArnFormat
, the ARN and resource ID for your Amazon ECS tasks is affected. If you specifycontainerInstanceLongArnFormat
, the ARN and resource ID for your Amazon ECS container instances is affected. If you specifyawsvpcTrunking
, the ENI limit for your Amazon ECS container instances is affected. If you specifycontainerInsights
, the default setting for Amazon Web Services CloudWatch Container Insights for your clusters is affected. If you specifytagResourceAuthorization
, 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 specifyfargateTaskRetirementWaitPeriod
, the default wait time to retire a Fargate task due to required maintenance is affected.When you specify
fargateFIPSMode
for thename
andenabled
for thevalue
, Fargate uses FIPS-140 compliant cryptographic algorithms on your tasks. For more information about FIPS-140 compliance with Fargate, see Amazon Web Services Fargate Federal Information Processing Standard (FIPS) 140-2 compliance in the Amazon Elastic Container Service Developer Guide.When Amazon Web Services determines that a security or infrastructure update is needed for an Amazon ECS task hosted on Fargate, the tasks need to be stopped and new tasks launched to replace them. Use
fargateTaskRetirementWaitPeriod
to set the wait time to retire a Fargate task to the default. For information about the Fargate tasks maintenance, see Amazon Web Services Fargate task maintenance in the Amazon ECS Developer Guide.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. - See Also:
SettingName
-
value
public final String value()
The account setting value for the specified principal ARN. Accepted values are
enabled
,disabled
,on
, andoff
.When you specify
fargateTaskRetirementWaitPeriod
for thename
, 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.
- Returns:
- The account setting value for the specified principal ARN. Accepted values are
enabled
,disabled
,on
, andoff
.When you specify
fargateTaskRetirementWaitPeriod
for thename
, 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.
-
-
-
toBuilder
public PutAccountSettingDefaultRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<PutAccountSettingDefaultRequest.Builder,PutAccountSettingDefaultRequest>
- Specified by:
toBuilder
in classEcsRequest
-
builder
public static PutAccountSettingDefaultRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends PutAccountSettingDefaultRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
getValueForField
in classSdkRequest
-
-