Skip to content

CodeSourceProps

Properties for defining a CodeSource.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-pai-codesource

Initializer

import com.aliyun.ros.cdk.pai.CodeSourceProps;
CodeSourceProps.builder()
    .accessibility(java.lang.String)
    .accessibility(IResolvable)
    .codeRepo(java.lang.String)
    .codeRepo(IResolvable)
    .displayName(java.lang.String)
    .displayName(IResolvable)
    .mountPath(java.lang.String)
    .mountPath(IResolvable)
    .workspaceId(java.lang.String)
    .workspaceId(IResolvable)
//  .codeBranch(java.lang.String)
//  .codeBranch(IResolvable)
//  .codeCommit(java.lang.String)
//  .codeCommit(IResolvable)
//  .codeRepoAccessToken(java.lang.String)
//  .codeRepoAccessToken(IResolvable)
//  .codeRepoUserName(java.lang.String)
//  .codeRepoUserName(IResolvable)
//  .description(java.lang.String)
//  .description(IResolvable)
    .build();

Properties

Name Type Description
accessibility java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property accessibility: Visibility of the code configuration, possible values: - PRIVATE: In this workspace, it is only visible to you and the administrator.
codeRepo java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property codeRepo: Code repository address.
displayName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property displayName: Code source configuration name.
mountPath java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property mountPath: The local Mount Directory of the code.
workspaceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property workspaceId: The ID of the workspace.
codeBranch java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property codeBranch: Code repository branch.
codeCommit java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property codeCommit: The code CommitId.
codeRepoAccessToken java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property codeRepoAccessToken: The Token used to access the code repository.
codeRepoUserName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property codeRepoUserName: The user name of the code repository.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: A detailed description of the code configuration.

accessibilityRequired

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

Property accessibility: Visibility of the code configuration, possible values: - PRIVATE: In this workspace, it is only visible to you and the administrator.

  • PUBLIC: In this workspace, it is visible to everyone.

codeRepoRequired

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

Property codeRepo: Code repository address.


displayNameRequired

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

Property displayName: Code source configuration name.


mountPathRequired

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

Property mountPath: The local Mount Directory of the code.


workspaceIdRequired

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

Property workspaceId: The ID of the workspace.


codeBranchOptional

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

Property codeBranch: Code repository branch.


codeCommitOptional

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

Property codeCommit: The code CommitId.


codeRepoAccessTokenOptional

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

Property codeRepoAccessToken: The Token used to access the code repository.


codeRepoUserNameOptional

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

Property codeRepoUserName: The user name of the code repository.


descriptionOptional

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

Property description: A detailed description of the code configuration.