#[non_exhaustive]pub struct AwsRedshiftClusterLoggingStatusBuilder { /* private fields */ }
Expand description
A builder for AwsRedshiftClusterLoggingStatus
.
Implementations§
source§impl AwsRedshiftClusterLoggingStatusBuilder
impl AwsRedshiftClusterLoggingStatusBuilder
sourcepub fn bucket_name(self, input: impl Into<String>) -> Self
pub fn bucket_name(self, input: impl Into<String>) -> Self
The name of the S3 bucket where the log files are stored.
sourcepub fn set_bucket_name(self, input: Option<String>) -> Self
pub fn set_bucket_name(self, input: Option<String>) -> Self
The name of the S3 bucket where the log files are stored.
sourcepub fn get_bucket_name(&self) -> &Option<String>
pub fn get_bucket_name(&self) -> &Option<String>
The name of the S3 bucket where the log files are stored.
sourcepub fn last_failure_message(self, input: impl Into<String>) -> Self
pub fn last_failure_message(self, input: impl Into<String>) -> Self
The message indicating that the logs failed to be delivered.
sourcepub fn set_last_failure_message(self, input: Option<String>) -> Self
pub fn set_last_failure_message(self, input: Option<String>) -> Self
The message indicating that the logs failed to be delivered.
sourcepub fn get_last_failure_message(&self) -> &Option<String>
pub fn get_last_failure_message(&self) -> &Option<String>
The message indicating that the logs failed to be delivered.
sourcepub fn last_failure_time(self, input: impl Into<String>) -> Self
pub fn last_failure_time(self, input: impl Into<String>) -> Self
The last time when logs failed to be delivered.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn set_last_failure_time(self, input: Option<String>) -> Self
pub fn set_last_failure_time(self, input: Option<String>) -> Self
The last time when logs failed to be delivered.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn get_last_failure_time(&self) -> &Option<String>
pub fn get_last_failure_time(&self) -> &Option<String>
The last time when logs failed to be delivered.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn last_successful_delivery_time(self, input: impl Into<String>) -> Self
pub fn last_successful_delivery_time(self, input: impl Into<String>) -> Self
The last time that logs were delivered successfully.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn set_last_successful_delivery_time(self, input: Option<String>) -> Self
pub fn set_last_successful_delivery_time(self, input: Option<String>) -> Self
The last time that logs were delivered successfully.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn get_last_successful_delivery_time(&self) -> &Option<String>
pub fn get_last_successful_delivery_time(&self) -> &Option<String>
The last time that logs were delivered successfully.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn logging_enabled(self, input: bool) -> Self
pub fn logging_enabled(self, input: bool) -> Self
Indicates whether logging is enabled.
sourcepub fn set_logging_enabled(self, input: Option<bool>) -> Self
pub fn set_logging_enabled(self, input: Option<bool>) -> Self
Indicates whether logging is enabled.
sourcepub fn get_logging_enabled(&self) -> &Option<bool>
pub fn get_logging_enabled(&self) -> &Option<bool>
Indicates whether logging is enabled.
sourcepub fn s3_key_prefix(self, input: impl Into<String>) -> Self
pub fn s3_key_prefix(self, input: impl Into<String>) -> Self
Provides the prefix applied to the log file names.
sourcepub fn set_s3_key_prefix(self, input: Option<String>) -> Self
pub fn set_s3_key_prefix(self, input: Option<String>) -> Self
Provides the prefix applied to the log file names.
sourcepub fn get_s3_key_prefix(&self) -> &Option<String>
pub fn get_s3_key_prefix(&self) -> &Option<String>
Provides the prefix applied to the log file names.
sourcepub fn build(self) -> AwsRedshiftClusterLoggingStatus
pub fn build(self) -> AwsRedshiftClusterLoggingStatus
Consumes the builder and constructs a AwsRedshiftClusterLoggingStatus
.
Trait Implementations§
source§impl Clone for AwsRedshiftClusterLoggingStatusBuilder
impl Clone for AwsRedshiftClusterLoggingStatusBuilder
source§fn clone(&self) -> AwsRedshiftClusterLoggingStatusBuilder
fn clone(&self) -> AwsRedshiftClusterLoggingStatusBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsRedshiftClusterLoggingStatusBuilder
impl Default for AwsRedshiftClusterLoggingStatusBuilder
source§fn default() -> AwsRedshiftClusterLoggingStatusBuilder
fn default() -> AwsRedshiftClusterLoggingStatusBuilder
source§impl PartialEq for AwsRedshiftClusterLoggingStatusBuilder
impl PartialEq for AwsRedshiftClusterLoggingStatusBuilder
source§fn eq(&self, other: &AwsRedshiftClusterLoggingStatusBuilder) -> bool
fn eq(&self, other: &AwsRedshiftClusterLoggingStatusBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.