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. |
accessibility
Required
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.
codeRepo
Required
public java.lang.Object getCodeRepo();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property codeRepo: Code repository address.
displayName
Required
public java.lang.Object getDisplayName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property displayName: Code source configuration name.
mountPath
Required
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.
workspaceId
Required
public java.lang.Object getWorkspaceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property workspaceId: The ID of the workspace.
codeBranch
Optional
public java.lang.Object getCodeBranch();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property codeBranch: Code repository branch.
codeCommit
Optional
public java.lang.Object getCodeCommit();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property codeCommit: The code CommitId.
codeRepoAccessToken
Optional
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.
codeRepoUserName
Optional
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.
description
Optional
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.