Class ChannelNamespaceReference.Builder
java.lang.Object
software.amazon.awscdk.services.appsync.ChannelNamespaceReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ChannelNamespaceReference>
- Enclosing interface:
ChannelNamespaceReference
@Stability(Stable)
public static final class ChannelNamespaceReference.Builder
extends Object
implements software.amazon.jsii.Builder<ChannelNamespaceReference>
A builder for
ChannelNamespaceReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.channelNamespaceArn
(String channelNamespaceArn) Sets the value ofChannelNamespaceReference.getChannelNamespaceArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
channelNamespaceArn
@Stability(Stable) public ChannelNamespaceReference.Builder channelNamespaceArn(String channelNamespaceArn) Sets the value ofChannelNamespaceReference.getChannelNamespaceArn()
- Parameters:
channelNamespaceArn
- The ChannelNamespaceArn of the ChannelNamespace resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ChannelNamespaceReference>
- Returns:
- a new instance of
ChannelNamespaceReference
- Throws:
NullPointerException
- if any required attribute was not provided
-