ConstraintProps
Properties for defining a Constraint.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-servicecatalog-constraint
Initializer
import com.aliyun.ros.cdk.servicecatalog.ConstraintProps;
ConstraintProps.builder()
.config(java.util.Map<java.lang.String, java.lang.Object>)
.config(IResolvable)
.constraintType(java.lang.String)
.constraintType(IResolvable)
.portfolioId(java.lang.String)
.portfolioId(IResolvable)
.productId(java.lang.String)
.productId(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
config | java.util.Map | Property config: The configuration of the constraint. |
constraintType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property constraintType: The type of the constraint. |
portfolioId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property portfolioId: The ID of the portfolio. |
productId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property productId: The ID of the product. |
description | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property description: The description of the constraint. |
configRequired
public java.lang.Object getConfig();
- Type: java.util.Map
OR com.aliyun.ros.cdk.core.IResolvable
Property config: The configuration of the constraint.
Format: { "LocalRoleName": "
constraintTypeRequired
public java.lang.Object getConstraintType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property constraintType: The type of the constraint.
The value is fixed as Launch, which specifies the launch constraint.
portfolioIdRequired
public java.lang.Object getPortfolioId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property portfolioId: The ID of the portfolio.
productIdRequired
public java.lang.Object getProductId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property productId: The ID of the product.
descriptionOptional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: The description of the constraint.
The value must be 1 to 128 characters in length.