Skip to content

RosMetricStoreProps

Properties for defining a RosMetricStore.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-metricstore

Initializer

import com.aliyun.ros.cdk.sls.RosMetricStoreProps;
RosMetricStoreProps.builder()
    .logstoreName(java.lang.String)
    .logstoreName(IResolvable)
    .projectName(java.lang.String)
    .projectName(IResolvable)
//  .preserveStorage(java.lang.Boolean)
//  .preserveStorage(IResolvable)
//  .shardCount(java.lang.Number)
//  .shardCount(IResolvable)
//  .ttl(java.lang.Number)
//  .ttl(IResolvable)
    .build();

Properties

Name Type Description
logstoreName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
projectName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
preserveStorage java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
shardCount java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
ttl java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.

logstoreNameRequired

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

projectNameRequired

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

preserveStorageOptional

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

shardCountOptional

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

ttlOptional

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