Interface UpdateMeshRequest.Builder
- All Superinterfaces:
AppMeshRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateMeshRequest.Builder,
,UpdateMeshRequest> SdkBuilder<UpdateMeshRequest.Builder,
,UpdateMeshRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateMeshRequest
public static interface UpdateMeshRequest.Builder
extends AppMeshRequest.Builder, SdkPojo, CopyableBuilder<UpdateMeshRequest.Builder,UpdateMeshRequest>
-
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 to update.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateMeshRequest.Builder
spec
(Consumer<MeshSpec.Builder> spec) The service mesh specification to apply.The service mesh specification to apply.Methods inherited from interface software.amazon.awssdk.services.appmesh.model.AppMeshRequest.Builder
build
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
-
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 to update.
- Parameters:
meshName
- The name of the service mesh to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spec
The service mesh specification to apply.
- Parameters:
spec
- The service mesh specification to apply.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spec
The service mesh specification to apply.
This is a convenience method that creates an instance of theMeshSpec.Builder
avoiding the need to create one manually viaMeshSpec.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tospec(MeshSpec)
.- Parameters:
spec
- a consumer that will call methods onMeshSpec.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateMeshRequest.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
UpdateMeshRequest.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.
-