#[non_exhaustive]pub struct CustomLogSourceResourceBuilder { /* private fields */ }Expand description
A builder for CustomLogSourceResource.
Implementations§
source§impl CustomLogSourceResourceBuilder
impl CustomLogSourceResourceBuilder
sourcepub fn source_name(self, input: impl Into<String>) -> Self
pub fn source_name(self, input: impl Into<String>) -> Self
The name for a third-party custom source. This must be a Regionally unique value.
sourcepub fn set_source_name(self, input: Option<String>) -> Self
pub fn set_source_name(self, input: Option<String>) -> Self
The name for a third-party custom source. This must be a Regionally unique value.
sourcepub fn get_source_name(&self) -> &Option<String>
pub fn get_source_name(&self) -> &Option<String>
The name for a third-party custom 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 third-party custom 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 third-party custom 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 third-party custom source. This must be a Regionally unique value.
sourcepub fn provider(self, input: CustomLogSourceProvider) -> Self
pub fn provider(self, input: CustomLogSourceProvider) -> Self
The details of the log provider for a third-party custom source.
sourcepub fn set_provider(self, input: Option<CustomLogSourceProvider>) -> Self
pub fn set_provider(self, input: Option<CustomLogSourceProvider>) -> Self
The details of the log provider for a third-party custom source.
sourcepub fn get_provider(&self) -> &Option<CustomLogSourceProvider>
pub fn get_provider(&self) -> &Option<CustomLogSourceProvider>
The details of the log provider for a third-party custom source.
sourcepub fn attributes(self, input: CustomLogSourceAttributes) -> Self
pub fn attributes(self, input: CustomLogSourceAttributes) -> Self
The attributes of a third-party custom source.
sourcepub fn set_attributes(self, input: Option<CustomLogSourceAttributes>) -> Self
pub fn set_attributes(self, input: Option<CustomLogSourceAttributes>) -> Self
The attributes of a third-party custom source.
sourcepub fn get_attributes(&self) -> &Option<CustomLogSourceAttributes>
pub fn get_attributes(&self) -> &Option<CustomLogSourceAttributes>
The attributes of a third-party custom source.
sourcepub fn build(self) -> CustomLogSourceResource
pub fn build(self) -> CustomLogSourceResource
Consumes the builder and constructs a CustomLogSourceResource.
Trait Implementations§
source§impl Clone for CustomLogSourceResourceBuilder
impl Clone for CustomLogSourceResourceBuilder
source§fn clone(&self) -> CustomLogSourceResourceBuilder
fn clone(&self) -> CustomLogSourceResourceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CustomLogSourceResourceBuilder
impl Default for CustomLogSourceResourceBuilder
source§fn default() -> CustomLogSourceResourceBuilder
fn default() -> CustomLogSourceResourceBuilder
source§impl PartialEq for CustomLogSourceResourceBuilder
impl PartialEq for CustomLogSourceResourceBuilder
source§fn eq(&self, other: &CustomLogSourceResourceBuilder) -> bool
fn eq(&self, other: &CustomLogSourceResourceBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CustomLogSourceResourceBuilder
Auto Trait Implementations§
impl Freeze for CustomLogSourceResourceBuilder
impl RefUnwindSafe for CustomLogSourceResourceBuilder
impl Send for CustomLogSourceResourceBuilder
impl Sync for CustomLogSourceResourceBuilder
impl Unpin for CustomLogSourceResourceBuilder
impl UnwindSafe for CustomLogSourceResourceBuilder
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