Interface UpdateChannelNamespaceRequest.Builder
-
- All Superinterfaces:
AppSyncRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateChannelNamespaceRequest.Builder,UpdateChannelNamespaceRequest>,SdkBuilder<UpdateChannelNamespaceRequest.Builder,UpdateChannelNamespaceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateChannelNamespaceRequest
public static interface UpdateChannelNamespaceRequest.Builder extends AppSyncRequest.Builder, SdkPojo, CopyableBuilder<UpdateChannelNamespaceRequest.Builder,UpdateChannelNamespaceRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateChannelNamespaceRequest.BuilderapiId(String apiId)TheApiID.UpdateChannelNamespaceRequest.BuildercodeHandlers(String codeHandlers)The event handler functions that run custom business logic to process published events and subscribe requests.UpdateChannelNamespaceRequest.Buildername(String name)The name of theChannelNamespace.UpdateChannelNamespaceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateChannelNamespaceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateChannelNamespaceRequest.BuilderpublishAuthModes(Collection<AuthMode> publishAuthModes)The authorization mode to use for publishing messages on the channel namespace.UpdateChannelNamespaceRequest.BuilderpublishAuthModes(Consumer<AuthMode.Builder>... publishAuthModes)The authorization mode to use for publishing messages on the channel namespace.UpdateChannelNamespaceRequest.BuilderpublishAuthModes(AuthMode... publishAuthModes)The authorization mode to use for publishing messages on the channel namespace.UpdateChannelNamespaceRequest.BuildersubscribeAuthModes(Collection<AuthMode> subscribeAuthModes)The authorization mode to use for subscribing to messages on the channel namespace.UpdateChannelNamespaceRequest.BuildersubscribeAuthModes(Consumer<AuthMode.Builder>... subscribeAuthModes)The authorization mode to use for subscribing to messages on the channel namespace.UpdateChannelNamespaceRequest.BuildersubscribeAuthModes(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
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
UpdateChannelNamespaceRequest.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
UpdateChannelNamespaceRequest.Builder name(String 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
UpdateChannelNamespaceRequest.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
UpdateChannelNamespaceRequest.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
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 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
UpdateChannelNamespaceRequest.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
UpdateChannelNamespaceRequest.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
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 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
UpdateChannelNamespaceRequest.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.
-
overrideConfiguration
UpdateChannelNamespaceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateChannelNamespaceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-