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 interfacePutAccountSettingDefaultRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PutAccountSettingDefaultRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()SettingNamename()The resource name for which to modify the account setting.StringnameAsString()The resource name for which to modify the account setting.List<SdkField<?>>sdkFields()static Class<? extends PutAccountSettingDefaultRequest.Builder>serializableBuilderClass()PutAccountSettingDefaultRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringvalue()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
fargateFIPSModefor thenameandenabledfor 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
fargateTaskRetirementWaitPeriodto 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.If the service returns an enum value that is not available in the current SDK version,
namewill 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
fargateFIPSModefor thenameandenabledfor 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
fargateTaskRetirementWaitPeriodto 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. - 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
fargateFIPSModefor thenameandenabledfor 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
fargateTaskRetirementWaitPeriodto 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.If the service returns an enum value that is not available in the current SDK version,
namewill 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
fargateFIPSModefor thenameandenabledfor 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
fargateTaskRetirementWaitPeriodto 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. - 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
fargateTaskRetirementWaitPeriodfor 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
fargateTaskRetirementWaitPeriodfor 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:
toBuilderin interfaceToCopyableBuilder<PutAccountSettingDefaultRequest.Builder,PutAccountSettingDefaultRequest>- Specified by:
toBuilderin classEcsRequest
-
builder
public static PutAccountSettingDefaultRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends PutAccountSettingDefaultRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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:
getValueForFieldin classSdkRequest
-
-