Interface ChannelNamespace.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ChannelNamespace.Builder,ChannelNamespace>,SdkBuilder<ChannelNamespace.Builder,ChannelNamespace>,SdkPojo
- Enclosing class:
- ChannelNamespace
public static interface ChannelNamespace.Builder extends SdkPojo, CopyableBuilder<ChannelNamespace.Builder,ChannelNamespace>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChannelNamespace.BuilderapiId(String apiId)TheApiID.ChannelNamespace.BuilderchannelNamespaceArn(String channelNamespaceArn)The Amazon Resource Name (ARN) for theChannelNamespace.ChannelNamespace.BuildercodeHandlers(String codeHandlers)The event handler functions that run custom business logic to process published events and subscribe requests.ChannelNamespace.Buildercreated(Instant created)The date and time that theChannelNamespacewas created.ChannelNamespace.BuilderlastModified(Instant lastModified)The date and time that theChannelNamespacewas last changed.ChannelNamespace.Buildername(String name)The name of the channel namespace.ChannelNamespace.BuilderpublishAuthModes(Collection<AuthMode> publishAuthModes)The authorization mode to use for publishing messages on the channel namespace.ChannelNamespace.BuilderpublishAuthModes(Consumer<AuthMode.Builder>... publishAuthModes)The authorization mode to use for publishing messages on the channel namespace.ChannelNamespace.BuilderpublishAuthModes(AuthMode... publishAuthModes)The authorization mode to use for publishing messages on the channel namespace.ChannelNamespace.BuildersubscribeAuthModes(Collection<AuthMode> subscribeAuthModes)The authorization mode to use for subscribing to messages on the channel namespace.ChannelNamespace.BuildersubscribeAuthModes(Consumer<AuthMode.Builder>... subscribeAuthModes)The authorization mode to use for subscribing to messages on the channel namespace.ChannelNamespace.BuildersubscribeAuthModes(AuthMode... subscribeAuthModes)The authorization mode to use for subscribing to messages on the channel namespace.ChannelNamespace.Buildertags(Map<String,String> tags)Sets the value of the Tags property for this object.-
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
ChannelNamespace.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
ChannelNamespace.Builder name(String name)
The name of the channel namespace. This name must be unique within the
Api.- Parameters:
name- The name of the channel namespace. This name must be unique within theApi.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribeAuthModes
ChannelNamespace.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
ChannelNamespace.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
ChannelNamespace.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
ChannelNamespace.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
ChannelNamespace.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
ChannelNamespace.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
ChannelNamespace.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
ChannelNamespace.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.
-
channelNamespaceArn
ChannelNamespace.Builder channelNamespaceArn(String channelNamespaceArn)
The Amazon Resource Name (ARN) for the
ChannelNamespace.- Parameters:
channelNamespaceArn- The Amazon Resource Name (ARN) for theChannelNamespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
created
ChannelNamespace.Builder created(Instant created)
The date and time that the
ChannelNamespacewas created.- Parameters:
created- The date and time that theChannelNamespacewas created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModified
ChannelNamespace.Builder lastModified(Instant lastModified)
The date and time that the
ChannelNamespacewas last changed.- Parameters:
lastModified- The date and time that theChannelNamespacewas last changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-