RepositoryProps
Properties for defining a Repository.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cr-repository
Initializer
import com.aliyun.ros.cdk.cr.RepositoryProps;
RepositoryProps.builder()
.repoName(java.lang.String)
.repoName(IResolvable)
.repoNamespace(java.lang.String)
.repoNamespace(IResolvable)
.repoType(java.lang.String)
.repoType(IResolvable)
.summary(java.lang.String)
.summary(IResolvable)
// .detail(java.lang.String)
// .detail(IResolvable)
// .instanceId(java.lang.String)
// .instanceId(IResolvable)
// .repoSource(IResolvable)
// .repoSource(RepoSourceProperty)
// .tagImmutability(java.lang.Boolean)
// .tagImmutability(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
repoName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property repoName: The name of the repository. |
repoNamespace | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property repoNamespace: The name of the namespace to which the repository belongs. |
repoType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property repoType: The type of the repository. |
summary | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property summary: The summary of the repository. |
detail | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property detail: The description of the repository. |
instanceId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property instanceId: The ID of the enterprise edition instance which repository belongs to. |
repoSource | com.aliyun.ros.cdk.core.IResolvable OR RepoSourceProperty | Property repoSource: Code Source message. |
tagImmutability | java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable | Property tagImmutability: Specifies whether the repository is immutable. |
repoNameRequired
public java.lang.Object getRepoName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property repoName: The name of the repository.
repoNamespaceRequired
public java.lang.Object getRepoNamespace();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property repoNamespace: The name of the namespace to which the repository belongs.
repoTypeRequired
public java.lang.Object getRepoType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property repoType: The type of the repository.
Valid values: PUBLIC, PRIVATE.
summaryRequired
public java.lang.Object getSummary();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property summary: The summary of the repository.
detailOptional
public java.lang.Object getDetail();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property detail: The description of the repository.
instanceIdOptional
public java.lang.Object getInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property instanceId: The ID of the enterprise edition instance which repository belongs to.
If not provided, will use personal edition instance as default.
repoSourceOptional
public java.lang.Object getRepoSource();
- Type: com.aliyun.ros.cdk.core.IResolvable OR RepoSourceProperty
Property repoSource: Code Source message.
tagImmutabilityOptional
public java.lang.Object getTagImmutability();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property tagImmutability: Specifies whether the repository is immutable.
Only takes effect when InstanceId is specified.