Skip to content

NamespaceProps

Properties for defining a Namespace.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cms-namespace

Initializer

import com.aliyun.ros.cdk.cms.NamespaceProps;
NamespaceProps.builder()
    .namespace(java.lang.String)
    .namespace(IResolvable)
//  .description(java.lang.String)
//  .description(IResolvable)
//  .specification(java.lang.String)
//  .specification(IResolvable)
    .build();

Properties

Name Type Description
namespace java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property namespace: The name of the namespace.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: The description of the namespace.
specification java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property specification: The data retention period of the namespace.

namespaceRequired

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

Property namespace: The name of the namespace.

The name can contain lowercase letters, digits, and hyphens (-).


descriptionOptional

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

Property description: The description of the namespace.


specificationOptional

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

Property specification: The data retention period of the namespace.

Valid values:

  • cms.s1.large: Data storage duration is 15 days.
  • cms.s1.xlarge: Data storage duration is 32 days.
  • cms.s1.2xlarge: Data storage duration 63 days.
  • cms.s1.3xlarge: Data storage duration 93 days.
  • cms.s1.6xlarge: Data storage duration 185 days.
  • cms.s1.12xlarge: Data storage duration 376 days.