Class YarnLogFilter.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.javascript.YarnLogFilter.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<YarnLogFilter>
- Enclosing interface:
- YarnLogFilter
@Stability(Experimental) public static final class YarnLogFilter.Builder extends Object implements software.amazon.jsii.Builder<YarnLogFilter>
A builder forYarnLogFilter
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description YarnLogFilterbuild()Builds the configured instance.YarnLogFilter.Buildercode(String code)Sets the value ofYarnLogFilter.getCode()YarnLogFilter.Builderlevel(YarnLogFilterLevel level)Sets the value ofYarnLogFilter.getLevel()YarnLogFilter.Builderpattern(String pattern)Sets the value ofYarnLogFilter.getPattern()YarnLogFilter.Buildertext(String text)Sets the value ofYarnLogFilter.getText()
-
-
-
Method Detail
-
code
@Stability(Experimental) public YarnLogFilter.Builder code(String code)
Sets the value ofYarnLogFilter.getCode()- Parameters:
code- the value to be set.- Returns:
this
-
level
@Stability(Experimental) public YarnLogFilter.Builder level(YarnLogFilterLevel level)
Sets the value ofYarnLogFilter.getLevel()- Parameters:
level- the value to be set.- Returns:
this
-
pattern
@Stability(Experimental) public YarnLogFilter.Builder pattern(String pattern)
Sets the value ofYarnLogFilter.getPattern()- Parameters:
pattern- the value to be set.- Returns:
this
-
text
@Stability(Experimental) public YarnLogFilter.Builder text(String text)
Sets the value ofYarnLogFilter.getText()- Parameters:
text- the value to be set.- Returns:
this
-
build
@Stability(Experimental) public YarnLogFilter build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<YarnLogFilter>- Returns:
- a new instance of
YarnLogFilter - Throws:
NullPointerException- if any required attribute was not provided
-
-