Skip to content

AppProps

Properties for defining a App.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mobi-app

Initializer

import com.aliyun.ros.cdk.mobi.AppProps;
AppProps.builder()
    .appIcon(java.lang.String)
    .appIcon(IResolvable)
    .appName(java.lang.String)
    .appName(IResolvable)
    .appWorkspaceId(java.lang.String)
    .appWorkspaceId(IResolvable)
    .template(IResolvable)
    .template(TemplateProperty)
//  .appDescription(java.lang.String)
//  .appDescription(IResolvable)
//  .appType(java.lang.String)
//  .appType(IResolvable)
    .build();

Properties

Name Type Description
appIcon java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property appIcon: Application icon label, The system provides an icon by default, which is given in the form of a label.
appName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property appName: The application name.
appWorkspaceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property appWorkspaceId: Workspace ID of application, The application belongs to the workspace.
template com.aliyun.ros.cdk.core.IResolvable OR TemplateProperty Property template: Application Template.
appDescription java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property appDescription: Description of application.
appType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property appType: The application type.

appIconRequired

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

Property appIcon: Application icon label, The system provides an icon by default, which is given in the form of a label.

The default value is -1.


appNameRequired

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

Property appName: The application name.


appWorkspaceIdRequired

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

Property appWorkspaceId: Workspace ID of application, The application belongs to the workspace.


templateRequired

public java.lang.Object getTemplate();

Property template: Application Template.


appDescriptionOptional

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

Property appDescription: Description of application.


appTypeOptional

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

Property appType: The application type.

Web applications and Copilot applications are supported.

  • Web:Web application.
  • Copilot:Copilot application.