#[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 ==
.