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 Details

    • 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

      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

      The new route specification to apply. This overwrites the existing data.

      This is a convenience method that creates an instance of the RouteSpec.Builder avoiding the need to create one manually via RouteSpec.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to spec(RouteSpec).

      Parameters:
      spec - a consumer that will call methods on RouteSpec.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.