Interface CreateChannelNamespaceResponse.Builder
-
- All Superinterfaces:
AppSyncResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateChannelNamespaceResponse.Builder,CreateChannelNamespaceResponse>
,SdkBuilder<CreateChannelNamespaceResponse.Builder,CreateChannelNamespaceResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- CreateChannelNamespaceResponse
public static interface CreateChannelNamespaceResponse.Builder extends AppSyncResponse.Builder, SdkPojo, CopyableBuilder<CreateChannelNamespaceResponse.Builder,CreateChannelNamespaceResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateChannelNamespaceResponse.Builder
channelNamespace(Consumer<ChannelNamespace.Builder> channelNamespace)
TheChannelNamespace
object.CreateChannelNamespaceResponse.Builder
channelNamespace(ChannelNamespace channelNamespace)
TheChannelNamespace
object.-
Methods inherited from interface software.amazon.awssdk.services.appsync.model.AppSyncResponse.Builder
build, responseMetadata, responseMetadata
-
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
channelNamespace
CreateChannelNamespaceResponse.Builder channelNamespace(ChannelNamespace channelNamespace)
The
ChannelNamespace
object.- Parameters:
channelNamespace
- TheChannelNamespace
object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelNamespace
default CreateChannelNamespaceResponse.Builder channelNamespace(Consumer<ChannelNamespace.Builder> channelNamespace)
The
This is a convenience method that creates an instance of theChannelNamespace
object.ChannelNamespace.Builder
avoiding the need to create one manually viaChannelNamespace.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochannelNamespace(ChannelNamespace)
.- Parameters:
channelNamespace
- a consumer that will call methods onChannelNamespace.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
channelNamespace(ChannelNamespace)
-
-