Interface UpdatePrivateDnsNamespaceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdatePrivateDnsNamespaceRequest.Builder,UpdatePrivateDnsNamespaceRequest>,SdkBuilder<UpdatePrivateDnsNamespaceRequest.Builder,UpdatePrivateDnsNamespaceRequest>,SdkPojo,SdkRequest.Builder,ServiceDiscoveryRequest.Builder
- Enclosing class:
- UpdatePrivateDnsNamespaceRequest
public static interface UpdatePrivateDnsNamespaceRequest.Builder extends ServiceDiscoveryRequest.Builder, SdkPojo, CopyableBuilder<UpdatePrivateDnsNamespaceRequest.Builder,UpdatePrivateDnsNamespaceRequest>
-
-
Method Summary
-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.servicediscovery.model.ServiceDiscoveryRequest.Builder
build
-
-
-
-
Method Detail
-
id
UpdatePrivateDnsNamespaceRequest.Builder id(String 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
UpdatePrivateDnsNamespaceRequest.Builder updaterRequestId(String updaterRequestId)
A unique string that identifies the request and that allows failed
UpdatePrivateDnsNamespacerequests 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 failedUpdatePrivateDnsNamespacerequests 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
UpdatePrivateDnsNamespaceRequest.Builder namespace(PrivateDnsNamespaceChange namespace)
Updated properties for the private DNS namespace.
- Parameters:
namespace- Updated properties for the private DNS namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespace
default UpdatePrivateDnsNamespaceRequest.Builder namespace(Consumer<PrivateDnsNamespaceChange.Builder> namespace)
Updated properties for the private DNS namespace.
This is a convenience method that creates an instance of thePrivateDnsNamespaceChange.Builderavoiding the need to create one manually viaPrivateDnsNamespaceChange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonamespace(PrivateDnsNamespaceChange).- Parameters:
namespace- a consumer that will call methods onPrivateDnsNamespaceChange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
namespace(PrivateDnsNamespaceChange)
-
overrideConfiguration
UpdatePrivateDnsNamespaceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdatePrivateDnsNamespaceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-