Struct aws_sdk_ecs::operation::delete_account_setting::builders::DeleteAccountSettingInputBuilder
source · #[non_exhaustive]pub struct DeleteAccountSettingInputBuilder { /* private fields */ }Expand description
A builder for DeleteAccountSettingInput.
Implementations§
source§impl DeleteAccountSettingInputBuilder
impl DeleteAccountSettingInputBuilder
sourcepub fn name(self, input: SettingName) -> Self
pub fn name(self, input: SettingName) -> Self
The resource name to disable the account setting for. 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.
sourcepub fn set_name(self, input: Option<SettingName>) -> Self
pub fn set_name(self, input: Option<SettingName>) -> Self
The resource name to disable the account setting for. 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.
sourcepub fn principal_arn(self, input: impl Into<String>) -> Self
pub fn principal_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the principal. It can be an user, role, or the root user. If you specify the root user, it disables 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.
sourcepub fn set_principal_arn(self, input: Option<String>) -> Self
pub fn set_principal_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the principal. It can be an user, role, or the root user. If you specify the root user, it disables 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.
sourcepub fn build(self) -> Result<DeleteAccountSettingInput, BuildError>
pub fn build(self) -> Result<DeleteAccountSettingInput, BuildError>
Consumes the builder and constructs a DeleteAccountSettingInput.
Trait Implementations§
source§impl Clone for DeleteAccountSettingInputBuilder
impl Clone for DeleteAccountSettingInputBuilder
source§fn clone(&self) -> DeleteAccountSettingInputBuilder
fn clone(&self) -> DeleteAccountSettingInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DeleteAccountSettingInputBuilder
impl Default for DeleteAccountSettingInputBuilder
source§fn default() -> DeleteAccountSettingInputBuilder
fn default() -> DeleteAccountSettingInputBuilder
source§impl PartialEq<DeleteAccountSettingInputBuilder> for DeleteAccountSettingInputBuilder
impl PartialEq<DeleteAccountSettingInputBuilder> for DeleteAccountSettingInputBuilder
source§fn eq(&self, other: &DeleteAccountSettingInputBuilder) -> bool
fn eq(&self, other: &DeleteAccountSettingInputBuilder) -> bool
self and other values to be equal, and is used
by ==.