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 failedUpdatePublicDnsNamespacerequests 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 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
UpdatePublicDnsNamespacerequests 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 failedUpdatePublicDnsNamespacerequests 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 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.Builderavoiding the need to create one manually viaPublicDnsNamespaceChange.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-