Struct aws_sdk_ecs::types::builders::SettingBuilder
source · #[non_exhaustive]pub struct SettingBuilder { /* private fields */ }Expand description
A builder for Setting.
Implementations§
source§impl SettingBuilder
impl SettingBuilder
sourcepub fn name(self, input: SettingName) -> Self
pub fn name(self, input: SettingName) -> Self
The Amazon ECS resource name.
sourcepub fn set_name(self, input: Option<SettingName>) -> Self
pub fn set_name(self, input: Option<SettingName>) -> Self
The Amazon ECS resource name.
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
Determines whether the account setting is enabled or disabled for the specified resource.
sourcepub fn set_value(self, input: Option<String>) -> Self
pub fn set_value(self, input: Option<String>) -> Self
Determines whether the account setting is enabled or disabled for the specified resource.
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. It can be an IAM user, IAM role, or the root user. If this field is omitted, the authenticated user is assumed.
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. It can be an IAM user, IAM role, or the root user. If this field is omitted, the authenticated user is assumed.
Trait Implementations§
source§impl Clone for SettingBuilder
impl Clone for SettingBuilder
source§fn clone(&self) -> SettingBuilder
fn clone(&self) -> SettingBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SettingBuilder
impl Debug for SettingBuilder
source§impl Default for SettingBuilder
impl Default for SettingBuilder
source§fn default() -> SettingBuilder
fn default() -> SettingBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<SettingBuilder> for SettingBuilder
impl PartialEq<SettingBuilder> for SettingBuilder
source§fn eq(&self, other: &SettingBuilder) -> bool
fn eq(&self, other: &SettingBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.