#[non_exhaustive]pub struct DeliverySourceBuilder { /* private fields */ }
Expand description
A builder for DeliverySource
.
Implementations§
source§impl DeliverySourceBuilder
impl DeliverySourceBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
sourcepub fn resource_arns(self, input: impl Into<String>) -> Self
pub fn resource_arns(self, input: impl Into<String>) -> Self
Appends an item to resource_arns
.
To override the contents of this collection use set_resource_arns
.
This array contains the ARN of the Amazon Web Services resource that sends logs and is represented by this delivery source. Currently, only one ARN can be in the array.
sourcepub fn set_resource_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_resource_arns(self, input: Option<Vec<String>>) -> Self
This array contains the ARN of the Amazon Web Services resource that sends logs and is represented by this delivery source. Currently, only one ARN can be in the array.
sourcepub fn get_resource_arns(&self) -> &Option<Vec<String>>
pub fn get_resource_arns(&self) -> &Option<Vec<String>>
This array contains the ARN of the Amazon Web Services resource that sends logs and is represented by this delivery source. Currently, only one ARN can be in the array.
sourcepub fn service(self, input: impl Into<String>) -> Self
pub fn service(self, input: impl Into<String>) -> Self
The Amazon Web Services service that is sending logs.
sourcepub fn set_service(self, input: Option<String>) -> Self
pub fn set_service(self, input: Option<String>) -> Self
The Amazon Web Services service that is sending logs.
sourcepub fn get_service(&self) -> &Option<String>
pub fn get_service(&self) -> &Option<String>
The Amazon Web Services service that is sending logs.
sourcepub fn log_type(self, input: impl Into<String>) -> Self
pub fn log_type(self, input: impl Into<String>) -> Self
The type of log that the source is sending. For valid values for this parameter, see the documentation for the source service.
sourcepub fn set_log_type(self, input: Option<String>) -> Self
pub fn set_log_type(self, input: Option<String>) -> Self
The type of log that the source is sending. For valid values for this parameter, see the documentation for the source service.
sourcepub fn get_log_type(&self) -> &Option<String>
pub fn get_log_type(&self) -> &Option<String>
The type of log that the source is sending. For valid values for this parameter, see the documentation for the source service.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags that have been assigned to this delivery source.
The tags that have been assigned to this delivery source.
The tags that have been assigned to this delivery source.
sourcepub fn build(self) -> DeliverySource
pub fn build(self) -> DeliverySource
Consumes the builder and constructs a DeliverySource
.
Trait Implementations§
source§impl Clone for DeliverySourceBuilder
impl Clone for DeliverySourceBuilder
source§fn clone(&self) -> DeliverySourceBuilder
fn clone(&self) -> DeliverySourceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeliverySourceBuilder
impl Debug for DeliverySourceBuilder
source§impl Default for DeliverySourceBuilder
impl Default for DeliverySourceBuilder
source§fn default() -> DeliverySourceBuilder
fn default() -> DeliverySourceBuilder
source§impl PartialEq for DeliverySourceBuilder
impl PartialEq for DeliverySourceBuilder
source§fn eq(&self, other: &DeliverySourceBuilder) -> bool
fn eq(&self, other: &DeliverySourceBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeliverySourceBuilder
Auto Trait Implementations§
impl Freeze for DeliverySourceBuilder
impl RefUnwindSafe for DeliverySourceBuilder
impl Send for DeliverySourceBuilder
impl Sync for DeliverySourceBuilder
impl Unpin for DeliverySourceBuilder
impl UnwindSafe for DeliverySourceBuilder
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> 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