Interface UpdateHttpNamespaceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateHttpNamespaceRequest.Builder,
,UpdateHttpNamespaceRequest> SdkBuilder<UpdateHttpNamespaceRequest.Builder,
,UpdateHttpNamespaceRequest> SdkPojo
,SdkRequest.Builder
,ServiceDiscoveryRequest.Builder
- Enclosing class:
UpdateHttpNamespaceRequest
public static interface UpdateHttpNamespaceRequest.Builder
extends ServiceDiscoveryRequest.Builder, SdkPojo, CopyableBuilder<UpdateHttpNamespaceRequest.Builder,UpdateHttpNamespaceRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the namespace that you want to update.namespace
(Consumer<HttpNamespaceChange.Builder> namespace) Updated properties for the the HTTP namespace.namespace
(HttpNamespaceChange namespace) Updated properties for the the HTTP namespace.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.updaterRequestId
(String updaterRequestId) A unique string that identifies the request and that allows failedUpdateHttpNamespace
requests to be retried without the risk of running the operation twice.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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, sdkFields
Methods inherited from interface software.amazon.awssdk.services.servicediscovery.model.ServiceDiscoveryRequest.Builder
build
-
Method Details
-
id
The ID of the namespace that you want to update.
- Parameters:
id
- The ID of the namespace that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updaterRequestId
A unique string that identifies the request and that allows failed
UpdateHttpNamespace
requests to be retried without the risk of running the operation twice.UpdaterRequestId
can be any unique string (for example, a date/timestamp).- Parameters:
updaterRequestId
- A unique string that identifies the request and that allows failedUpdateHttpNamespace
requests to be retried without the risk of running the operation twice.UpdaterRequestId
can be any unique string (for example, a date/timestamp).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespace
Updated properties for the the HTTP namespace.
- Parameters:
namespace
- Updated properties for the the HTTP namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespace
default UpdateHttpNamespaceRequest.Builder namespace(Consumer<HttpNamespaceChange.Builder> namespace) Updated properties for the the HTTP namespace.
This is a convenience method that creates an instance of theHttpNamespaceChange.Builder
avoiding the need to create one manually viaHttpNamespaceChange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonamespace(HttpNamespaceChange)
.- Parameters:
namespace
- a consumer that will call methods onHttpNamespaceChange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateHttpNamespaceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateHttpNamespaceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-