Interface LogDeliveryConfigurationRequest.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LogDeliveryConfigurationRequest.Builder,
,LogDeliveryConfigurationRequest> SdkBuilder<LogDeliveryConfigurationRequest.Builder,
,LogDeliveryConfigurationRequest> SdkPojo
- Enclosing class:
LogDeliveryConfigurationRequest
public static interface LogDeliveryConfigurationRequest.Builder
extends SdkPojo, CopyableBuilder<LogDeliveryConfigurationRequest.Builder,LogDeliveryConfigurationRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondestinationDetails
(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) Specify eithercloudwatch-logs
orkinesis-firehose
as the destination type.destinationType
(DestinationType destinationType) Specify eithercloudwatch-logs
orkinesis-firehose
as the destination type.Specify if log delivery is enabled.Specifies either JSON or TEXTSpecifies either JSON or TEXTRefers to slow-log or engine-log..Refers to slow-log or engine-log..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
Specify either
cloudwatch-logs
orkinesis-firehose
as the destination type.- Parameters:
destinationType
- Specify eithercloudwatch-logs
orkinesis-firehose
as the destination type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationType
Specify either
cloudwatch-logs
orkinesis-firehose
as the destination type.- Parameters:
destinationType
- Specify eithercloudwatch-logs
orkinesis-firehose
as the destination type.- 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 LogDeliveryConfigurationRequest.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
Specifies either JSON or TEXT
- Parameters:
logFormat
- Specifies either JSON or TEXT- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logFormat
Specifies either JSON or TEXT
- Parameters:
logFormat
- Specifies either JSON or TEXT- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enabled
Specify if log delivery is enabled. Default
true
.- Parameters:
enabled
- Specify if log delivery is enabled. Defaulttrue
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-