Interface GetChannelNamespaceResponse.Builder
- All Superinterfaces:
AppSyncResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetChannelNamespaceResponse.Builder,,GetChannelNamespaceResponse> SdkBuilder<GetChannelNamespaceResponse.Builder,,GetChannelNamespaceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetChannelNamespaceResponse
@Mutable
@NotThreadSafe
public static interface GetChannelNamespaceResponse.Builder
extends AppSyncResponse.Builder, SdkPojo, CopyableBuilder<GetChannelNamespaceResponse.Builder,GetChannelNamespaceResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchannelNamespace(Consumer<ChannelNamespace.Builder> channelNamespace) TheChannelNamespaceobject.channelNamespace(ChannelNamespace channelNamespace) TheChannelNamespaceobject.Methods inherited from interface software.amazon.awssdk.services.appsync.model.AppSyncResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
channelNamespace
The
ChannelNamespaceobject.- Parameters:
channelNamespace- TheChannelNamespaceobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelNamespace
default GetChannelNamespaceResponse.Builder channelNamespace(Consumer<ChannelNamespace.Builder> channelNamespace) The
This is a convenience method that creates an instance of theChannelNamespaceobject.ChannelNamespace.Builderavoiding the need to create one manually viaChannelNamespace.builder().When the
Consumercompletes,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:
-