Interface UpdatePublicDnsNamespaceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdatePublicDnsNamespaceRequest.Builder,
,UpdatePublicDnsNamespaceRequest> SdkBuilder<UpdatePublicDnsNamespaceRequest.Builder,
,UpdatePublicDnsNamespaceRequest> SdkPojo
,SdkRequest.Builder
,ServiceDiscoveryRequest.Builder
- Enclosing class:
UpdatePublicDnsNamespaceRequest
public static interface UpdatePublicDnsNamespaceRequest.Builder
extends ServiceDiscoveryRequest.Builder, SdkPojo, CopyableBuilder<UpdatePublicDnsNamespaceRequest.Builder,UpdatePublicDnsNamespaceRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the namespace being updated.namespace
(Consumer<PublicDnsNamespaceChange.Builder> namespace) Updated properties for the public DNS namespace.namespace
(PublicDnsNamespaceChange namespace) Updated properties for the public DNS 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 failedUpdatePublicDnsNamespace
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 being updated.
- Parameters:
id
- The ID of the namespace being updated.- 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
UpdatePublicDnsNamespace
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 failedUpdatePublicDnsNamespace
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 public DNS namespace.
- Parameters:
namespace
- Updated properties for the public DNS namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespace
default UpdatePublicDnsNamespaceRequest.Builder namespace(Consumer<PublicDnsNamespaceChange.Builder> namespace) Updated properties for the public DNS namespace.
This is a convenience method that creates an instance of thePublicDnsNamespaceChange.Builder
avoiding the need to create one manually viaPublicDnsNamespaceChange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonamespace(PublicDnsNamespaceChange)
.- Parameters:
namespace
- a consumer that will call methods onPublicDnsNamespaceChange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdatePublicDnsNamespaceRequest.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
UpdatePublicDnsNamespaceRequest.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.
-