Class CfnChannelNamespace.Builder
java.lang.Object
software.amazon.awscdk.services.appsync.CfnChannelNamespace.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelNamespace>
- Enclosing class:
CfnChannelNamespace
@Stability(Stable)
public static final class CfnChannelNamespace.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelNamespace>
A fluent builder for
CfnChannelNamespace.-
Method Summary
Modifier and TypeMethodDescriptionAppSync Api Id that this Channel Namespace belongs to.build()codeHandlers(String codeHandlers) String of APPSYNC_JS code to be used by the handlers.codeS3Location(String codeS3Location) The Amazon S3 endpoint where the code is located.static CfnChannelNamespace.BuilderNamespace indentifier.publishAuthModes(List<? extends Object> publishAuthModes) publishAuthModes(IResolvable publishAuthModes) subscribeAuthModes(List<? extends Object> subscribeAuthModes) subscribeAuthModes(IResolvable subscribeAuthModes) An arbitrary set of tags (key-value pairs) for this AppSync API.
-
Method Details
-
create
@Stability(Stable) public static CfnChannelNamespace.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnChannelNamespace.Builder.
-
apiId
AppSync Api Id that this Channel Namespace belongs to.- Parameters:
apiId- AppSync Api Id that this Channel Namespace belongs to. This parameter is required.- Returns:
this- See Also:
-
name
Namespace indentifier.- Parameters:
name- Namespace indentifier. This parameter is required.- Returns:
this- See Also:
-
codeHandlers
String of APPSYNC_JS code to be used by the handlers.- Parameters:
codeHandlers- String of APPSYNC_JS code to be used by the handlers. This parameter is required.- Returns:
this- See Also:
-
codeS3Location
The Amazon S3 endpoint where the code is located.- Parameters:
codeS3Location- The Amazon S3 endpoint where the code is located. This parameter is required.- Returns:
this- See Also:
-
publishAuthModes
@Stability(Stable) public CfnChannelNamespace.Builder publishAuthModes(IResolvable publishAuthModes) - Parameters:
publishAuthModes- This parameter is required.- Returns:
this- See Also:
-
publishAuthModes
@Stability(Stable) public CfnChannelNamespace.Builder publishAuthModes(List<? extends Object> publishAuthModes) - Parameters:
publishAuthModes- This parameter is required.- Returns:
this- See Also:
-
subscribeAuthModes
@Stability(Stable) public CfnChannelNamespace.Builder subscribeAuthModes(IResolvable subscribeAuthModes) - Parameters:
subscribeAuthModes- This parameter is required.- Returns:
this- See Also:
-
subscribeAuthModes
@Stability(Stable) public CfnChannelNamespace.Builder subscribeAuthModes(List<? extends Object> subscribeAuthModes) - Parameters:
subscribeAuthModes- This parameter is required.- Returns:
this- See Also:
-
tags
An arbitrary set of tags (key-value pairs) for this AppSync API.- Parameters:
tags- An arbitrary set of tags (key-value pairs) for this AppSync API. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelNamespace>- Returns:
- a newly built instance of
CfnChannelNamespace.
-