Interface DatabaseCloudWatchLogsDeliveryConfigRequest.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DatabaseCloudWatchLogsDeliveryConfigRequest.Builder,,DatabaseCloudWatchLogsDeliveryConfigRequest> SdkBuilder<DatabaseCloudWatchLogsDeliveryConfigRequest.Builder,,DatabaseCloudWatchLogsDeliveryConfigRequest> SdkPojo
- Enclosing class:
DatabaseCloudWatchLogsDeliveryConfigRequest
@Mutable
@NotThreadSafe
public static interface DatabaseCloudWatchLogsDeliveryConfigRequest.Builder
extends SdkPojo, CopyableBuilder<DatabaseCloudWatchLogsDeliveryConfigRequest.Builder,DatabaseCloudWatchLogsDeliveryConfigRequest>
-
Method Summary
Modifier and TypeMethodDescriptionsamplingRate(Integer samplingRate) The percentage of database log lines to deliver to CloudWatch Logs.Specifies whether to deliver database logs to CloudWatch Logs.Specifies whether to deliver database logs to CloudWatch Logs.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
status
Specifies whether to deliver database logs to CloudWatch Logs.
- Parameters:
status- Specifies whether to deliver database logs to CloudWatch Logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
DatabaseCloudWatchLogsDeliveryConfigRequest.Builder status(DatabaseCloudWatchLogsDeliveryStatus status) Specifies whether to deliver database logs to CloudWatch Logs.
- Parameters:
status- Specifies whether to deliver database logs to CloudWatch Logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
samplingRate
The percentage of database log lines to deliver to CloudWatch Logs. When Status is ENABLED, specify a value from 1 to 100. When Status is DISABLED, omit this or specify 0. If you omit this, the stored rate is used, or 100 if no rate is stored.
- Parameters:
samplingRate- The percentage of database log lines to deliver to CloudWatch Logs. When Status is ENABLED, specify a value from 1 to 100. When Status is DISABLED, omit this or specify 0. If you omit this, the stored rate is used, or 100 if no rate is stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-