public static interface GetNamespaceResponse.Builder extends ServiceDiscoveryResponse.Builder, CopyableBuilder<GetNamespaceResponse.Builder,GetNamespaceResponse>
Modifier and Type | Method and Description |
---|---|
default GetNamespaceResponse.Builder |
namespace(Consumer<Namespace.Builder> namespace)
A complex type that contains information about the specified namespace.
|
GetNamespaceResponse.Builder |
namespace(Namespace namespace)
A complex type that contains information about the specified namespace.
|
build
copy
apply, build
GetNamespaceResponse.Builder namespace(Namespace namespace)
A complex type that contains information about the specified namespace.
namespace
- A complex type that contains information about the specified namespace.default GetNamespaceResponse.Builder namespace(Consumer<Namespace.Builder> namespace)
A complex type that contains information about the specified namespace.
This is a convenience that creates an instance of theNamespace.Builder
avoiding the need to create
one manually via Namespace.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to namespace(Namespace)
.namespace
- a consumer that will call methods on Namespace.Builder
namespace(Namespace)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.