Package com.pulumi.alicloud.log.inputs
Class OssExportState.Builder
- java.lang.Object
-
- com.pulumi.alicloud.log.inputs.OssExportState.Builder
-
- Enclosing class:
- OssExportState
public static final class OssExportState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(OssExportState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OssExportState.Builder
bucket(com.pulumi.core.Output<java.lang.String> bucket)
OssExportState.Builder
bucket(java.lang.String bucket)
OssExportState.Builder
bufferInterval(com.pulumi.core.Output<java.lang.Integer> bufferInterval)
OssExportState.Builder
bufferInterval(java.lang.Integer bufferInterval)
OssExportState.Builder
bufferSize(com.pulumi.core.Output<java.lang.Integer> bufferSize)
OssExportState.Builder
bufferSize(java.lang.Integer bufferSize)
OssExportState
build()
OssExportState.Builder
compressType(com.pulumi.core.Output<java.lang.String> compressType)
OssExportState.Builder
compressType(java.lang.String compressType)
OssExportState.Builder
configColumns(OssExportConfigColumnArgs... configColumns)
OssExportState.Builder
configColumns(com.pulumi.core.Output<java.util.List<OssExportConfigColumnArgs>> configColumns)
OssExportState.Builder
configColumns(java.util.List<OssExportConfigColumnArgs> configColumns)
OssExportState.Builder
contentType(com.pulumi.core.Output<java.lang.String> contentType)
OssExportState.Builder
contentType(java.lang.String contentType)
OssExportState.Builder
csvConfigColumns(com.pulumi.core.Output<java.util.List<java.lang.String>> csvConfigColumns)
OssExportState.Builder
csvConfigColumns(java.lang.String... csvConfigColumns)
OssExportState.Builder
csvConfigColumns(java.util.List<java.lang.String> csvConfigColumns)
OssExportState.Builder
csvConfigDelimiter(com.pulumi.core.Output<java.lang.String> csvConfigDelimiter)
OssExportState.Builder
csvConfigDelimiter(java.lang.String csvConfigDelimiter)
OssExportState.Builder
csvConfigEscape(com.pulumi.core.Output<java.lang.String> csvConfigEscape)
OssExportState.Builder
csvConfigEscape(java.lang.String csvConfigEscape)
OssExportState.Builder
csvConfigHeader(com.pulumi.core.Output<java.lang.Boolean> csvConfigHeader)
OssExportState.Builder
csvConfigHeader(java.lang.Boolean csvConfigHeader)
OssExportState.Builder
csvConfigLinefeed(com.pulumi.core.Output<java.lang.String> csvConfigLinefeed)
OssExportState.Builder
csvConfigLinefeed(java.lang.String csvConfigLinefeed)
OssExportState.Builder
csvConfigNull(com.pulumi.core.Output<java.lang.String> csvConfigNull)
OssExportState.Builder
csvConfigNull(java.lang.String csvConfigNull)
OssExportState.Builder
csvConfigQuote(com.pulumi.core.Output<java.lang.String> csvConfigQuote)
OssExportState.Builder
csvConfigQuote(java.lang.String csvConfigQuote)
OssExportState.Builder
displayName(com.pulumi.core.Output<java.lang.String> displayName)
OssExportState.Builder
displayName(java.lang.String displayName)
OssExportState.Builder
exportName(com.pulumi.core.Output<java.lang.String> exportName)
OssExportState.Builder
exportName(java.lang.String exportName)
OssExportState.Builder
fromTime(com.pulumi.core.Output<java.lang.Integer> fromTime)
OssExportState.Builder
fromTime(java.lang.Integer fromTime)
OssExportState.Builder
jsonEnableTag(com.pulumi.core.Output<java.lang.Boolean> jsonEnableTag)
OssExportState.Builder
jsonEnableTag(java.lang.Boolean jsonEnableTag)
OssExportState.Builder
logReadRoleArn(com.pulumi.core.Output<java.lang.String> logReadRoleArn)
OssExportState.Builder
logReadRoleArn(java.lang.String logReadRoleArn)
OssExportState.Builder
logstoreName(com.pulumi.core.Output<java.lang.String> logstoreName)
OssExportState.Builder
logstoreName(java.lang.String logstoreName)
OssExportState.Builder
pathFormat(com.pulumi.core.Output<java.lang.String> pathFormat)
OssExportState.Builder
pathFormat(java.lang.String pathFormat)
OssExportState.Builder
prefix(com.pulumi.core.Output<java.lang.String> prefix)
OssExportState.Builder
prefix(java.lang.String prefix)
OssExportState.Builder
projectName(com.pulumi.core.Output<java.lang.String> projectName)
OssExportState.Builder
projectName(java.lang.String projectName)
OssExportState.Builder
roleArn(com.pulumi.core.Output<java.lang.String> roleArn)
OssExportState.Builder
roleArn(java.lang.String roleArn)
OssExportState.Builder
suffix(com.pulumi.core.Output<java.lang.String> suffix)
OssExportState.Builder
suffix(java.lang.String suffix)
OssExportState.Builder
timeZone(com.pulumi.core.Output<java.lang.String> timeZone)
OssExportState.Builder
timeZone(java.lang.String timeZone)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(OssExportState defaults)
-
-
Method Detail
-
bucket
public OssExportState.Builder bucket(@Nullable com.pulumi.core.Output<java.lang.String> bucket)
- Parameters:
bucket
- The name of the oss bucket.- Returns:
- builder
-
bucket
public OssExportState.Builder bucket(java.lang.String bucket)
- Parameters:
bucket
- The name of the oss bucket.- Returns:
- builder
-
bufferInterval
public OssExportState.Builder bufferInterval(@Nullable com.pulumi.core.Output<java.lang.Integer> bufferInterval)
- Parameters:
bufferInterval
- How often is it delivered every interval.- Returns:
- builder
-
bufferInterval
public OssExportState.Builder bufferInterval(java.lang.Integer bufferInterval)
- Parameters:
bufferInterval
- How often is it delivered every interval.- Returns:
- builder
-
bufferSize
public OssExportState.Builder bufferSize(@Nullable com.pulumi.core.Output<java.lang.Integer> bufferSize)
- Parameters:
bufferSize
- Automatically control the creation interval of delivery tasks and set the upper limit of an OSS object size (calculated in uncompressed), unit: `MB`.- Returns:
- builder
-
bufferSize
public OssExportState.Builder bufferSize(java.lang.Integer bufferSize)
- Parameters:
bufferSize
- Automatically control the creation interval of delivery tasks and set the upper limit of an OSS object size (calculated in uncompressed), unit: `MB`.- Returns:
- builder
-
compressType
public OssExportState.Builder compressType(@Nullable com.pulumi.core.Output<java.lang.String> compressType)
- Parameters:
compressType
- OSS data storage compression method, support: `none`, `snappy`, `zstd`, `gzip`. Among them, none means that the original data is not compressed, and snappy means that the data is compressed using the snappy algorithm, which can reduce the storage space usage of the `OSS Bucket`.- Returns:
- builder
-
compressType
public OssExportState.Builder compressType(java.lang.String compressType)
- Parameters:
compressType
- OSS data storage compression method, support: `none`, `snappy`, `zstd`, `gzip`. Among them, none means that the original data is not compressed, and snappy means that the data is compressed using the snappy algorithm, which can reduce the storage space usage of the `OSS Bucket`.- Returns:
- builder
-
configColumns
public OssExportState.Builder configColumns(@Nullable com.pulumi.core.Output<java.util.List<OssExportConfigColumnArgs>> configColumns)
- Parameters:
configColumns
- Configure columns when `content_type` is `parquet` or `orc`.- Returns:
- builder
-
configColumns
public OssExportState.Builder configColumns(java.util.List<OssExportConfigColumnArgs> configColumns)
- Parameters:
configColumns
- Configure columns when `content_type` is `parquet` or `orc`.- Returns:
- builder
-
configColumns
public OssExportState.Builder configColumns(OssExportConfigColumnArgs... configColumns)
- Parameters:
configColumns
- Configure columns when `content_type` is `parquet` or `orc`.- Returns:
- builder
-
contentType
public OssExportState.Builder contentType(@Nullable com.pulumi.core.Output<java.lang.String> contentType)
- Parameters:
contentType
- Storage format, only supports three types: `json`, `parquet`, `orc`, `csv`. **According to the different format, please select the following parameters**- Returns:
- builder
-
contentType
public OssExportState.Builder contentType(java.lang.String contentType)
- Parameters:
contentType
- Storage format, only supports three types: `json`, `parquet`, `orc`, `csv`. **According to the different format, please select the following parameters**- Returns:
- builder
-
csvConfigColumns
public OssExportState.Builder csvConfigColumns(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> csvConfigColumns)
- Parameters:
csvConfigColumns
- Field configuration in csv content_type.- Returns:
- builder
-
csvConfigColumns
public OssExportState.Builder csvConfigColumns(java.util.List<java.lang.String> csvConfigColumns)
- Parameters:
csvConfigColumns
- Field configuration in csv content_type.- Returns:
- builder
-
csvConfigColumns
public OssExportState.Builder csvConfigColumns(java.lang.String... csvConfigColumns)
- Parameters:
csvConfigColumns
- Field configuration in csv content_type.- Returns:
- builder
-
csvConfigDelimiter
public OssExportState.Builder csvConfigDelimiter(@Nullable com.pulumi.core.Output<java.lang.String> csvConfigDelimiter)
- Parameters:
csvConfigDelimiter
- Separator configuration in csv content_type.- Returns:
- builder
-
csvConfigDelimiter
public OssExportState.Builder csvConfigDelimiter(java.lang.String csvConfigDelimiter)
- Parameters:
csvConfigDelimiter
- Separator configuration in csv content_type.- Returns:
- builder
-
csvConfigEscape
public OssExportState.Builder csvConfigEscape(@Nullable com.pulumi.core.Output<java.lang.String> csvConfigEscape)
- Parameters:
csvConfigEscape
- escape in csv content_type.- Returns:
- builder
-
csvConfigEscape
public OssExportState.Builder csvConfigEscape(java.lang.String csvConfigEscape)
- Parameters:
csvConfigEscape
- escape in csv content_type.- Returns:
- builder
-
csvConfigHeader
public OssExportState.Builder csvConfigHeader(@Nullable com.pulumi.core.Output<java.lang.Boolean> csvConfigHeader)
- Parameters:
csvConfigHeader
- Indicates whether to write the field name to the CSV file, the default value is `false`.- Returns:
- builder
-
csvConfigHeader
public OssExportState.Builder csvConfigHeader(java.lang.Boolean csvConfigHeader)
- Parameters:
csvConfigHeader
- Indicates whether to write the field name to the CSV file, the default value is `false`.- Returns:
- builder
-
csvConfigLinefeed
public OssExportState.Builder csvConfigLinefeed(@Nullable com.pulumi.core.Output<java.lang.String> csvConfigLinefeed)
- Parameters:
csvConfigLinefeed
- lineFeed in csv content_type.- Returns:
- builder
-
csvConfigLinefeed
public OssExportState.Builder csvConfigLinefeed(java.lang.String csvConfigLinefeed)
- Parameters:
csvConfigLinefeed
- lineFeed in csv content_type.- Returns:
- builder
-
csvConfigNull
public OssExportState.Builder csvConfigNull(@Nullable com.pulumi.core.Output<java.lang.String> csvConfigNull)
- Parameters:
csvConfigNull
- Invalid field content in csv content_type.- Returns:
- builder
-
csvConfigNull
public OssExportState.Builder csvConfigNull(java.lang.String csvConfigNull)
- Parameters:
csvConfigNull
- Invalid field content in csv content_type.- Returns:
- builder
-
csvConfigQuote
public OssExportState.Builder csvConfigQuote(@Nullable com.pulumi.core.Output<java.lang.String> csvConfigQuote)
- Parameters:
csvConfigQuote
- Escape character in csv content_type.- Returns:
- builder
-
csvConfigQuote
public OssExportState.Builder csvConfigQuote(java.lang.String csvConfigQuote)
- Parameters:
csvConfigQuote
- Escape character in csv content_type.- Returns:
- builder
-
displayName
public OssExportState.Builder displayName(@Nullable com.pulumi.core.Output<java.lang.String> displayName)
- Parameters:
displayName
- The display name for oss export.- Returns:
- builder
-
displayName
public OssExportState.Builder displayName(java.lang.String displayName)
- Parameters:
displayName
- The display name for oss export.- Returns:
- builder
-
exportName
public OssExportState.Builder exportName(@Nullable com.pulumi.core.Output<java.lang.String> exportName)
- Parameters:
exportName
- Delivery configuration name, it can only contain lowercase letters, numbers, dashes `-` and underscores `_`. It must start and end with lowercase letters or numbers, and the name must be 2 to 128 characters long.- Returns:
- builder
-
exportName
public OssExportState.Builder exportName(java.lang.String exportName)
- Parameters:
exportName
- Delivery configuration name, it can only contain lowercase letters, numbers, dashes `-` and underscores `_`. It must start and end with lowercase letters or numbers, and the name must be 2 to 128 characters long.- Returns:
- builder
-
fromTime
public OssExportState.Builder fromTime(@Nullable com.pulumi.core.Output<java.lang.Integer> fromTime)
- Parameters:
fromTime
- The log from when to export to oss.- Returns:
- builder
-
fromTime
public OssExportState.Builder fromTime(java.lang.Integer fromTime)
- Parameters:
fromTime
- The log from when to export to oss.- Returns:
- builder
-
jsonEnableTag
public OssExportState.Builder jsonEnableTag(@Nullable com.pulumi.core.Output<java.lang.Boolean> jsonEnableTag)
- Parameters:
jsonEnableTag
- Whether to deliver the label when `content_type` = `json`.- Returns:
- builder
-
jsonEnableTag
public OssExportState.Builder jsonEnableTag(java.lang.Boolean jsonEnableTag)
- Parameters:
jsonEnableTag
- Whether to deliver the label when `content_type` = `json`.- Returns:
- builder
-
logReadRoleArn
public OssExportState.Builder logReadRoleArn(@Nullable com.pulumi.core.Output<java.lang.String> logReadRoleArn)
- Parameters:
logReadRoleArn
- Used for logstore reading, the role should have log read policy, such as `acs:ram::13234:role/logrole`, if `log_read_role_arn` is not set, `role_arn` is used to read logstore.- Returns:
- builder
-
logReadRoleArn
public OssExportState.Builder logReadRoleArn(java.lang.String logReadRoleArn)
- Parameters:
logReadRoleArn
- Used for logstore reading, the role should have log read policy, such as `acs:ram::13234:role/logrole`, if `log_read_role_arn` is not set, `role_arn` is used to read logstore.- Returns:
- builder
-
logstoreName
public OssExportState.Builder logstoreName(@Nullable com.pulumi.core.Output<java.lang.String> logstoreName)
- Parameters:
logstoreName
- The name of the log logstore.- Returns:
- builder
-
logstoreName
public OssExportState.Builder logstoreName(java.lang.String logstoreName)
- Parameters:
logstoreName
- The name of the log logstore.- Returns:
- builder
-
pathFormat
public OssExportState.Builder pathFormat(@Nullable com.pulumi.core.Output<java.lang.String> pathFormat)
- Parameters:
pathFormat
- The OSS Bucket directory is dynamically generated according to the creation time of the export task, it cannot start with a forward slash `/`, the default value is `%Y/%m/%d/%H/%M`.- Returns:
- builder
-
pathFormat
public OssExportState.Builder pathFormat(java.lang.String pathFormat)
- Parameters:
pathFormat
- The OSS Bucket directory is dynamically generated according to the creation time of the export task, it cannot start with a forward slash `/`, the default value is `%Y/%m/%d/%H/%M`.- Returns:
- builder
-
prefix
public OssExportState.Builder prefix(@Nullable com.pulumi.core.Output<java.lang.String> prefix)
- Parameters:
prefix
- The data synchronized from Log Service to OSS will be stored in this directory of Bucket.- Returns:
- builder
-
prefix
public OssExportState.Builder prefix(java.lang.String prefix)
- Parameters:
prefix
- The data synchronized from Log Service to OSS will be stored in this directory of Bucket.- Returns:
- builder
-
projectName
public OssExportState.Builder projectName(@Nullable com.pulumi.core.Output<java.lang.String> projectName)
- Parameters:
projectName
- The name of the log project. It is the only in one Alicloud account.- Returns:
- builder
-
projectName
public OssExportState.Builder projectName(java.lang.String projectName)
- Parameters:
projectName
- The name of the log project. It is the only in one Alicloud account.- Returns:
- builder
-
roleArn
public OssExportState.Builder roleArn(@Nullable com.pulumi.core.Output<java.lang.String> roleArn)
- Parameters:
roleArn
- Used to write to oss bucket, the OSS Bucket owner creates the role mark which has the oss bucket write policy, such as `acs:ram::13234:role/logrole`.- Returns:
- builder
-
roleArn
public OssExportState.Builder roleArn(java.lang.String roleArn)
- Parameters:
roleArn
- Used to write to oss bucket, the OSS Bucket owner creates the role mark which has the oss bucket write policy, such as `acs:ram::13234:role/logrole`.- Returns:
- builder
-
suffix
public OssExportState.Builder suffix(@Nullable com.pulumi.core.Output<java.lang.String> suffix)
- Parameters:
suffix
- The suffix for the objects in which the shipped data is stored.- Returns:
- builder
-
suffix
public OssExportState.Builder suffix(java.lang.String suffix)
- Parameters:
suffix
- The suffix for the objects in which the shipped data is stored.- Returns:
- builder
-
timeZone
public OssExportState.Builder timeZone(@Nullable com.pulumi.core.Output<java.lang.String> timeZone)
- Parameters:
timeZone
- This time zone that is used to format the time, `+0800` e.g.- Returns:
- builder
-
timeZone
public OssExportState.Builder timeZone(java.lang.String timeZone)
- Parameters:
timeZone
- This time zone that is used to format the time, `+0800` e.g.- Returns:
- builder
-
build
public OssExportState build()
-
-