NamespaceProps
Properties for defining a Namespace
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cr-namespace
Initializer
import com.aliyun.ros.cdk.cr.NamespaceProps;
NamespaceProps.builder()
.namespace(java.lang.String)
.namespace(IResolvable)
// .autoCreate(java.lang.Boolean)
// .autoCreate(IResolvable)
// .defaultVisibility(java.lang.String)
// .defaultVisibility(IResolvable)
// .instanceId(java.lang.String)
// .instanceId(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
namespace |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property namespace: The name of the namespace. |
autoCreate |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property autoCreate: Specifies whether to automatically create an image repository. |
defaultVisibility |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property defaultVisibility: The default type of the repository that is automatically created. |
instanceId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property instanceId: The ID of the enterprise edition instance which namespace belongs to. |
namespace
Required
public java.lang.Object getNamespace();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property namespace: The name of the namespace.
autoCreate
Optional
public java.lang.Object getAutoCreate();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property autoCreate: Specifies whether to automatically create an image repository.
defaultVisibility
Optional
public java.lang.Object getDefaultVisibility();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property defaultVisibility: The default type of the repository that is automatically created.
Valid values: PUBLIC, PRIVATE.
instanceId
Optional
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 namespace belongs to.
If not provided, will use personal edition instance as default.