Interface UpdateVirtualNodeRequest.Builder
- All Superinterfaces:
AppMeshRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateVirtualNodeRequest.Builder,,UpdateVirtualNodeRequest> SdkBuilder<UpdateVirtualNodeRequest.Builder,,UpdateVirtualNodeRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateVirtualNodeRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.The name of the service mesh that the virtual node resides in.The Amazon Web Services IAM account ID of the service mesh owner.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateVirtualNodeRequest.Builderspec(Consumer<VirtualNodeSpec.Builder> spec) The new virtual node specification to apply.spec(VirtualNodeSpec spec) The new virtual node specification to apply.virtualNodeName(String virtualNodeName) The name of the virtual node to update.Methods inherited from interface software.amazon.awssdk.services.appmesh.model.AppMeshRequest.Builder
buildMethods 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, sdkFields
-
Method Details
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
meshName
The name of the service mesh that the virtual node resides in.
- Parameters:
meshName- The name of the service mesh that the virtual node resides in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
meshOwner
The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
- Parameters:
meshOwner- The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spec
The new virtual node specification to apply. This overwrites the existing data.
- Parameters:
spec- The new virtual node specification to apply. This overwrites the existing data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spec
The new virtual node specification to apply. This overwrites the existing data.
This is a convenience method that creates an instance of theVirtualNodeSpec.Builderavoiding the need to create one manually viaVirtualNodeSpec.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tospec(VirtualNodeSpec).- Parameters:
spec- a consumer that will call methods onVirtualNodeSpec.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
virtualNodeName
The name of the virtual node to update.
- Parameters:
virtualNodeName- The name of the virtual node to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateVirtualNodeRequest.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
UpdateVirtualNodeRequest.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.
-