Interface StartActivityStreamRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartActivityStreamRequest.Builder,,StartActivityStreamRequest> RdsRequest.Builder,SdkBuilder<StartActivityStreamRequest.Builder,,StartActivityStreamRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StartActivityStreamRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplyImmediately(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.engineNativeAuditFieldsIncluded(Boolean engineNativeAuditFieldsIncluded) Specifies whether the database activity stream includes engine-native audit fields.The Amazon Web Services KMS key identifier for encrypting messages in the database activity stream.Specifies the mode of the database activity stream.mode(ActivityStreamMode mode) Specifies the mode of the database activity stream.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceArn(String resourceArn) The Amazon Resource Name (ARN) of the DB cluster, for example,arn:aws:rds:us-east-1:12345667890:cluster:das-cluster.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rds.model.RdsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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:
-
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:
-
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
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.
-
overrideConfiguration
StartActivityStreamRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartActivityStreamRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-