Interface CreateChannelNamespaceRequest.Builder
-
- All Superinterfaces:
AppSyncRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateChannelNamespaceRequest.Builder,CreateChannelNamespaceRequest>,SdkBuilder<CreateChannelNamespaceRequest.Builder,CreateChannelNamespaceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateChannelNamespaceRequest
public static interface CreateChannelNamespaceRequest.Builder extends AppSyncRequest.Builder, SdkPojo, CopyableBuilder<CreateChannelNamespaceRequest.Builder,CreateChannelNamespaceRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateChannelNamespaceRequest.BuilderapiId(String apiId)TheApiID.CreateChannelNamespaceRequest.BuildercodeHandlers(String codeHandlers)The event handler functions that run custom business logic to process published events and subscribe requests.CreateChannelNamespaceRequest.Buildername(String name)The name of theChannelNamespace.CreateChannelNamespaceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateChannelNamespaceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateChannelNamespaceRequest.BuilderpublishAuthModes(Collection<AuthMode> publishAuthModes)The authorization mode to use for publishing messages on the channel namespace.CreateChannelNamespaceRequest.BuilderpublishAuthModes(Consumer<AuthMode.Builder>... publishAuthModes)The authorization mode to use for publishing messages on the channel namespace.CreateChannelNamespaceRequest.BuilderpublishAuthModes(AuthMode... publishAuthModes)The authorization mode to use for publishing messages on the channel namespace.CreateChannelNamespaceRequest.BuildersubscribeAuthModes(Collection<AuthMode> subscribeAuthModes)The authorization mode to use for subscribing to messages on the channel namespace.CreateChannelNamespaceRequest.BuildersubscribeAuthModes(Consumer<AuthMode.Builder>... subscribeAuthModes)The authorization mode to use for subscribing to messages on the channel namespace.CreateChannelNamespaceRequest.BuildersubscribeAuthModes(AuthMode... subscribeAuthModes)The authorization mode to use for subscribing to messages on the channel namespace.CreateChannelNamespaceRequest.Buildertags(Map<String,String> tags)Sets the value of the Tags property for this object.-
Methods inherited from interface software.amazon.awssdk.services.appsync.model.AppSyncRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
apiId
CreateChannelNamespaceRequest.Builder apiId(String apiId)
The
ApiID.- Parameters:
apiId- TheApiID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
CreateChannelNamespaceRequest.Builder name(String name)
The name of the
ChannelNamespace. This name must be unique within theApi- Parameters:
name- The name of theChannelNamespace. This name must be unique within theApi- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribeAuthModes
CreateChannelNamespaceRequest.Builder subscribeAuthModes(Collection<AuthMode> subscribeAuthModes)
The authorization mode to use for subscribing to messages on the channel namespace. This configuration overrides the default
Apiauthorization configuration.- Parameters:
subscribeAuthModes- The authorization mode to use for subscribing to messages on the channel namespace. This configuration overrides the defaultApiauthorization configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribeAuthModes
CreateChannelNamespaceRequest.Builder subscribeAuthModes(AuthMode... subscribeAuthModes)
The authorization mode to use for subscribing to messages on the channel namespace. This configuration overrides the default
Apiauthorization configuration.- Parameters:
subscribeAuthModes- The authorization mode to use for subscribing to messages on the channel namespace. This configuration overrides the defaultApiauthorization configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribeAuthModes
CreateChannelNamespaceRequest.Builder subscribeAuthModes(Consumer<AuthMode.Builder>... subscribeAuthModes)
The authorization mode to use for subscribing to messages on the channel namespace. This configuration overrides the default
This is a convenience method that creates an instance of theApiauthorization configuration.AuthMode.Builderavoiding the need to create one manually viaAuthMode.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#subscribeAuthModes(List.) - Parameters:
subscribeAuthModes- a consumer that will call methods onAuthMode.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#subscribeAuthModes(java.util.Collection)
-
publishAuthModes
CreateChannelNamespaceRequest.Builder publishAuthModes(Collection<AuthMode> publishAuthModes)
The authorization mode to use for publishing messages on the channel namespace. This configuration overrides the default
Apiauthorization configuration.- Parameters:
publishAuthModes- The authorization mode to use for publishing messages on the channel namespace. This configuration overrides the defaultApiauthorization configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publishAuthModes
CreateChannelNamespaceRequest.Builder publishAuthModes(AuthMode... publishAuthModes)
The authorization mode to use for publishing messages on the channel namespace. This configuration overrides the default
Apiauthorization configuration.- Parameters:
publishAuthModes- The authorization mode to use for publishing messages on the channel namespace. This configuration overrides the defaultApiauthorization configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publishAuthModes
CreateChannelNamespaceRequest.Builder publishAuthModes(Consumer<AuthMode.Builder>... publishAuthModes)
The authorization mode to use for publishing messages on the channel namespace. This configuration overrides the default
This is a convenience method that creates an instance of theApiauthorization configuration.AuthMode.Builderavoiding the need to create one manually viaAuthMode.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#publishAuthModes(List.) - Parameters:
publishAuthModes- a consumer that will call methods onAuthMode.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#publishAuthModes(java.util.Collection)
-
codeHandlers
CreateChannelNamespaceRequest.Builder codeHandlers(String codeHandlers)
The event handler functions that run custom business logic to process published events and subscribe requests.
- Parameters:
codeHandlers- The event handler functions that run custom business logic to process published events and subscribe requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateChannelNamespaceRequest.Builder tags(Map<String,String> tags)
Sets the value of the Tags property for this object.- Parameters:
tags- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateChannelNamespaceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateChannelNamespaceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-