Interface GetNamespaceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetNamespaceResponse.Builder,
,GetNamespaceResponse> SdkBuilder<GetNamespaceResponse.Builder,
,GetNamespaceResponse> SdkPojo
,SdkResponse.Builder
,ServiceDiscoveryResponse.Builder
- Enclosing class:
GetNamespaceResponse
@Mutable
@NotThreadSafe
public static interface GetNamespaceResponse.Builder
extends ServiceDiscoveryResponse.Builder, SdkPojo, CopyableBuilder<GetNamespaceResponse.Builder,GetNamespaceResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetNamespaceResponse.Builder
namespace
(Consumer<Namespace.Builder> namespace) A complex type that contains information about the specified namespace.A complex type that contains information about the specified namespace.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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.servicediscovery.model.ServiceDiscoveryResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
namespace
A complex type that contains information about the specified namespace.
- Parameters:
namespace
- A complex type that contains information about the specified namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespace
A complex type that contains information about the specified namespace.
This is a convenience method that creates an instance of theNamespace.Builder
avoiding the need to create one manually viaNamespace.builder()
.When the
Consumer
completes,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:
-