Interface GetNamespaceResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetNamespaceResponse.Builder,GetNamespaceResponse>,SdkBuilder<GetNamespaceResponse.Builder,GetNamespaceResponse>,SdkPojo,SdkResponse.Builder,ServiceDiscoveryResponse.Builder
- Enclosing class:
- GetNamespaceResponse
public static interface GetNamespaceResponse.Builder extends ServiceDiscoveryResponse.Builder, SdkPojo, CopyableBuilder<GetNamespaceResponse.Builder,GetNamespaceResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetNamespaceResponse.Buildernamespace(Consumer<Namespace.Builder> namespace)A complex type that contains information about the specified namespace.GetNamespaceResponse.Buildernamespace(Namespace 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 Detail
-
namespace
GetNamespaceResponse.Builder namespace(Namespace 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
default GetNamespaceResponse.Builder namespace(Consumer<Namespace.Builder> 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:
namespace(Namespace)
-
-