Interface UpdateRouteRequest.Builder
-
- All Superinterfaces:
AppMeshRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateRouteRequest.Builder,UpdateRouteRequest>,SdkBuilder<UpdateRouteRequest.Builder,UpdateRouteRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateRouteRequest
public static interface UpdateRouteRequest.Builder extends AppMeshRequest.Builder, SdkPojo, CopyableBuilder<UpdateRouteRequest.Builder,UpdateRouteRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateRouteRequest.BuilderclientToken(String clientToken)Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.UpdateRouteRequest.BuildermeshName(String meshName)The name of the service mesh that the route resides in.UpdateRouteRequest.BuildermeshOwner(String meshOwner)The Amazon Web Services IAM account ID of the service mesh owner.UpdateRouteRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateRouteRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateRouteRequest.BuilderrouteName(String routeName)The name of the route to update.default UpdateRouteRequest.Builderspec(Consumer<RouteSpec.Builder> spec)The new route specification to apply.UpdateRouteRequest.Builderspec(RouteSpec spec)The new route specification to apply.UpdateRouteRequest.BuildervirtualRouterName(String virtualRouterName)The name of the virtual router that the route is associated with.-
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
UpdateRouteRequest.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
UpdateRouteRequest.Builder meshName(String meshName)
The name of the service mesh that the route resides in.
- Parameters:
meshName- The name of the service mesh that the route resides in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
meshOwner
UpdateRouteRequest.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.
-
routeName
UpdateRouteRequest.Builder routeName(String routeName)
The name of the route to update.
- Parameters:
routeName- The name of the route to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spec
UpdateRouteRequest.Builder spec(RouteSpec spec)
The new route specification to apply. This overwrites the existing data.
- Parameters:
spec- The new route 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 UpdateRouteRequest.Builder spec(Consumer<RouteSpec.Builder> spec)
The new route specification to apply. This overwrites the existing data.
This is a convenience method that creates an instance of theRouteSpec.Builderavoiding the need to create one manually viaRouteSpec.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tospec(RouteSpec).- Parameters:
spec- a consumer that will call methods onRouteSpec.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
spec(RouteSpec)
-
virtualRouterName
UpdateRouteRequest.Builder virtualRouterName(String virtualRouterName)
The name of the virtual router that the route is associated with.
- Parameters:
virtualRouterName- The name of the virtual router that the route is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateRouteRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateRouteRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-