#[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.
This field is required.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 get_source_account_id(&self) -> &Option<String>
pub fn get_source_account_id(&self) -> &Option<String>
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.
This field is required.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 get_source_region(&self) -> &Option<String>
pub fn get_source_region(&self) -> &Option<String>
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.
This field is required.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 get_resource_id(&self) -> &Option<String>
pub fn get_resource_id(&self) -> &Option<String>
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.
This field is required.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 get_resource_type(&self) -> &Option<ResourceType>
pub fn get_resource_type(&self) -> &Option<ResourceType>
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 get_resource_name(&self) -> &Option<String>
pub fn get_resource_name(&self) -> &Option<String>
The name of the Amazon Web Services resource.
sourcepub fn build(self) -> Result<AggregateResourceIdentifier, BuildError>
pub fn build(self) -> Result<AggregateResourceIdentifier, BuildError>
Consumes the builder and constructs a AggregateResourceIdentifier.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for AggregateResourceIdentifierBuilder
impl Clone for AggregateResourceIdentifierBuilder
source§fn clone(&self) -> AggregateResourceIdentifierBuilder
fn clone(&self) -> AggregateResourceIdentifierBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AggregateResourceIdentifierBuilder
impl Default for AggregateResourceIdentifierBuilder
source§fn default() -> AggregateResourceIdentifierBuilder
fn default() -> AggregateResourceIdentifierBuilder
source§impl PartialEq for AggregateResourceIdentifierBuilder
impl PartialEq for AggregateResourceIdentifierBuilder
source§fn eq(&self, other: &AggregateResourceIdentifierBuilder) -> bool
fn eq(&self, other: &AggregateResourceIdentifierBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AggregateResourceIdentifierBuilder
Auto Trait Implementations§
impl Freeze for AggregateResourceIdentifierBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more