Interface CreateRouteResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateRouteResponse.Builder,CreateRouteResponse>,MigrationHubRefactorSpacesResponse.Builder,SdkBuilder<CreateRouteResponse.Builder,CreateRouteResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateRouteResponse
public static interface CreateRouteResponse.Builder extends MigrationHubRefactorSpacesResponse.Builder, SdkPojo, CopyableBuilder<CreateRouteResponse.Builder,CreateRouteResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateRouteResponse.BuilderapplicationId(String applicationId)The ID of the application in which the route is created.CreateRouteResponse.Builderarn(String arn)The Amazon Resource Name (ARN) of the route.CreateRouteResponse.BuildercreatedByAccountId(String createdByAccountId)The Amazon Web Services account ID of the route creator.CreateRouteResponse.BuildercreatedTime(Instant createdTime)A timestamp that indicates when the route is created.CreateRouteResponse.BuilderlastUpdatedTime(Instant lastUpdatedTime)A timestamp that indicates when the route was last updated.CreateRouteResponse.BuilderownerAccountId(String ownerAccountId)The Amazon Web Services account ID of the route owner.CreateRouteResponse.BuilderrouteId(String routeId)The unique identifier of the route.CreateRouteResponse.BuilderrouteType(String routeType)The route type of the route.CreateRouteResponse.BuilderrouteType(RouteType routeType)The route type of the route.CreateRouteResponse.BuilderserviceId(String serviceId)The ID of service in which the route is created.CreateRouteResponse.Builderstate(String state)The current state of the route.CreateRouteResponse.Builderstate(RouteState state)The current state of the route.CreateRouteResponse.Buildertags(Map<String,String> tags)The tags assigned to the created route.default CreateRouteResponse.BuilderuriPathRoute(Consumer<UriPathRouteInput.Builder> uriPathRoute)Configuration for the URI path route type.CreateRouteResponse.BuilderuriPathRoute(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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
CreateRouteResponse.Builder arn(String 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
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
CreateRouteResponse.Builder routeId(String 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.
-
routeType
CreateRouteResponse.Builder routeType(RouteType routeType)
The route type of the route.
-
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
CreateRouteResponse.Builder state(String state)
The current state of the route. Activation state only allows
ACTIVEorINACTIVEas user inputs.FAILEDis a route state that is system generated.- Parameters:
state- The current state of the route. Activation state only allowsACTIVEorINACTIVEas user inputs.FAILEDis a route state that is system generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RouteState,RouteState
-
state
CreateRouteResponse.Builder state(RouteState state)
The current state of the route. Activation state only allows
ACTIVEorINACTIVEas user inputs.FAILEDis a route state that is system generated.- Parameters:
state- The current state of the route. Activation state only allowsACTIVEorINACTIVEas user inputs.FAILEDis a route state that is system generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RouteState,RouteState
-
tags
CreateRouteResponse.Builder tags(Map<String,String> 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 theUriPathRouteInput.Builderavoiding the need to create one manually viaUriPathRouteInput.builder().When the
Consumercompletes,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:
uriPathRoute(UriPathRouteInput)
-
-