public static interface UpdateVirtualNodeRequest.Builder extends AppMeshRequest.Builder, SdkPojo, CopyableBuilder<UpdateVirtualNodeRequest.Builder,UpdateVirtualNodeRequest>
Modifier and Type | Method and Description |
---|---|
UpdateVirtualNodeRequest.Builder |
clientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
UpdateVirtualNodeRequest.Builder |
meshName(String meshName)
The name of the service mesh in which the virtual node resides.
|
UpdateVirtualNodeRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateVirtualNodeRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
default UpdateVirtualNodeRequest.Builder |
spec(Consumer<VirtualNodeSpec.Builder> spec)
The new virtual node specification to apply.
|
UpdateVirtualNodeRequest.Builder |
spec(VirtualNodeSpec spec)
The new virtual node specification to apply.
|
UpdateVirtualNodeRequest.Builder |
virtualNodeName(String virtualNodeName)
The name of the virtual node to update.
|
build
overrideConfiguration
copy
applyMutation, build
UpdateVirtualNodeRequest.Builder clientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36
letters, numbers, hyphens, and underscores are allowed.UpdateVirtualNodeRequest.Builder meshName(String meshName)
The name of the service mesh in which the virtual node resides.
meshName
- The name of the service mesh in which the virtual node resides.UpdateVirtualNodeRequest.Builder spec(VirtualNodeSpec spec)
The new virtual node specification to apply. This overwrites the existing data.
spec
- The new virtual node specification to apply. This overwrites the existing data.default UpdateVirtualNodeRequest.Builder spec(Consumer<VirtualNodeSpec.Builder> spec)
The new virtual node specification to apply. This overwrites the existing data.
This is a convenience that creates an instance of theVirtualNodeSpec.Builder
avoiding the need to
create one manually via VirtualNodeSpec.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to spec(VirtualNodeSpec)
.spec
- a consumer that will call methods on VirtualNodeSpec.Builder
spec(VirtualNodeSpec)
UpdateVirtualNodeRequest.Builder virtualNodeName(String virtualNodeName)
The name of the virtual node to update.
virtualNodeName
- The name of the virtual node to update.UpdateVirtualNodeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateVirtualNodeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.