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 Summary
Modifier and TypeMethodDescriptionapplicationId
(String applicationId) The ID of the application in which the route is created.The Amazon Resource Name (ARN) of the route.createdByAccountId
(String createdByAccountId) The Amazon Web Services account ID of the route creator.createdTime
(Instant createdTime) A timestamp that indicates when the route is created.lastUpdatedTime
(Instant lastUpdatedTime) A timestamp that indicates when the route was last updated.ownerAccountId
(String ownerAccountId) The Amazon Web Services account ID of the route owner.The unique identifier of the route.The route type of the route.The route type of the route.The ID of service in which the route is created.The current state of the route.state
(RouteState state) The current state of the route.The tags assigned to the created route.default CreateRouteResponse.Builder
uriPathRoute
(Consumer<UriPathRouteInput.Builder> uriPathRoute) Configuration for the URI path route type.uriPathRoute
(UriPathRouteInput uriPathRoute) Configuration for the URI path route type.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.migrationhubrefactorspaces.model.MigrationHubRefactorSpacesResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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 isarn: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
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
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
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
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
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
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
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
orINACTIVE
as user inputs.FAILED
is a route state that is system generated.- Parameters:
state
- The current state of the route. Activation state only allowsACTIVE
orINACTIVE
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
orINACTIVE
as user inputs.FAILED
is a route state that is system generated.- Parameters:
state
- The current state of the route. Activation state only allowsACTIVE
orINACTIVE
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
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
Configuration for the URI path route type.
This is a convenience method that creates an instance of theUriPathRouteInput.Builder
avoiding the need to create one manually viaUriPathRouteInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touriPathRoute(UriPathRouteInput)
.- Parameters:
uriPathRoute
- a consumer that will call methods onUriPathRouteInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-