Struct aws_sdk_rds::operation::start_activity_stream::builders::StartActivityStreamFluentBuilder
source · pub struct StartActivityStreamFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to StartActivityStream.
Starts a database activity stream to monitor activity on the database. For more information, see Monitoring Amazon Aurora with Database Activity Streams in the Amazon Aurora User Guide or Monitoring Amazon RDS with Database Activity Streams in the Amazon RDS User Guide.
Implementations§
source§impl StartActivityStreamFluentBuilder
impl StartActivityStreamFluentBuilder
sourcepub fn as_input(&self) -> &StartActivityStreamInputBuilder
pub fn as_input(&self) -> &StartActivityStreamInputBuilder
Access the StartActivityStream as a reference.
sourcepub async fn send(
self
) -> Result<StartActivityStreamOutput, SdkError<StartActivityStreamError, HttpResponse>>
pub async fn send( self ) -> Result<StartActivityStreamOutput, SdkError<StartActivityStreamError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<StartActivityStreamOutput, StartActivityStreamError, Self>
pub fn customize( self ) -> CustomizableOperation<StartActivityStreamOutput, StartActivityStreamError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_resource_arn(&self) -> &Option<String>
pub fn get_resource_arn(&self) -> &Option<String>
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 get_mode(&self) -> &Option<ActivityStreamMode>
pub fn get_mode(&self) -> &Option<ActivityStreamMode>
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 get_kms_key_id(&self) -> &Option<String>
pub fn get_kms_key_id(&self) -> &Option<String>
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 get_apply_immediately(&self) -> &Option<bool>
pub fn get_apply_immediately(&self) -> &Option<bool>
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 applies to an Oracle or Microsoft SQL Server 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 applies to an Oracle or Microsoft SQL Server DB instance. By default, no engine-native audit fields are included.
sourcepub fn get_engine_native_audit_fields_included(&self) -> &Option<bool>
pub fn get_engine_native_audit_fields_included(&self) -> &Option<bool>
Specifies whether the database activity stream includes engine-native audit fields. This option applies to an Oracle or Microsoft SQL Server DB instance. By default, no engine-native audit fields are included.
Trait Implementations§
source§impl Clone for StartActivityStreamFluentBuilder
impl Clone for StartActivityStreamFluentBuilder
source§fn clone(&self) -> StartActivityStreamFluentBuilder
fn clone(&self) -> StartActivityStreamFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more