Struct aws_sdk_config::model::aggregate_resource_identifier::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for AggregateResourceIdentifier.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn source_account_id(self, input: impl Into<String>) -> Self
pub fn source_account_id(self, input: impl Into<String>) -> Self
The 12-digit account ID of the source account.
sourcepub fn set_source_account_id(self, input: Option<String>) -> Self
pub fn set_source_account_id(self, input: Option<String>) -> Self
The 12-digit account ID of the source account.
sourcepub fn source_region(self, input: impl Into<String>) -> Self
pub fn source_region(self, input: impl Into<String>) -> Self
The source region where data is aggregated.
sourcepub fn set_source_region(self, input: Option<String>) -> Self
pub fn set_source_region(self, input: Option<String>) -> Self
The source region where data is aggregated.
sourcepub fn resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services resource.
sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
The ID of the Amazon Web Services resource.
sourcepub fn resource_type(self, input: ResourceType) -> Self
pub fn resource_type(self, input: ResourceType) -> Self
The type of the Amazon Web Services resource.
sourcepub fn set_resource_type(self, input: Option<ResourceType>) -> Self
pub fn set_resource_type(self, input: Option<ResourceType>) -> Self
The type of the Amazon Web Services resource.
sourcepub fn resource_name(self, input: impl Into<String>) -> Self
pub fn resource_name(self, input: impl Into<String>) -> Self
The name of the Amazon Web Services resource.
sourcepub fn set_resource_name(self, input: Option<String>) -> Self
pub fn set_resource_name(self, input: Option<String>) -> Self
The name of the Amazon Web Services resource.
sourcepub fn build(self) -> AggregateResourceIdentifier
pub fn build(self) -> AggregateResourceIdentifier
Consumes the builder and constructs a AggregateResourceIdentifier.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more