Struct aws_sdk_rds::input::start_activity_stream_input::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for StartActivityStreamInput.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the DB cluster, for example, arn:aws:rds:us-east-1:12345667890:cluster:das-cluster.
sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the DB cluster, for example, arn:aws:rds:us-east-1:12345667890:cluster:das-cluster.
sourcepub fn mode(self, input: ActivityStreamMode) -> Self
pub fn mode(self, input: ActivityStreamMode) -> Self
Specifies the mode of the database activity stream. Database events such as a change or access generate an activity stream event. The database session can handle these events either synchronously or asynchronously.
sourcepub fn set_mode(self, input: Option<ActivityStreamMode>) -> Self
pub fn set_mode(self, input: Option<ActivityStreamMode>) -> Self
Specifies the mode of the database activity stream. Database events such as a change or access generate an activity stream event. The database session can handle these events either synchronously or asynchronously.
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
The Amazon Web Services KMS key identifier for encrypting messages in the database activity stream. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
The Amazon Web Services KMS key identifier for encrypting messages in the database activity stream. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
sourcepub fn apply_immediately(self, input: bool) -> Self
pub fn apply_immediately(self, input: bool) -> Self
Specifies whether or not the database activity stream is to start as soon as possible, regardless of the maintenance window for the database.
sourcepub fn set_apply_immediately(self, input: Option<bool>) -> Self
pub fn set_apply_immediately(self, input: Option<bool>) -> Self
Specifies whether or not the database activity stream is to start as soon as possible, regardless of the maintenance window for the database.
sourcepub fn engine_native_audit_fields_included(self, input: bool) -> Self
pub fn engine_native_audit_fields_included(self, input: bool) -> Self
Specifies whether the database activity stream includes engine-native audit fields. This option only applies to an Oracle DB instance. By default, no engine-native audit fields are included.
sourcepub fn set_engine_native_audit_fields_included(self, input: Option<bool>) -> Self
pub fn set_engine_native_audit_fields_included(self, input: Option<bool>) -> Self
Specifies whether the database activity stream includes engine-native audit fields. This option only applies to an Oracle DB instance. By default, no engine-native audit fields are included.
sourcepub fn build(self) -> Result<StartActivityStreamInput, BuildError>
pub fn build(self) -> Result<StartActivityStreamInput, BuildError>
Consumes the builder and constructs a StartActivityStreamInput.