#[non_exhaustive]pub struct DeliveryDestinationConfigurationBuilder { /* private fields */ }
Expand description
A builder for DeliveryDestinationConfiguration
.
Implementations§
source§impl DeliveryDestinationConfigurationBuilder
impl DeliveryDestinationConfigurationBuilder
sourcepub fn destination_resource_arn(self, input: impl Into<String>) -> Self
pub fn destination_resource_arn(self, input: impl Into<String>) -> Self
The ARN of the Amazon Web Services destination that this delivery destination represents. That Amazon Web Services destination can be a log group in CloudWatch Logs, an Amazon S3 bucket, or a delivery stream in Firehose.
This field is required.sourcepub fn set_destination_resource_arn(self, input: Option<String>) -> Self
pub fn set_destination_resource_arn(self, input: Option<String>) -> Self
The ARN of the Amazon Web Services destination that this delivery destination represents. That Amazon Web Services destination can be a log group in CloudWatch Logs, an Amazon S3 bucket, or a delivery stream in Firehose.
sourcepub fn get_destination_resource_arn(&self) -> &Option<String>
pub fn get_destination_resource_arn(&self) -> &Option<String>
The ARN of the Amazon Web Services destination that this delivery destination represents. That Amazon Web Services destination can be a log group in CloudWatch Logs, an Amazon S3 bucket, or a delivery stream in Firehose.
sourcepub fn build(self) -> Result<DeliveryDestinationConfiguration, BuildError>
pub fn build(self) -> Result<DeliveryDestinationConfiguration, BuildError>
Consumes the builder and constructs a DeliveryDestinationConfiguration
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DeliveryDestinationConfigurationBuilder
impl Clone for DeliveryDestinationConfigurationBuilder
source§fn clone(&self) -> DeliveryDestinationConfigurationBuilder
fn clone(&self) -> DeliveryDestinationConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DeliveryDestinationConfigurationBuilder
impl Default for DeliveryDestinationConfigurationBuilder
source§fn default() -> DeliveryDestinationConfigurationBuilder
fn default() -> DeliveryDestinationConfigurationBuilder
source§impl PartialEq for DeliveryDestinationConfigurationBuilder
impl PartialEq for DeliveryDestinationConfigurationBuilder
source§fn eq(&self, other: &DeliveryDestinationConfigurationBuilder) -> bool
fn eq(&self, other: &DeliveryDestinationConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeliveryDestinationConfigurationBuilder
Auto Trait Implementations§
impl Freeze for DeliveryDestinationConfigurationBuilder
impl RefUnwindSafe for DeliveryDestinationConfigurationBuilder
impl Send for DeliveryDestinationConfigurationBuilder
impl Sync for DeliveryDestinationConfigurationBuilder
impl Unpin for DeliveryDestinationConfigurationBuilder
impl UnwindSafe for DeliveryDestinationConfigurationBuilder
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