pub struct Builder { /* private fields */ }
Expand description
A builder for AwsRedshiftClusterLoggingStatus
.
Implementations§
source§impl Builder
impl Builder
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 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 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. 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. 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. 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. 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 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 build(self) -> AwsRedshiftClusterLoggingStatus
pub fn build(self) -> AwsRedshiftClusterLoggingStatus
Consumes the builder and constructs a AwsRedshiftClusterLoggingStatus
.