Class CfnReplicationGroup.LogDeliveryConfigurationRequestProperty.Builder
java.lang.Object
software.amazon.awscdk.services.elasticache.CfnReplicationGroup.LogDeliveryConfigurationRequestProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReplicationGroup.LogDeliveryConfigurationRequestProperty>
- Enclosing interface:
CfnReplicationGroup.LogDeliveryConfigurationRequestProperty
@Stability(Stable)
public static final class CfnReplicationGroup.LogDeliveryConfigurationRequestProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReplicationGroup.LogDeliveryConfigurationRequestProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.destinationDetails
(IResolvable destinationDetails) destinationDetails
(CfnReplicationGroup.DestinationDetailsProperty destinationDetails) destinationType
(String destinationType) Sets the value ofCfnReplicationGroup.LogDeliveryConfigurationRequestProperty.getLogType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinationDetails
@Stability(Stable) public CfnReplicationGroup.LogDeliveryConfigurationRequestProperty.Builder destinationDetails(IResolvable destinationDetails) Sets the value ofCfnReplicationGroup.LogDeliveryConfigurationRequestProperty.getDestinationDetails()
- Parameters:
destinationDetails
- Configuration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination. This parameter is required.- Returns:
this
-
destinationDetails
@Stability(Stable) public CfnReplicationGroup.LogDeliveryConfigurationRequestProperty.Builder destinationDetails(CfnReplicationGroup.DestinationDetailsProperty destinationDetails) Sets the value ofCfnReplicationGroup.LogDeliveryConfigurationRequestProperty.getDestinationDetails()
- Parameters:
destinationDetails
- Configuration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination. This parameter is required.- Returns:
this
-
destinationType
@Stability(Stable) public CfnReplicationGroup.LogDeliveryConfigurationRequestProperty.Builder destinationType(String destinationType) - Parameters:
destinationType
- Specify either CloudWatch Logs or Kinesis Data Firehose as the destination type. This parameter is required. Valid values are eithercloudwatch-logs
orkinesis-firehose
.- Returns:
this
-
logFormat
@Stability(Stable) public CfnReplicationGroup.LogDeliveryConfigurationRequestProperty.Builder logFormat(String logFormat) - Parameters:
logFormat
- Valid values are eitherjson
ortext
. This parameter is required.- Returns:
this
-
logType
@Stability(Stable) public CfnReplicationGroup.LogDeliveryConfigurationRequestProperty.Builder logType(String logType) Sets the value ofCfnReplicationGroup.LogDeliveryConfigurationRequestProperty.getLogType()
- Parameters:
logType
- Valid value is eitherslow-log
, which refers to slow-log orengine-log
. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnReplicationGroup.LogDeliveryConfigurationRequestProperty>
- Returns:
- a new instance of
CfnReplicationGroup.LogDeliveryConfigurationRequestProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-