RouteProps
Properties for defining a Route
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-apig-route
Initializer
import com.aliyun.ros.cdk.apig.RouteProps;
RouteProps.builder()
.backend(IResolvable)
.backend(BackendProperty)
.environmentInfo(IResolvable)
.environmentInfo(EnvironmentInfoProperty)
.httpApiId(java.lang.String)
.httpApiId(IResolvable)
.match(IResolvable)
.match(MatchProperty)
.routeName(java.lang.String)
.routeName(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
// .domainIds(IResolvable)
// .domainIds(java.util.List<java.lang.String)
// .domainIds(IResolvable>)
// .domainInfos(IResolvable)
// .domainInfos(java.util.List<IResolvable)
// .domainInfos(DomainInfosProperty>)
.build();
Properties
Name | Type | Description |
---|---|---|
backend |
com.aliyun.ros.cdk.core.IResolvable OR BackendProperty |
Property backend: Backend service configuration for routing. |
environmentInfo |
com.aliyun.ros.cdk.core.IResolvable OR EnvironmentInfoProperty |
Property environmentInfo: The information if the environment. |
httpApiId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property httpApiId: The ID of the API. |
match |
com.aliyun.ros.cdk.core.IResolvable OR MatchProperty |
Property match: The match rule of route resource. |
routeName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property routeName: The name of the route. |
description |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property description: The description of route. |
domainIds |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property domainIds: The list of domain name IDs. |
domainInfos |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property domainInfos: Domain items. |
backend
Required
public java.lang.Object getBackend();
- Type: com.aliyun.ros.cdk.core.IResolvable OR BackendProperty
Property backend: Backend service configuration for routing.
environmentInfo
Required
public java.lang.Object getEnvironmentInfo();
- Type: com.aliyun.ros.cdk.core.IResolvable OR EnvironmentInfoProperty
Property environmentInfo: The information if the environment.
httpApiId
Required
public java.lang.Object getHttpApiId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property httpApiId: The ID of the API.
match
Required
public java.lang.Object getMatch();
- Type: com.aliyun.ros.cdk.core.IResolvable OR MatchProperty
Property match: The match rule of route resource.
routeName
Required
public java.lang.Object getRouteName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property routeName: The name of the route.
description
Optional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: The description of route.
domainIds
Optional
public java.lang.Object getDomainIds();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property domainIds: The list of domain name IDs.
domainInfos
Optional
public java.lang.Object getDomainInfos();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
DomainInfosProperty>
Property domainInfos: Domain items.