Struct aws_sdk_ecs::operation::put_account_setting_default::builders::PutAccountSettingDefaultInputBuilder
source · #[non_exhaustive]pub struct PutAccountSettingDefaultInputBuilder { /* private fields */ }
Expand description
A builder for PutAccountSettingDefaultInput
.
Implementations§
source§impl PutAccountSettingDefaultInputBuilder
impl PutAccountSettingDefaultInputBuilder
sourcepub fn name(self, input: SettingName) -> Self
pub fn name(self, input: SettingName) -> Self
The 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 ENI limit for your Amazon ECS container instances is affected. If containerInsights
is specified, the default setting for Amazon Web Services CloudWatch Container Insights for your clusters is affected. If tagResourceAuthorization
is specified, 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.
When you specify fargateFIPSMode
for the name
and enabled
for the value
, 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.
sourcepub fn set_name(self, input: Option<SettingName>) -> Self
pub fn set_name(self, input: Option<SettingName>) -> Self
The 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 ENI limit for your Amazon ECS container instances is affected. If containerInsights
is specified, the default setting for Amazon Web Services CloudWatch Container Insights for your clusters is affected. If tagResourceAuthorization
is specified, 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.
When you specify fargateFIPSMode
for the name
and enabled
for the value
, 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.
sourcepub fn get_name(&self) -> &Option<SettingName>
pub fn get_name(&self) -> &Option<SettingName>
The 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 ENI limit for your Amazon ECS container instances is affected. If containerInsights
is specified, the default setting for Amazon Web Services CloudWatch Container Insights for your clusters is affected. If tagResourceAuthorization
is specified, 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.
When you specify fargateFIPSMode
for the name
and enabled
for the value
, 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.
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
The account setting value for the specified principal ARN. Accepted values are enabled
, disabled
, on
, and off
.
sourcepub fn set_value(self, input: Option<String>) -> Self
pub fn set_value(self, input: Option<String>) -> Self
The account setting value for the specified principal ARN. Accepted values are enabled
, disabled
, on
, and off
.
sourcepub fn get_value(&self) -> &Option<String>
pub fn get_value(&self) -> &Option<String>
The account setting value for the specified principal ARN. Accepted values are enabled
, disabled
, on
, and off
.
sourcepub fn build(self) -> Result<PutAccountSettingDefaultInput, BuildError>
pub fn build(self) -> Result<PutAccountSettingDefaultInput, BuildError>
Consumes the builder and constructs a PutAccountSettingDefaultInput
.
source§impl PutAccountSettingDefaultInputBuilder
impl PutAccountSettingDefaultInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<PutAccountSettingDefaultOutput, SdkError<PutAccountSettingDefaultError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<PutAccountSettingDefaultOutput, SdkError<PutAccountSettingDefaultError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PutAccountSettingDefaultInputBuilder
impl Clone for PutAccountSettingDefaultInputBuilder
source§fn clone(&self) -> PutAccountSettingDefaultInputBuilder
fn clone(&self) -> PutAccountSettingDefaultInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PutAccountSettingDefaultInputBuilder
impl Default for PutAccountSettingDefaultInputBuilder
source§fn default() -> PutAccountSettingDefaultInputBuilder
fn default() -> PutAccountSettingDefaultInputBuilder
source§impl PartialEq<PutAccountSettingDefaultInputBuilder> for PutAccountSettingDefaultInputBuilder
impl PartialEq<PutAccountSettingDefaultInputBuilder> for PutAccountSettingDefaultInputBuilder
source§fn eq(&self, other: &PutAccountSettingDefaultInputBuilder) -> bool
fn eq(&self, other: &PutAccountSettingDefaultInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.