Class DataConverterProps.Builder
java.lang.Object
software.amazon.awscdk.services.logs.DataConverterProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataConverterProps>
- Enclosing interface:
DataConverterProps
@Stability(Stable)
public static final class DataConverterProps.Builder
extends Object
implements software.amazon.jsii.Builder<DataConverterProps>
A builder for
DataConverterProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dateTimeConverterOptions
(DateTimeConverterProperty dateTimeConverterOptions) Sets the value ofDataConverterProps.getDateTimeConverterOptions()
type
(DataConverterType type) Sets the value ofDataConverterProps.getType()
typeConverterOptions
(TypeConverterProperty typeConverterOptions) Sets the value ofDataConverterProps.getTypeConverterOptions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
Sets the value ofDataConverterProps.getType()
- Parameters:
type
- The type of data conversion operation. This parameter is required.- Returns:
this
-
dateTimeConverterOptions
@Stability(Stable) public DataConverterProps.Builder dateTimeConverterOptions(DateTimeConverterProperty dateTimeConverterOptions) Sets the value ofDataConverterProps.getDateTimeConverterOptions()
- Parameters:
dateTimeConverterOptions
- Options for datetime conversion. Required when type is DATETIME_CONVERTER.- Returns:
this
-
typeConverterOptions
@Stability(Stable) public DataConverterProps.Builder typeConverterOptions(TypeConverterProperty typeConverterOptions) Sets the value ofDataConverterProps.getTypeConverterOptions()
- Parameters:
typeConverterOptions
- Options for type conversion. Required when type is TYPE_CONVERTER.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<DataConverterProps>
- Returns:
- a new instance of
DataConverterProps
- Throws:
NullPointerException
- if any required attribute was not provided
-