Interface StartActivityStreamRequest.Builder

    • Method Detail

      • resourceArn

        StartActivityStreamRequest.Builder resourceArn​(String resourceArn)

        The Amazon Resource Name (ARN) of the DB cluster, for example, arn:aws:rds:us-east-1:12345667890:cluster:das-cluster.

        Parameters:
        resourceArn - The Amazon Resource Name (ARN) of the DB cluster, for example, arn:aws:rds:us-east-1:12345667890:cluster:das-cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mode

        StartActivityStreamRequest.Builder mode​(String mode)

        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.

        Parameters:
        mode - 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ActivityStreamMode, ActivityStreamMode
      • mode

        StartActivityStreamRequest.Builder mode​(ActivityStreamMode mode)

        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.

        Parameters:
        mode - 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ActivityStreamMode, ActivityStreamMode
      • kmsKeyId

        StartActivityStreamRequest.Builder kmsKeyId​(String kmsKeyId)

        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.

        Parameters:
        kmsKeyId - 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • applyImmediately

        StartActivityStreamRequest.Builder applyImmediately​(Boolean applyImmediately)

        Specifies whether or not the database activity stream is to start as soon as possible, regardless of the maintenance window for the database.

        Parameters:
        applyImmediately - Specifies whether or not the database activity stream is to start as soon as possible, regardless of the maintenance window for the database.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • engineNativeAuditFieldsIncluded

        StartActivityStreamRequest.Builder engineNativeAuditFieldsIncluded​(Boolean engineNativeAuditFieldsIncluded)

        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.

        Parameters:
        engineNativeAuditFieldsIncluded - 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.