Interface UpdateChannelNamespaceRequest.Builder
- All Superinterfaces:
AppSyncRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateChannelNamespaceRequest.Builder,,UpdateChannelNamespaceRequest> SdkBuilder<UpdateChannelNamespaceRequest.Builder,,UpdateChannelNamespaceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateChannelNamespaceRequest
-
Method Summary
Modifier and TypeMethodDescriptionTheApiID.codeHandlers(String codeHandlers) The event handler functions that run custom business logic to process published events and subscribe requests.handlerConfigs(Consumer<HandlerConfigs.Builder> handlerConfigs) The configuration for theOnPublishandOnSubscribehandlers.handlerConfigs(HandlerConfigs handlerConfigs) The configuration for theOnPublishandOnSubscribehandlers.The name of theChannelNamespace.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.publishAuthModes(Collection<AuthMode> publishAuthModes) The authorization mode to use for publishing messages on the channel namespace.publishAuthModes(Consumer<AuthMode.Builder>... publishAuthModes) The authorization mode to use for publishing messages on the channel namespace.publishAuthModes(AuthMode... publishAuthModes) The authorization mode to use for publishing messages on the channel namespace.subscribeAuthModes(Collection<AuthMode> subscribeAuthModes) The authorization mode to use for subscribing to messages on the channel namespace.subscribeAuthModes(Consumer<AuthMode.Builder>... subscribeAuthModes) The authorization mode to use for subscribing to messages on the channel namespace.subscribeAuthModes(AuthMode... subscribeAuthModes) The authorization mode to use for subscribing to messages on the channel namespace.Methods inherited from interface software.amazon.awssdk.services.appsync.model.AppSyncRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
apiId
The
ApiID.- Parameters:
apiId- TheApiID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the
ChannelNamespace.- Parameters:
name- The name of theChannelNamespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
UpdateChannelNamespaceRequest.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 tosubscribeAuthModes(List<AuthMode>).- 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:
-
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
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
UpdateChannelNamespaceRequest.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 topublishAuthModes(List<AuthMode>).- 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:
-
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.
-
handlerConfigs
The configuration for the
OnPublishandOnSubscribehandlers.- Parameters:
handlerConfigs- The configuration for theOnPublishandOnSubscribehandlers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
handlerConfigs
default UpdateChannelNamespaceRequest.Builder handlerConfigs(Consumer<HandlerConfigs.Builder> handlerConfigs) The configuration for the
This is a convenience method that creates an instance of theOnPublishandOnSubscribehandlers.HandlerConfigs.Builderavoiding the need to create one manually viaHandlerConfigs.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohandlerConfigs(HandlerConfigs).- Parameters:
handlerConfigs- a consumer that will call methods onHandlerConfigs.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateChannelNamespaceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateChannelNamespaceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-