#[non_exhaustive]pub struct PutAccountSettingInputBuilder { /* private fields */ }Expand description
A builder for PutAccountSettingInput.
Implementations§
source§impl PutAccountSettingInputBuilder
impl PutAccountSettingInputBuilder
sourcepub fn name(self, input: SettingName) -> Self
pub fn name(self, input: SettingName) -> Self
The Amazon ECS 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 elastic network interface (ENI) limit for your Amazon ECS container instances is affected. If containerInsights is specified, the default setting for CloudWatch Container Insights for your clusters is affected.
sourcepub fn set_name(self, input: Option<SettingName>) -> Self
pub fn set_name(self, input: Option<SettingName>) -> Self
The Amazon ECS 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 elastic network interface (ENI) limit for your Amazon ECS container instances is affected. If containerInsights is specified, the default setting for CloudWatch Container Insights for your clusters is affected.
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 and disabled.
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 and disabled.
sourcepub fn principal_arn(self, input: impl Into<String>) -> Self
pub fn principal_arn(self, input: impl Into<String>) -> Self
The ARN of the principal, which can be an IAM user, IAM role, or the root user. If you specify the root user, it modifies the account setting for all IAM users, IAM roles, and the root user of the account unless an IAM user or role explicitly overrides these settings. If this field is omitted, the setting is changed only for the authenticated user.
Federated users assume the account setting of the root user and can't have explicit account settings set for them.
sourcepub fn set_principal_arn(self, input: Option<String>) -> Self
pub fn set_principal_arn(self, input: Option<String>) -> Self
The ARN of the principal, which can be an IAM user, IAM role, or the root user. If you specify the root user, it modifies the account setting for all IAM users, IAM roles, and the root user of the account unless an IAM user or role explicitly overrides these settings. If this field is omitted, the setting is changed only for the authenticated user.
Federated users assume the account setting of the root user and can't have explicit account settings set for them.
sourcepub fn build(self) -> Result<PutAccountSettingInput, BuildError>
pub fn build(self) -> Result<PutAccountSettingInput, BuildError>
Consumes the builder and constructs a PutAccountSettingInput.
Trait Implementations§
source§impl Clone for PutAccountSettingInputBuilder
impl Clone for PutAccountSettingInputBuilder
source§fn clone(&self) -> PutAccountSettingInputBuilder
fn clone(&self) -> PutAccountSettingInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for PutAccountSettingInputBuilder
impl Default for PutAccountSettingInputBuilder
source§fn default() -> PutAccountSettingInputBuilder
fn default() -> PutAccountSettingInputBuilder
source§impl PartialEq<PutAccountSettingInputBuilder> for PutAccountSettingInputBuilder
impl PartialEq<PutAccountSettingInputBuilder> for PutAccountSettingInputBuilder
source§fn eq(&self, other: &PutAccountSettingInputBuilder) -> bool
fn eq(&self, other: &PutAccountSettingInputBuilder) -> bool
self and other values to be equal, and is used
by ==.