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 failedUpdateHttpNamespacerequests to be retried without the risk of running the operation twice.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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, sdkFieldsMethods 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
UpdateHttpNamespacerequests to be retried without the risk of running the operation twice.UpdaterRequestIdcan be any unique string (for example, a date/timestamp).- Parameters:
updaterRequestId- A unique string that identifies the request and that allows failedUpdateHttpNamespacerequests to be retried without the risk of running the operation twice.UpdaterRequestIdcan 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.Builderavoiding the need to create one manually viaHttpNamespaceChange.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-