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.Buildernamespace(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
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, sdkHttpResponseMethods 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.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:
-