Skip to content

CategoryProps

Properties for defining a Category.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ice-category

Initializer

import com.aliyun.ros.cdk.ice.CategoryProps;
CategoryProps.builder()
    .cateName(java.lang.String)
    .cateName(IResolvable)
//  .parentId(java.lang.Number)
//  .parentId(IResolvable)
//  .type(java.lang.String)
//  .type(IResolvable)
    .build();

Properties

Name Type Description
cateName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property cateName: The category name.
parentId java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property parentId: The ID of the parent category.
type java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property type: The type of the category.

cateNameRequired

public java.lang.Object getCateName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property cateName: The category name.

The value can be up to 64 bytes in length. The value must be encoded in UTF-8.


parentIdOptional

public java.lang.Object getParentId();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property parentId: The ID of the parent category.


typeOptional

public java.lang.Object getType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property type: The type of the category.

Valid values: default: audio, video, and image files. This is the default value. material: short video materials.