ParameterProps
Properties for defining a Parameter
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-parameter
Initializer
import com.aliyun.ros.cdk.oos.ParameterProps;
ParameterProps.builder()
.name(java.lang.String)
.name(IResolvable)
.type(java.lang.String)
.type(IResolvable)
.value(java.lang.String)
.value(IResolvable)
// .constraints(java.lang.String)
// .constraints(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
// .resourceGroupId(java.lang.String)
// .resourceGroupId(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
name |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property name: The name of the parameter. |
type |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property type: The data type of the common parameter. |
value |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property value: The value of the parameter. |
constraints |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property constraints: The constraints of the parameter. |
description |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property description: The description of the parameter. |
resourceGroupId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property resourceGroupId: Resource group id. |
name
Required
public java.lang.Object getName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property name: The name of the parameter.
The name must be 1 to 200 characters in length,and can contain letters, digits, hyphens (-), and underscores (_). It cannot start with ALIYUN, ACS, ALIBABA, ALICLOUD, or OOS.
type
Required
public java.lang.Object getType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property type: The data type of the common parameter.
Valid values: String and StringList.
value
Required
public java.lang.Object getValue();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property value: The value of the parameter.
The value must be 1 to 4096 characters in length.
constraints
Optional
public java.lang.Object getConstraints();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property constraints: The constraints of the parameter.
By default, this parameter is null. Valid values: AllowedValues: The value that is allowed for the parameter. It must be an array string. AllowedPattern: The pattern that is allowed for the parameter. It must be a regular expression. MinLength: The minimum length of the parameter. MaxLength: The maximum length of the parameter.
description
Optional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: The description of the parameter.
The description must be 1 to 200 characters in length.
resourceGroupId
Optional
public java.lang.Object getResourceGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property resourceGroupId: Resource group id.