Interface UpdateVirtualRouterRequest.Builder
-
- All Superinterfaces:
AppMeshRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateVirtualRouterRequest.Builder,UpdateVirtualRouterRequest>,SdkBuilder<UpdateVirtualRouterRequest.Builder,UpdateVirtualRouterRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateVirtualRouterRequest
public static interface UpdateVirtualRouterRequest.Builder extends AppMeshRequest.Builder, SdkPojo, CopyableBuilder<UpdateVirtualRouterRequest.Builder,UpdateVirtualRouterRequest>
-
-
Method Summary
-
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 Detail
-
clientToken
UpdateVirtualRouterRequest.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.
- 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
UpdateVirtualRouterRequest.Builder meshName(String meshName)
The name of the service mesh that the virtual router resides in.
- Parameters:
meshName- The name of the service mesh that the virtual router resides in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
meshOwner
UpdateVirtualRouterRequest.Builder meshOwner(String 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
UpdateVirtualRouterRequest.Builder spec(VirtualRouterSpec spec)
The new virtual router specification to apply. This overwrites the existing data.
- Parameters:
spec- The new virtual router specification to apply. This overwrites the existing data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spec
default UpdateVirtualRouterRequest.Builder spec(Consumer<VirtualRouterSpec.Builder> spec)
The new virtual router specification to apply. This overwrites the existing data.
This is a convenience method that creates an instance of theVirtualRouterSpec.Builderavoiding the need to create one manually viaVirtualRouterSpec.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tospec(VirtualRouterSpec).- Parameters:
spec- a consumer that will call methods onVirtualRouterSpec.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
spec(VirtualRouterSpec)
-
virtualRouterName
UpdateVirtualRouterRequest.Builder virtualRouterName(String virtualRouterName)
The name of the virtual router to update.
- Parameters:
virtualRouterName- The name of the virtual router to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateVirtualRouterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateVirtualRouterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-