Struct aws_sdk_cloudwatchlogs::types::builders::DeliveryBuilder
source · #[non_exhaustive]pub struct DeliveryBuilder { /* private fields */ }
Expand description
A builder for Delivery
.
Implementations§
source§impl DeliveryBuilder
impl DeliveryBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The unique ID that identifies this delivery in your account.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The unique ID that identifies this delivery in your account.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The unique ID that identifies this delivery in your account.
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.
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.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) that uniquely identifies this delivery.
sourcepub fn delivery_source_name(self, input: impl Into<String>) -> Self
pub fn delivery_source_name(self, input: impl Into<String>) -> Self
The name of the delivery source that is associated with this delivery.
sourcepub fn set_delivery_source_name(self, input: Option<String>) -> Self
pub fn set_delivery_source_name(self, input: Option<String>) -> Self
The name of the delivery source that is associated with this delivery.
sourcepub fn get_delivery_source_name(&self) -> &Option<String>
pub fn get_delivery_source_name(&self) -> &Option<String>
The name of the delivery source that is associated with this delivery.
sourcepub fn delivery_destination_arn(self, input: impl Into<String>) -> Self
pub fn delivery_destination_arn(self, input: impl Into<String>) -> Self
The ARN of the delivery destination that is associated with this delivery.
sourcepub fn set_delivery_destination_arn(self, input: Option<String>) -> Self
pub fn set_delivery_destination_arn(self, input: Option<String>) -> Self
The ARN of the delivery destination that is associated with this delivery.
sourcepub fn get_delivery_destination_arn(&self) -> &Option<String>
pub fn get_delivery_destination_arn(&self) -> &Option<String>
The ARN of the delivery destination that is associated with this delivery.
sourcepub fn delivery_destination_type(self, input: DeliveryDestinationType) -> Self
pub fn delivery_destination_type(self, input: DeliveryDestinationType) -> Self
Displays whether the delivery destination associated with this delivery is CloudWatch Logs, Amazon S3, or Firehose.
sourcepub fn set_delivery_destination_type(
self,
input: Option<DeliveryDestinationType>,
) -> Self
pub fn set_delivery_destination_type( self, input: Option<DeliveryDestinationType>, ) -> Self
Displays whether the delivery destination associated with this delivery is CloudWatch Logs, Amazon S3, or Firehose.
sourcepub fn get_delivery_destination_type(&self) -> &Option<DeliveryDestinationType>
pub fn get_delivery_destination_type(&self) -> &Option<DeliveryDestinationType>
Displays whether the delivery destination associated with this delivery is CloudWatch Logs, Amazon S3, or Firehose.
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.
The tags that have been assigned to this delivery.
The tags that have been assigned to this delivery.
Trait Implementations§
source§impl Clone for DeliveryBuilder
impl Clone for DeliveryBuilder
source§fn clone(&self) -> DeliveryBuilder
fn clone(&self) -> DeliveryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeliveryBuilder
impl Debug for DeliveryBuilder
source§impl Default for DeliveryBuilder
impl Default for DeliveryBuilder
source§fn default() -> DeliveryBuilder
fn default() -> DeliveryBuilder
source§impl PartialEq for DeliveryBuilder
impl PartialEq for DeliveryBuilder
source§fn eq(&self, other: &DeliveryBuilder) -> bool
fn eq(&self, other: &DeliveryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeliveryBuilder
Auto Trait Implementations§
impl Freeze for DeliveryBuilder
impl RefUnwindSafe for DeliveryBuilder
impl Send for DeliveryBuilder
impl Sync for DeliveryBuilder
impl Unpin for DeliveryBuilder
impl UnwindSafe for DeliveryBuilder
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