Struct aws_sdk_ec2::model::account_attribute::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AccountAttribute
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn attribute_name(self, input: impl Into<String>) -> Self
pub fn attribute_name(self, input: impl Into<String>) -> Self
The name of the account attribute.
sourcepub fn set_attribute_name(self, input: Option<String>) -> Self
pub fn set_attribute_name(self, input: Option<String>) -> Self
The name of the account attribute.
sourcepub fn attribute_values(self, input: AccountAttributeValue) -> Self
pub fn attribute_values(self, input: AccountAttributeValue) -> Self
Appends an item to attribute_values
.
To override the contents of this collection use set_attribute_values
.
The values for the account attribute.
sourcepub fn set_attribute_values(
self,
input: Option<Vec<AccountAttributeValue>>
) -> Self
pub fn set_attribute_values(
self,
input: Option<Vec<AccountAttributeValue>>
) -> Self
The values for the account attribute.
sourcepub fn build(self) -> AccountAttribute
pub fn build(self) -> AccountAttribute
Consumes the builder and constructs a AccountAttribute
.