Class CfnChannelPropsMixin.ChannelStateInfoProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.msk.CfnChannelPropsMixin.ChannelStateInfoProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPropsMixin.ChannelStateInfoProperty>
- Enclosing interface:
CfnChannelPropsMixin.ChannelStateInfoProperty
@Stability(Stable)
public static final class CfnChannelPropsMixin.ChannelStateInfoProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPropsMixin.ChannelStateInfoProperty>
A builder for
CfnChannelPropsMixin.ChannelStateInfoProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnChannelPropsMixin.ChannelStateInfoProperty.getCode()Sets the value ofCfnChannelPropsMixin.ChannelStateInfoProperty.getMessage()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
code
Sets the value ofCfnChannelPropsMixin.ChannelStateInfoProperty.getCode()- Parameters:
code- Code for channel state.- Returns:
this
-
message
@Stability(Stable) public CfnChannelPropsMixin.ChannelStateInfoProperty.Builder message(String message) Sets the value ofCfnChannelPropsMixin.ChannelStateInfoProperty.getMessage()- Parameters:
message- Message for channel state.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelPropsMixin.ChannelStateInfoProperty>- Returns:
- a new instance of
CfnChannelPropsMixin.ChannelStateInfoProperty - Throws:
NullPointerException- if any required attribute was not provided
-