Package software.amazon.awscdk.cxapi
Class SynthesisMessage.Builder
java.lang.Object
software.amazon.awscdk.cxapi.SynthesisMessage.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SynthesisMessage>
- Enclosing interface:
SynthesisMessage
@Stability(Stable)
public static final class SynthesisMessage.Builder
extends Object
implements software.amazon.jsii.Builder<SynthesisMessage>
A builder for
SynthesisMessage-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.entry(MetadataEntry entry) Sets the value ofSynthesisMessage.getEntry()Sets the value ofSynthesisMessage.getId()level(SynthesisMessageLevel level) Sets the value ofSynthesisMessage.getLevel()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
entry
Sets the value ofSynthesisMessage.getEntry()- Parameters:
entry- the value to be set. This parameter is required.- Returns:
this
-
id
Sets the value ofSynthesisMessage.getId()- Parameters:
id- the value to be set. This parameter is required.- Returns:
this
-
level
Sets the value ofSynthesisMessage.getLevel()- Parameters:
level- the value to be set. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SynthesisMessage>- Returns:
- a new instance of
SynthesisMessage - Throws:
NullPointerException- if any required attribute was not provided
-