Class CfnProfilingGroup.ChannelProperty.Builder
java.lang.Object
software.amazon.awscdk.services.codeguruprofiler.CfnProfilingGroup.ChannelProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProfilingGroup.ChannelProperty>
- Enclosing interface:
CfnProfilingGroup.ChannelProperty
@Stability(Stable)
public static final class CfnProfilingGroup.ChannelProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProfilingGroup.ChannelProperty>
A builder for
CfnProfilingGroup.ChannelProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnProfilingGroup.ChannelProperty.getChannelId()
channelUri
(String channelUri) Sets the value ofCfnProfilingGroup.ChannelProperty.getChannelUri()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
channelUri
Sets the value ofCfnProfilingGroup.ChannelProperty.getChannelUri()
- Parameters:
channelUri
- The channel URI. This parameter is required.- Returns:
this
-
channelId
Sets the value ofCfnProfilingGroup.ChannelProperty.getChannelId()
- Parameters:
channelId
- The channel ID.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnProfilingGroup.ChannelProperty>
- Returns:
- a new instance of
CfnProfilingGroup.ChannelProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-