Class SplitStringEntryProperty.Builder
java.lang.Object
software.amazon.awscdk.services.logs.SplitStringEntryProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SplitStringEntryProperty>
- Enclosing interface:
SplitStringEntryProperty
@Stability(Stable)
public static final class SplitStringEntryProperty.Builder
extends Object
implements software.amazon.jsii.Builder<SplitStringEntryProperty>
A builder for
SplitStringEntryProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.delimiter
(DelimiterCharacter delimiter) Sets the value ofSplitStringEntryProperty.getDelimiter()
Sets the value ofSplitStringEntryProperty.getSource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
delimiter
Sets the value ofSplitStringEntryProperty.getDelimiter()
- Parameters:
delimiter
- The separator character to split the string on. This parameter is required.- Returns:
this
-
source
Sets the value ofSplitStringEntryProperty.getSource()
- Parameters:
source
- The key of the field to split. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<SplitStringEntryProperty>
- Returns:
- a new instance of
SplitStringEntryProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-