#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for ElasticsearchDestinationDescription
Implementations
sourceimpl Builder
impl Builder
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the AWS credentials. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the AWS credentials. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
sourcepub fn domain_arn(self, input: impl Into<String>) -> Self
pub fn domain_arn(self, input: impl Into<String>) -> Self
The ARN of the Amazon ES domain. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
Kinesis Data Firehose uses either ClusterEndpoint
or DomainARN
to send data to Amazon ES.
sourcepub fn set_domain_arn(self, input: Option<String>) -> Self
pub fn set_domain_arn(self, input: Option<String>) -> Self
The ARN of the Amazon ES domain. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
Kinesis Data Firehose uses either ClusterEndpoint
or DomainARN
to send data to Amazon ES.
sourcepub fn cluster_endpoint(self, input: impl Into<String>) -> Self
pub fn cluster_endpoint(self, input: impl Into<String>) -> Self
The endpoint to use when communicating with the cluster. Kinesis Data Firehose uses either this ClusterEndpoint
or the DomainARN
field to send data to Amazon ES.
sourcepub fn set_cluster_endpoint(self, input: Option<String>) -> Self
pub fn set_cluster_endpoint(self, input: Option<String>) -> Self
The endpoint to use when communicating with the cluster. Kinesis Data Firehose uses either this ClusterEndpoint
or the DomainARN
field to send data to Amazon ES.
sourcepub fn index_name(self, input: impl Into<String>) -> Self
pub fn index_name(self, input: impl Into<String>) -> Self
The Elasticsearch index name.
sourcepub fn set_index_name(self, input: Option<String>) -> Self
pub fn set_index_name(self, input: Option<String>) -> Self
The Elasticsearch index name.
sourcepub fn type_name(self, input: impl Into<String>) -> Self
pub fn type_name(self, input: impl Into<String>) -> Self
The Elasticsearch type name. This applies to Elasticsearch 6.x and lower versions. For Elasticsearch 7.x, there's no value for TypeName
.
sourcepub fn set_type_name(self, input: Option<String>) -> Self
pub fn set_type_name(self, input: Option<String>) -> Self
The Elasticsearch type name. This applies to Elasticsearch 6.x and lower versions. For Elasticsearch 7.x, there's no value for TypeName
.
sourcepub fn index_rotation_period(
self,
input: ElasticsearchIndexRotationPeriod
) -> Self
pub fn index_rotation_period(
self,
input: ElasticsearchIndexRotationPeriod
) -> Self
The Elasticsearch index rotation period
sourcepub fn set_index_rotation_period(
self,
input: Option<ElasticsearchIndexRotationPeriod>
) -> Self
pub fn set_index_rotation_period(
self,
input: Option<ElasticsearchIndexRotationPeriod>
) -> Self
The Elasticsearch index rotation period
sourcepub fn buffering_hints(self, input: ElasticsearchBufferingHints) -> Self
pub fn buffering_hints(self, input: ElasticsearchBufferingHints) -> Self
The buffering options.
sourcepub fn set_buffering_hints(
self,
input: Option<ElasticsearchBufferingHints>
) -> Self
pub fn set_buffering_hints(
self,
input: Option<ElasticsearchBufferingHints>
) -> Self
The buffering options.
sourcepub fn retry_options(self, input: ElasticsearchRetryOptions) -> Self
pub fn retry_options(self, input: ElasticsearchRetryOptions) -> Self
The Amazon ES retry options.
sourcepub fn set_retry_options(self, input: Option<ElasticsearchRetryOptions>) -> Self
pub fn set_retry_options(self, input: Option<ElasticsearchRetryOptions>) -> Self
The Amazon ES retry options.
sourcepub fn s3_backup_mode(self, input: ElasticsearchS3BackupMode) -> Self
pub fn s3_backup_mode(self, input: ElasticsearchS3BackupMode) -> Self
The Amazon S3 backup mode.
sourcepub fn set_s3_backup_mode(
self,
input: Option<ElasticsearchS3BackupMode>
) -> Self
pub fn set_s3_backup_mode(
self,
input: Option<ElasticsearchS3BackupMode>
) -> Self
The Amazon S3 backup mode.
sourcepub fn s3_destination_description(self, input: S3DestinationDescription) -> Self
pub fn s3_destination_description(self, input: S3DestinationDescription) -> Self
The Amazon S3 destination.
sourcepub fn set_s3_destination_description(
self,
input: Option<S3DestinationDescription>
) -> Self
pub fn set_s3_destination_description(
self,
input: Option<S3DestinationDescription>
) -> Self
The Amazon S3 destination.
sourcepub fn processing_configuration(self, input: ProcessingConfiguration) -> Self
pub fn processing_configuration(self, input: ProcessingConfiguration) -> Self
The data processing configuration.
sourcepub fn set_processing_configuration(
self,
input: Option<ProcessingConfiguration>
) -> Self
pub fn set_processing_configuration(
self,
input: Option<ProcessingConfiguration>
) -> Self
The data processing configuration.
sourcepub fn cloud_watch_logging_options(
self,
input: CloudWatchLoggingOptions
) -> Self
pub fn cloud_watch_logging_options(
self,
input: CloudWatchLoggingOptions
) -> Self
The Amazon CloudWatch logging options.
sourcepub fn set_cloud_watch_logging_options(
self,
input: Option<CloudWatchLoggingOptions>
) -> Self
pub fn set_cloud_watch_logging_options(
self,
input: Option<CloudWatchLoggingOptions>
) -> Self
The Amazon CloudWatch logging options.
sourcepub fn vpc_configuration_description(
self,
input: VpcConfigurationDescription
) -> Self
pub fn vpc_configuration_description(
self,
input: VpcConfigurationDescription
) -> Self
The details of the VPC of the Amazon ES destination.
sourcepub fn set_vpc_configuration_description(
self,
input: Option<VpcConfigurationDescription>
) -> Self
pub fn set_vpc_configuration_description(
self,
input: Option<VpcConfigurationDescription>
) -> Self
The details of the VPC of the Amazon ES destination.
sourcepub fn build(self) -> ElasticsearchDestinationDescription
pub fn build(self) -> ElasticsearchDestinationDescription
Consumes the builder and constructs a ElasticsearchDestinationDescription
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