#[non_exhaustive]pub struct IngestionDestinationBuilder { /* private fields */ }Expand description
A builder for IngestionDestination.
Implementations§
source§impl IngestionDestinationBuilder
impl IngestionDestinationBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the ingestion destination.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the ingestion destination.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the ingestion destination.
sourcepub fn ingestion_arn(self, input: impl Into<String>) -> Self
pub fn ingestion_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the ingestion.
sourcepub fn set_ingestion_arn(self, input: Option<String>) -> Self
pub fn set_ingestion_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the ingestion.
sourcepub fn get_ingestion_arn(&self) -> &Option<String>
pub fn get_ingestion_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the ingestion.
sourcepub fn processing_configuration(self, input: ProcessingConfiguration) -> Self
pub fn processing_configuration(self, input: ProcessingConfiguration) -> Self
Contains information about how ingested data is processed.
sourcepub fn set_processing_configuration(
self,
input: Option<ProcessingConfiguration>
) -> Self
pub fn set_processing_configuration( self, input: Option<ProcessingConfiguration> ) -> Self
Contains information about how ingested data is processed.
sourcepub fn get_processing_configuration(&self) -> &Option<ProcessingConfiguration>
pub fn get_processing_configuration(&self) -> &Option<ProcessingConfiguration>
Contains information about how ingested data is processed.
sourcepub fn destination_configuration(self, input: DestinationConfiguration) -> Self
pub fn destination_configuration(self, input: DestinationConfiguration) -> Self
Contains information about the destination of ingested data.
sourcepub fn set_destination_configuration(
self,
input: Option<DestinationConfiguration>
) -> Self
pub fn set_destination_configuration( self, input: Option<DestinationConfiguration> ) -> Self
Contains information about the destination of ingested data.
sourcepub fn get_destination_configuration(&self) -> &Option<DestinationConfiguration>
pub fn get_destination_configuration(&self) -> &Option<DestinationConfiguration>
Contains information about the destination of ingested data.
sourcepub fn status(self, input: IngestionDestinationStatus) -> Self
pub fn status(self, input: IngestionDestinationStatus) -> Self
The state of the ingestion destination.
The following states are possible:
-
Active: The ingestion destination is active and is ready to be used. -
Failed: The ingestion destination has failed. If the ingestion destination is in this state, you should verify the ingestion destination configuration and try again.
sourcepub fn set_status(self, input: Option<IngestionDestinationStatus>) -> Self
pub fn set_status(self, input: Option<IngestionDestinationStatus>) -> Self
The state of the ingestion destination.
The following states are possible:
-
Active: The ingestion destination is active and is ready to be used. -
Failed: The ingestion destination has failed. If the ingestion destination is in this state, you should verify the ingestion destination configuration and try again.
sourcepub fn get_status(&self) -> &Option<IngestionDestinationStatus>
pub fn get_status(&self) -> &Option<IngestionDestinationStatus>
The state of the ingestion destination.
The following states are possible:
-
Active: The ingestion destination is active and is ready to be used. -
Failed: The ingestion destination has failed. If the ingestion destination is in this state, you should verify the ingestion destination configuration and try again.
sourcepub fn status_reason(self, input: impl Into<String>) -> Self
pub fn status_reason(self, input: impl Into<String>) -> Self
The reason for the current status of the ingestion destination.
Only present when the status of ingestion destination is Failed.
sourcepub fn set_status_reason(self, input: Option<String>) -> Self
pub fn set_status_reason(self, input: Option<String>) -> Self
The reason for the current status of the ingestion destination.
Only present when the status of ingestion destination is Failed.
sourcepub fn get_status_reason(&self) -> &Option<String>
pub fn get_status_reason(&self) -> &Option<String>
The reason for the current status of the ingestion destination.
Only present when the status of ingestion destination is Failed.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The timestamp of when the ingestion destination was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The timestamp of when the ingestion destination was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The timestamp of when the ingestion destination was created.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The timestamp of when the ingestion destination was last updated.
sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
The timestamp of when the ingestion destination was last updated.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
The timestamp of when the ingestion destination was last updated.
sourcepub fn build(self) -> IngestionDestination
pub fn build(self) -> IngestionDestination
Consumes the builder and constructs a IngestionDestination.
Trait Implementations§
source§impl Clone for IngestionDestinationBuilder
impl Clone for IngestionDestinationBuilder
source§fn clone(&self) -> IngestionDestinationBuilder
fn clone(&self) -> IngestionDestinationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for IngestionDestinationBuilder
impl Debug for IngestionDestinationBuilder
source§impl Default for IngestionDestinationBuilder
impl Default for IngestionDestinationBuilder
source§fn default() -> IngestionDestinationBuilder
fn default() -> IngestionDestinationBuilder
source§impl PartialEq<IngestionDestinationBuilder> for IngestionDestinationBuilder
impl PartialEq<IngestionDestinationBuilder> for IngestionDestinationBuilder
source§fn eq(&self, other: &IngestionDestinationBuilder) -> bool
fn eq(&self, other: &IngestionDestinationBuilder) -> bool
self and other values to be equal, and is used
by ==.