Struct aws_sdk_firehose::model::delivery_stream_description::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for DeliveryStreamDescription
Implementations
sourceimpl Builder
impl Builder
sourcepub fn delivery_stream_name(self, input: impl Into<String>) -> Self
pub fn delivery_stream_name(self, input: impl Into<String>) -> Self
The name of the delivery stream.
sourcepub fn set_delivery_stream_name(self, input: Option<String>) -> Self
pub fn set_delivery_stream_name(self, input: Option<String>) -> Self
The name of the delivery stream.
sourcepub fn delivery_stream_arn(self, input: impl Into<String>) -> Self
pub fn delivery_stream_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the delivery stream. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
sourcepub fn set_delivery_stream_arn(self, input: Option<String>) -> Self
pub fn set_delivery_stream_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the delivery stream. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
sourcepub fn delivery_stream_status(self, input: DeliveryStreamStatus) -> Self
pub fn delivery_stream_status(self, input: DeliveryStreamStatus) -> Self
The status of the delivery stream. If the status of a delivery stream is CREATING_FAILED
, this status doesn't change, and you can't invoke CreateDeliveryStream
again on it. However, you can invoke the DeleteDeliveryStream
operation to delete it.
sourcepub fn set_delivery_stream_status(
self,
input: Option<DeliveryStreamStatus>
) -> Self
pub fn set_delivery_stream_status(
self,
input: Option<DeliveryStreamStatus>
) -> Self
The status of the delivery stream. If the status of a delivery stream is CREATING_FAILED
, this status doesn't change, and you can't invoke CreateDeliveryStream
again on it. However, you can invoke the DeleteDeliveryStream
operation to delete it.
sourcepub fn failure_description(self, input: FailureDescription) -> Self
pub fn failure_description(self, input: FailureDescription) -> Self
Provides details in case one of the following operations fails due to an error related to KMS: CreateDeliveryStream
, DeleteDeliveryStream
, StartDeliveryStreamEncryption
, StopDeliveryStreamEncryption
.
sourcepub fn set_failure_description(self, input: Option<FailureDescription>) -> Self
pub fn set_failure_description(self, input: Option<FailureDescription>) -> Self
Provides details in case one of the following operations fails due to an error related to KMS: CreateDeliveryStream
, DeleteDeliveryStream
, StartDeliveryStreamEncryption
, StopDeliveryStreamEncryption
.
sourcepub fn delivery_stream_encryption_configuration(
self,
input: DeliveryStreamEncryptionConfiguration
) -> Self
pub fn delivery_stream_encryption_configuration(
self,
input: DeliveryStreamEncryptionConfiguration
) -> Self
Indicates the server-side encryption (SSE) status for the delivery stream.
sourcepub fn set_delivery_stream_encryption_configuration(
self,
input: Option<DeliveryStreamEncryptionConfiguration>
) -> Self
pub fn set_delivery_stream_encryption_configuration(
self,
input: Option<DeliveryStreamEncryptionConfiguration>
) -> Self
Indicates the server-side encryption (SSE) status for the delivery stream.
sourcepub fn delivery_stream_type(self, input: DeliveryStreamType) -> Self
pub fn delivery_stream_type(self, input: DeliveryStreamType) -> Self
The delivery stream type. This can be one of the following values:
-
DirectPut
: Provider applications access the delivery stream directly. -
KinesisStreamAsSource
: The delivery stream uses a Kinesis data stream as a source.
sourcepub fn set_delivery_stream_type(self, input: Option<DeliveryStreamType>) -> Self
pub fn set_delivery_stream_type(self, input: Option<DeliveryStreamType>) -> Self
The delivery stream type. This can be one of the following values:
-
DirectPut
: Provider applications access the delivery stream directly. -
KinesisStreamAsSource
: The delivery stream uses a Kinesis data stream as a source.
sourcepub fn version_id(self, input: impl Into<String>) -> Self
pub fn version_id(self, input: impl Into<String>) -> Self
Each time the destination is updated for a delivery stream, the version ID is changed, and the current version ID is required when updating the destination. This is so that the service knows it is applying the changes to the correct version of the delivery stream.
sourcepub fn set_version_id(self, input: Option<String>) -> Self
pub fn set_version_id(self, input: Option<String>) -> Self
Each time the destination is updated for a delivery stream, the version ID is changed, and the current version ID is required when updating the destination. This is so that the service knows it is applying the changes to the correct version of the delivery stream.
sourcepub fn create_timestamp(self, input: DateTime) -> Self
pub fn create_timestamp(self, input: DateTime) -> Self
The date and time that the delivery stream was created.
sourcepub fn set_create_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_create_timestamp(self, input: Option<DateTime>) -> Self
The date and time that the delivery stream was created.
sourcepub fn last_update_timestamp(self, input: DateTime) -> Self
pub fn last_update_timestamp(self, input: DateTime) -> Self
The date and time that the delivery stream was last updated.
sourcepub fn set_last_update_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_last_update_timestamp(self, input: Option<DateTime>) -> Self
The date and time that the delivery stream was last updated.
sourcepub fn source(self, input: SourceDescription) -> Self
pub fn source(self, input: SourceDescription) -> Self
If the DeliveryStreamType
parameter is KinesisStreamAsSource
, a SourceDescription
object describing the source Kinesis data stream.
sourcepub fn set_source(self, input: Option<SourceDescription>) -> Self
pub fn set_source(self, input: Option<SourceDescription>) -> Self
If the DeliveryStreamType
parameter is KinesisStreamAsSource
, a SourceDescription
object describing the source Kinesis data stream.
sourcepub fn destinations(self, input: DestinationDescription) -> Self
pub fn destinations(self, input: DestinationDescription) -> Self
Appends an item to destinations
.
To override the contents of this collection use set_destinations
.
The destinations.
sourcepub fn set_destinations(
self,
input: Option<Vec<DestinationDescription>>
) -> Self
pub fn set_destinations(
self,
input: Option<Vec<DestinationDescription>>
) -> Self
The destinations.
sourcepub fn has_more_destinations(self, input: bool) -> Self
pub fn has_more_destinations(self, input: bool) -> Self
Indicates whether there are more destinations available to list.
sourcepub fn set_has_more_destinations(self, input: Option<bool>) -> Self
pub fn set_has_more_destinations(self, input: Option<bool>) -> Self
Indicates whether there are more destinations available to list.
sourcepub fn build(self) -> DeliveryStreamDescription
pub fn build(self) -> DeliveryStreamDescription
Consumes the builder and constructs a DeliveryStreamDescription
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more