#[non_exhaustive]pub struct AwsLogSourceResourceBuilder { /* private fields */ }Expand description
A builder for AwsLogSourceResource.
Implementations§
source§impl AwsLogSourceResourceBuilder
impl AwsLogSourceResourceBuilder
sourcepub fn source_name(self, input: AwsLogSourceName) -> Self
pub fn source_name(self, input: AwsLogSourceName) -> Self
The name for a Amazon Web Services source. This must be a Regionally unique value.
sourcepub fn set_source_name(self, input: Option<AwsLogSourceName>) -> Self
pub fn set_source_name(self, input: Option<AwsLogSourceName>) -> Self
The name for a Amazon Web Services source. This must be a Regionally unique value.
sourcepub fn get_source_name(&self) -> &Option<AwsLogSourceName>
pub fn get_source_name(&self) -> &Option<AwsLogSourceName>
The name for a Amazon Web Services source. This must be a Regionally unique value.
sourcepub fn source_version(self, input: impl Into<String>) -> Self
pub fn source_version(self, input: impl Into<String>) -> Self
The version for a Amazon Web Services source. This must be a Regionally unique value.
sourcepub fn set_source_version(self, input: Option<String>) -> Self
pub fn set_source_version(self, input: Option<String>) -> Self
The version for a Amazon Web Services source. This must be a Regionally unique value.
sourcepub fn get_source_version(&self) -> &Option<String>
pub fn get_source_version(&self) -> &Option<String>
The version for a Amazon Web Services source. This must be a Regionally unique value.
sourcepub fn build(self) -> AwsLogSourceResource
pub fn build(self) -> AwsLogSourceResource
Consumes the builder and constructs a AwsLogSourceResource.
Trait Implementations§
source§impl Clone for AwsLogSourceResourceBuilder
impl Clone for AwsLogSourceResourceBuilder
source§fn clone(&self) -> AwsLogSourceResourceBuilder
fn clone(&self) -> AwsLogSourceResourceBuilder
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 AwsLogSourceResourceBuilder
impl Debug for AwsLogSourceResourceBuilder
source§impl Default for AwsLogSourceResourceBuilder
impl Default for AwsLogSourceResourceBuilder
source§fn default() -> AwsLogSourceResourceBuilder
fn default() -> AwsLogSourceResourceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AwsLogSourceResourceBuilder
impl PartialEq for AwsLogSourceResourceBuilder
source§fn eq(&self, other: &AwsLogSourceResourceBuilder) -> bool
fn eq(&self, other: &AwsLogSourceResourceBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AwsLogSourceResourceBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AwsLogSourceResourceBuilder
impl Send for AwsLogSourceResourceBuilder
impl Sync for AwsLogSourceResourceBuilder
impl Unpin for AwsLogSourceResourceBuilder
impl UnwindSafe for AwsLogSourceResourceBuilder
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
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>
Creates a shared type from an unshared type.