#[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.
This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
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.
This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
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.
This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
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.
This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
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.
This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
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.
This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
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 ==.