Interface CreateRouteResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<CreateRouteResponse.Builder,CreateRouteResponse>, MigrationHubRefactorSpacesResponse.Builder, SdkBuilder<CreateRouteResponse.Builder,CreateRouteResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
CreateRouteResponse

  • Method Details

    • applicationId

      CreateRouteResponse.Builder applicationId(String applicationId)

      The ID of the application in which the route is created.

      Parameters:
      applicationId - The ID of the application in which the route is created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The Amazon Resource Name (ARN) of the route. The format for this ARN is arn:aws:refactor-spaces:region:account-id:resource-type/resource-id . For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the route. The format for this ARN is arn:aws:refactor-spaces:region:account-id:resource-type/resource-id . For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdByAccountId

      CreateRouteResponse.Builder createdByAccountId(String createdByAccountId)

      The Amazon Web Services account ID of the route creator.

      Parameters:
      createdByAccountId - The Amazon Web Services account ID of the route creator.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdTime

      CreateRouteResponse.Builder createdTime(Instant createdTime)

      A timestamp that indicates when the route is created.

      Parameters:
      createdTime - A timestamp that indicates when the route is created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedTime

      CreateRouteResponse.Builder lastUpdatedTime(Instant lastUpdatedTime)

      A timestamp that indicates when the route was last updated.

      Parameters:
      lastUpdatedTime - A timestamp that indicates when the route was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ownerAccountId

      CreateRouteResponse.Builder ownerAccountId(String ownerAccountId)

      The Amazon Web Services account ID of the route owner.

      Parameters:
      ownerAccountId - The Amazon Web Services account ID of the route owner.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • routeId

      The unique identifier of the route.

      Parameters:
      routeId - The unique identifier of the route.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • routeType

      CreateRouteResponse.Builder routeType(String routeType)

      The route type of the route.

      Parameters:
      routeType - The route type of the route.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • routeType

      CreateRouteResponse.Builder routeType(RouteType routeType)

      The route type of the route.

      Parameters:
      routeType - The route type of the route.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • serviceId

      CreateRouteResponse.Builder serviceId(String serviceId)

      The ID of service in which the route is created. Traffic that matches this route is forwarded to this service.

      Parameters:
      serviceId - The ID of service in which the route is created. Traffic that matches this route is forwarded to this service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The current state of the route. Activation state only allows ACTIVE or INACTIVE as user inputs. FAILED is a route state that is system generated.

      Parameters:
      state - The current state of the route. Activation state only allows ACTIVE or INACTIVE as user inputs. FAILED is a route state that is system generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The current state of the route. Activation state only allows ACTIVE or INACTIVE as user inputs. FAILED is a route state that is system generated.

      Parameters:
      state - The current state of the route. Activation state only allows ACTIVE or INACTIVE as user inputs. FAILED is a route state that is system generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tags

      The tags assigned to the created route. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.

      Parameters:
      tags - The tags assigned to the created route. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • uriPathRoute

      CreateRouteResponse.Builder uriPathRoute(UriPathRouteInput uriPathRoute)

      Configuration for the URI path route type.

      Parameters:
      uriPathRoute - Configuration for the URI path route type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • uriPathRoute

      default CreateRouteResponse.Builder uriPathRoute(Consumer<UriPathRouteInput.Builder> uriPathRoute)

      Configuration for the URI path route type.

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

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

      Parameters:
      uriPathRoute - a consumer that will call methods on UriPathRouteInput.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: