Interface CreateNamespaceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateNamespaceResponse.Builder,,CreateNamespaceResponse> RedshiftServerlessResponse.Builder,SdkBuilder<CreateNamespaceResponse.Builder,,CreateNamespaceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateNamespaceResponse
public static interface CreateNamespaceResponse.Builder
extends RedshiftServerlessResponse.Builder, SdkPojo, CopyableBuilder<CreateNamespaceResponse.Builder,CreateNamespaceResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateNamespaceResponse.Buildernamespace(Consumer<Namespace.Builder> namespace) The created namespace object.The created namespace object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.redshiftserverless.model.RedshiftServerlessResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
namespace
The created namespace object.
- Parameters:
namespace- The created namespace object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespace
The created namespace object.
This is a convenience method that creates an instance of theNamespace.Builderavoiding the need to create one manually viaNamespace.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonamespace(Namespace).- Parameters:
namespace- a consumer that will call methods onNamespace.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-