AliasProps
Properties for defining a Alias
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc-alias
Initializer
import com.aliyun.ros.cdk.fc.AliasProps;
AliasProps.builder()
.aliasName(java.lang.String)
.aliasName(IResolvable)
.serviceName(java.lang.String)
.serviceName(IResolvable)
// .additionalVersion(java.lang.String)
// .additionalVersion(IResolvable)
// .additionalWeight(java.lang.Number)
// .additionalWeight(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
// .versionId(java.lang.String)
// .versionId(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
aliasName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property aliasName: Alias name. |
serviceName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property serviceName: Service name. |
additionalVersion |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property additionalVersion: Additional version. |
additionalWeight |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property additionalWeight: Traffic weight of additional version. |
description |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property description: Version description. |
versionId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property versionId: Version ID. |
aliasName
Required
public java.lang.Object getAliasName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property aliasName: Alias name.
serviceName
Required
public java.lang.Object getServiceName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property serviceName: Service name.
additionalVersion
Optional
public java.lang.Object getAdditionalVersion();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property additionalVersion: Additional version.
additionalWeight
Optional
public java.lang.Object getAdditionalWeight();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property additionalWeight: Traffic weight of additional version.
From 0 to 100.
description
Optional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: Version description.
versionId
Optional
public java.lang.Object getVersionId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property versionId: Version ID.