#[non_exhaustive]pub struct ProjectDataDeliveryConfigBuilder { /* private fields */ }
Expand description
A builder for ProjectDataDeliveryConfig
.
Implementations§
source§impl ProjectDataDeliveryConfigBuilder
impl ProjectDataDeliveryConfigBuilder
sourcepub fn s3_destination(self, input: S3DestinationConfig) -> Self
pub fn s3_destination(self, input: S3DestinationConfig) -> Self
If the project stores evaluation events in an Amazon S3 bucket, this structure stores the bucket name and bucket prefix.
sourcepub fn set_s3_destination(self, input: Option<S3DestinationConfig>) -> Self
pub fn set_s3_destination(self, input: Option<S3DestinationConfig>) -> Self
If the project stores evaluation events in an Amazon S3 bucket, this structure stores the bucket name and bucket prefix.
sourcepub fn get_s3_destination(&self) -> &Option<S3DestinationConfig>
pub fn get_s3_destination(&self) -> &Option<S3DestinationConfig>
If the project stores evaluation events in an Amazon S3 bucket, this structure stores the bucket name and bucket prefix.
sourcepub fn cloud_watch_logs(self, input: CloudWatchLogsDestinationConfig) -> Self
pub fn cloud_watch_logs(self, input: CloudWatchLogsDestinationConfig) -> Self
If the project stores evaluation events in CloudWatch Logs, this structure stores the log group name.
sourcepub fn set_cloud_watch_logs(
self,
input: Option<CloudWatchLogsDestinationConfig>
) -> Self
pub fn set_cloud_watch_logs( self, input: Option<CloudWatchLogsDestinationConfig> ) -> Self
If the project stores evaluation events in CloudWatch Logs, this structure stores the log group name.
sourcepub fn get_cloud_watch_logs(&self) -> &Option<CloudWatchLogsDestinationConfig>
pub fn get_cloud_watch_logs(&self) -> &Option<CloudWatchLogsDestinationConfig>
If the project stores evaluation events in CloudWatch Logs, this structure stores the log group name.
sourcepub fn build(self) -> ProjectDataDeliveryConfig
pub fn build(self) -> ProjectDataDeliveryConfig
Consumes the builder and constructs a ProjectDataDeliveryConfig
.
Trait Implementations§
source§impl Clone for ProjectDataDeliveryConfigBuilder
impl Clone for ProjectDataDeliveryConfigBuilder
source§fn clone(&self) -> ProjectDataDeliveryConfigBuilder
fn clone(&self) -> ProjectDataDeliveryConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ProjectDataDeliveryConfigBuilder
impl Default for ProjectDataDeliveryConfigBuilder
source§fn default() -> ProjectDataDeliveryConfigBuilder
fn default() -> ProjectDataDeliveryConfigBuilder
source§impl PartialEq for ProjectDataDeliveryConfigBuilder
impl PartialEq for ProjectDataDeliveryConfigBuilder
source§fn eq(&self, other: &ProjectDataDeliveryConfigBuilder) -> bool
fn eq(&self, other: &ProjectDataDeliveryConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ProjectDataDeliveryConfigBuilder
Auto Trait Implementations§
impl Freeze for ProjectDataDeliveryConfigBuilder
impl RefUnwindSafe for ProjectDataDeliveryConfigBuilder
impl Send for ProjectDataDeliveryConfigBuilder
impl Sync for ProjectDataDeliveryConfigBuilder
impl Unpin for ProjectDataDeliveryConfigBuilder
impl UnwindSafe for ProjectDataDeliveryConfigBuilder
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