Package com.pulumi.alicloud.log
Class StoreArgs.Builder
- java.lang.Object
-
- com.pulumi.alicloud.log.StoreArgs.Builder
-
- Enclosing class:
- StoreArgs
public static final class StoreArgs.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StoreArgs.Builder
appendMeta(com.pulumi.core.Output<java.lang.Boolean> appendMeta)
StoreArgs.Builder
appendMeta(java.lang.Boolean appendMeta)
StoreArgs.Builder
autoSplit(com.pulumi.core.Output<java.lang.Boolean> autoSplit)
StoreArgs.Builder
autoSplit(java.lang.Boolean autoSplit)
StoreArgs
build()
StoreArgs.Builder
enableWebTracking(com.pulumi.core.Output<java.lang.Boolean> enableWebTracking)
StoreArgs.Builder
enableWebTracking(java.lang.Boolean enableWebTracking)
StoreArgs.Builder
encryptConf(StoreEncryptConfArgs encryptConf)
StoreArgs.Builder
encryptConf(com.pulumi.core.Output<StoreEncryptConfArgs> encryptConf)
StoreArgs.Builder
hotTtl(com.pulumi.core.Output<java.lang.Integer> hotTtl)
StoreArgs.Builder
hotTtl(java.lang.Integer hotTtl)
StoreArgs.Builder
logstoreName(com.pulumi.core.Output<java.lang.String> logstoreName)
StoreArgs.Builder
logstoreName(java.lang.String logstoreName)
StoreArgs.Builder
maxSplitShardCount(com.pulumi.core.Output<java.lang.Integer> maxSplitShardCount)
StoreArgs.Builder
maxSplitShardCount(java.lang.Integer maxSplitShardCount)
StoreArgs.Builder
mode(com.pulumi.core.Output<java.lang.String> mode)
StoreArgs.Builder
mode(java.lang.String mode)
StoreArgs.Builder
name(com.pulumi.core.Output<java.lang.String> name)
Deprecated.Field 'name' has been deprecated since provider version 1.215.0.StoreArgs.Builder
name(java.lang.String name)
Deprecated.Field 'name' has been deprecated since provider version 1.215.0.StoreArgs.Builder
project(com.pulumi.core.Output<java.lang.String> project)
Deprecated.Field 'project' has been deprecated since provider version 1.215.0.StoreArgs.Builder
project(java.lang.String project)
Deprecated.Field 'project' has been deprecated since provider version 1.215.0.StoreArgs.Builder
projectName(com.pulumi.core.Output<java.lang.String> projectName)
StoreArgs.Builder
projectName(java.lang.String projectName)
StoreArgs.Builder
retentionPeriod(com.pulumi.core.Output<java.lang.Integer> retentionPeriod)
StoreArgs.Builder
retentionPeriod(java.lang.Integer retentionPeriod)
StoreArgs.Builder
shardCount(com.pulumi.core.Output<java.lang.Integer> shardCount)
StoreArgs.Builder
shardCount(java.lang.Integer shardCount)
StoreArgs.Builder
telemetryType(com.pulumi.core.Output<java.lang.String> telemetryType)
StoreArgs.Builder
telemetryType(java.lang.String telemetryType)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(StoreArgs defaults)
-
-
Method Detail
-
appendMeta
public StoreArgs.Builder appendMeta(@Nullable com.pulumi.core.Output<java.lang.Boolean> appendMeta)
- Parameters:
appendMeta
- Determines whether to append log meta automatically. The meta includes log receive time and client IP address. Default to `true`.- Returns:
- builder
-
appendMeta
public StoreArgs.Builder appendMeta(java.lang.Boolean appendMeta)
- Parameters:
appendMeta
- Determines whether to append log meta automatically. The meta includes log receive time and client IP address. Default to `true`.- Returns:
- builder
-
autoSplit
public StoreArgs.Builder autoSplit(@Nullable com.pulumi.core.Output<java.lang.Boolean> autoSplit)
- Parameters:
autoSplit
- Determines whether to automatically split a shard. Default to `false`.- Returns:
- builder
-
autoSplit
public StoreArgs.Builder autoSplit(java.lang.Boolean autoSplit)
- Parameters:
autoSplit
- Determines whether to automatically split a shard. Default to `false`.- Returns:
- builder
-
enableWebTracking
public StoreArgs.Builder enableWebTracking(@Nullable com.pulumi.core.Output<java.lang.Boolean> enableWebTracking)
- Parameters:
enableWebTracking
- Whether open webtracking. webtracking network tracing, support the collection of HTML log, H5, Ios and android platforms.- Returns:
- builder
-
enableWebTracking
public StoreArgs.Builder enableWebTracking(java.lang.Boolean enableWebTracking)
- Parameters:
enableWebTracking
- Whether open webtracking. webtracking network tracing, support the collection of HTML log, H5, Ios and android platforms.- Returns:
- builder
-
encryptConf
public StoreArgs.Builder encryptConf(@Nullable com.pulumi.core.Output<StoreEncryptConfArgs> encryptConf)
- Parameters:
encryptConf
- Encrypted storage of data, providing data static protection capability, encrypt_conf can be updated since 1.188.0 (only enable change is supported when updating logstore). See `encrypt_conf` below.- Returns:
- builder
-
encryptConf
public StoreArgs.Builder encryptConf(StoreEncryptConfArgs encryptConf)
- Parameters:
encryptConf
- Encrypted storage of data, providing data static protection capability, encrypt_conf can be updated since 1.188.0 (only enable change is supported when updating logstore). See `encrypt_conf` below.- Returns:
- builder
-
hotTtl
public StoreArgs.Builder hotTtl(@Nullable com.pulumi.core.Output<java.lang.Integer> hotTtl)
- Parameters:
hotTtl
- The ttl of hot storage. Default to 30, at least 30, hot storage ttl must be less than ttl.- Returns:
- builder
-
hotTtl
public StoreArgs.Builder hotTtl(java.lang.Integer hotTtl)
- Parameters:
hotTtl
- The ttl of hot storage. Default to 30, at least 30, hot storage ttl must be less than ttl.- Returns:
- builder
-
logstoreName
public StoreArgs.Builder logstoreName(@Nullable com.pulumi.core.Output<java.lang.String> logstoreName)
- Parameters:
logstoreName
- The log store, which is unique in the same project. You need to specify one of the attributes: `logstore_name`, `name`.- Returns:
- builder
-
logstoreName
public StoreArgs.Builder logstoreName(java.lang.String logstoreName)
- Parameters:
logstoreName
- The log store, which is unique in the same project. You need to specify one of the attributes: `logstore_name`, `name`.- Returns:
- builder
-
maxSplitShardCount
public StoreArgs.Builder maxSplitShardCount(@Nullable com.pulumi.core.Output<java.lang.Integer> maxSplitShardCount)
- Parameters:
maxSplitShardCount
- The maximum number of shards for automatic split, which is in the range of 1 to 256. You must specify this parameter when autoSplit is true.- Returns:
- builder
-
maxSplitShardCount
public StoreArgs.Builder maxSplitShardCount(java.lang.Integer maxSplitShardCount)
- Parameters:
maxSplitShardCount
- The maximum number of shards for automatic split, which is in the range of 1 to 256. You must specify this parameter when autoSplit is true.- Returns:
- builder
-
mode
public StoreArgs.Builder mode(@Nullable com.pulumi.core.Output<java.lang.String> mode)
- Parameters:
mode
- The mode of storage. Default to `standard`, must be `standard` or `query`, `lite`.- Returns:
- builder
-
mode
public StoreArgs.Builder mode(java.lang.String mode)
- Parameters:
mode
- The mode of storage. Default to `standard`, must be `standard` or `query`, `lite`.- Returns:
- builder
-
name
@Deprecated public StoreArgs.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
Deprecated.Field 'name' has been deprecated since provider version 1.215.0. New field 'logstore_name' instead.- Parameters:
name
- . Field 'name' has been deprecated from provider version 1.215.0. New field 'logstore_name' instead.- Returns:
- builder
-
name
@Deprecated public StoreArgs.Builder name(java.lang.String name)
Deprecated.Field 'name' has been deprecated since provider version 1.215.0. New field 'logstore_name' instead.- Parameters:
name
- . Field 'name' has been deprecated from provider version 1.215.0. New field 'logstore_name' instead.- Returns:
- builder
-
project
@Deprecated public StoreArgs.Builder project(@Nullable com.pulumi.core.Output<java.lang.String> project)
Deprecated.Field 'project' has been deprecated since provider version 1.215.0. New field 'project_name' instead.- Parameters:
project
- . Field 'project' has been deprecated from provider version 1.215.0. New field 'project_name' instead.- Returns:
- builder
-
project
@Deprecated public StoreArgs.Builder project(java.lang.String project)
Deprecated.Field 'project' has been deprecated since provider version 1.215.0. New field 'project_name' instead.- Parameters:
project
- . Field 'project' has been deprecated from provider version 1.215.0. New field 'project_name' instead.- Returns:
- builder
-
projectName
public StoreArgs.Builder projectName(@Nullable com.pulumi.core.Output<java.lang.String> projectName)
- Parameters:
projectName
- The project name to the log store belongs. You need to specify one of the attributes: `project_name`, `project`.- Returns:
- builder
-
projectName
public StoreArgs.Builder projectName(java.lang.String projectName)
- Parameters:
projectName
- The project name to the log store belongs. You need to specify one of the attributes: `project_name`, `project`.- Returns:
- builder
-
retentionPeriod
public StoreArgs.Builder retentionPeriod(@Nullable com.pulumi.core.Output<java.lang.Integer> retentionPeriod)
- Parameters:
retentionPeriod
- The data retention time (in days). Valid values: [1-3650]. Default to 30. Log store data will be stored permanently when the value is 3650.- Returns:
- builder
-
retentionPeriod
public StoreArgs.Builder retentionPeriod(java.lang.Integer retentionPeriod)
- Parameters:
retentionPeriod
- The data retention time (in days). Valid values: [1-3650]. Default to 30. Log store data will be stored permanently when the value is 3650.- Returns:
- builder
-
shardCount
public StoreArgs.Builder shardCount(@Nullable com.pulumi.core.Output<java.lang.Integer> shardCount)
- Parameters:
shardCount
- The number of shards in this log store. Default to 2. You can modify it by "Split" or "Merge" operations. [Refer to details](https://www.alibabacloud.com/help/zh/sls/product-overview/shard).- Returns:
- builder
-
shardCount
public StoreArgs.Builder shardCount(java.lang.Integer shardCount)
- Parameters:
shardCount
- The number of shards in this log store. Default to 2. You can modify it by "Split" or "Merge" operations. [Refer to details](https://www.alibabacloud.com/help/zh/sls/product-overview/shard).- Returns:
- builder
-
telemetryType
public StoreArgs.Builder telemetryType(@Nullable com.pulumi.core.Output<java.lang.String> telemetryType)
- Parameters:
telemetryType
- Determines whether store type is metric. `Metrics` means metric store, empty means log store. The following arguments will be discarded. Please use new fields as soon as possible:- Returns:
- builder
-
telemetryType
public StoreArgs.Builder telemetryType(java.lang.String telemetryType)
- Parameters:
telemetryType
- Determines whether store type is metric. `Metrics` means metric store, empty means log store. The following arguments will be discarded. Please use new fields as soon as possible:- Returns:
- builder
-
build
public StoreArgs build()
-
-