Interface LogDeliveryConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LogDeliveryConfiguration.Builder,
,LogDeliveryConfiguration> SdkBuilder<LogDeliveryConfiguration.Builder,
,LogDeliveryConfiguration> SdkPojo
- Enclosing class:
LogDeliveryConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault LogDeliveryConfiguration.Builder
destinationDetails
(Consumer<DestinationDetails.Builder> destinationDetails) Configuration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination.destinationDetails
(DestinationDetails destinationDetails) Configuration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination.destinationType
(String destinationType) Returns the destination type, eithercloudwatch-logs
orkinesis-firehose
.destinationType
(DestinationType destinationType) Returns the destination type, eithercloudwatch-logs
orkinesis-firehose
.Returns the log format, either JSON or TEXT.Returns the log format, either JSON or TEXT.Refers to slow-log or engine-log.Refers to slow-log or engine-log.Returns an error message for the log delivery configuration.Returns the log delivery configuration status.status
(LogDeliveryConfigurationStatus status) Returns the log delivery configuration status.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
logType
Refers to slow-log or engine-log.
- Parameters:
logType
- Refers to slow-log or engine-log.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logType
Refers to slow-log or engine-log.
- Parameters:
logType
- Refers to slow-log or engine-log.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationType
Returns the destination type, either
cloudwatch-logs
orkinesis-firehose
.- Parameters:
destinationType
- Returns the destination type, eithercloudwatch-logs
orkinesis-firehose
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationType
Returns the destination type, either
cloudwatch-logs
orkinesis-firehose
.- Parameters:
destinationType
- Returns the destination type, eithercloudwatch-logs
orkinesis-firehose
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationDetails
Configuration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination.
- Parameters:
destinationDetails
- Configuration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationDetails
default LogDeliveryConfiguration.Builder destinationDetails(Consumer<DestinationDetails.Builder> destinationDetails) Configuration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination.
This is a convenience method that creates an instance of theDestinationDetails.Builder
avoiding the need to create one manually viaDestinationDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todestinationDetails(DestinationDetails)
.- Parameters:
destinationDetails
- a consumer that will call methods onDestinationDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logFormat
Returns the log format, either JSON or TEXT.
- Parameters:
logFormat
- Returns the log format, either JSON or TEXT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logFormat
Returns the log format, either JSON or TEXT.
- Parameters:
logFormat
- Returns the log format, either JSON or TEXT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Returns the log delivery configuration status. Values are one of
enabling
|disabling
|modifying
|active
|error
- Parameters:
status
- Returns the log delivery configuration status. Values are one ofenabling
|disabling
|modifying
|active
|error
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Returns the log delivery configuration status. Values are one of
enabling
|disabling
|modifying
|active
|error
- Parameters:
status
- Returns the log delivery configuration status. Values are one ofenabling
|disabling
|modifying
|active
|error
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
message
Returns an error message for the log delivery configuration.
- Parameters:
message
- Returns an error message for the log delivery configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-