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