#[non_exhaustive]pub struct AggregateResourceIdentifierBuilder { /* private fields */ }Expand description
A builder for AggregateResourceIdentifier.
Implementations§
source§impl AggregateResourceIdentifierBuilder
impl AggregateResourceIdentifierBuilder
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§
source§impl Clone for AggregateResourceIdentifierBuilder
impl Clone for AggregateResourceIdentifierBuilder
source§fn clone(&self) -> AggregateResourceIdentifierBuilder
fn clone(&self) -> AggregateResourceIdentifierBuilder
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 Default for AggregateResourceIdentifierBuilder
impl Default for AggregateResourceIdentifierBuilder
source§fn default() -> AggregateResourceIdentifierBuilder
fn default() -> AggregateResourceIdentifierBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AggregateResourceIdentifierBuilder> for AggregateResourceIdentifierBuilder
impl PartialEq<AggregateResourceIdentifierBuilder> for AggregateResourceIdentifierBuilder
source§fn eq(&self, other: &AggregateResourceIdentifierBuilder) -> bool
fn eq(&self, other: &AggregateResourceIdentifierBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AggregateResourceIdentifierBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AggregateResourceIdentifierBuilder
impl Send for AggregateResourceIdentifierBuilder
impl Sync for AggregateResourceIdentifierBuilder
impl Unpin for AggregateResourceIdentifierBuilder
impl UnwindSafe for AggregateResourceIdentifierBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more