Class OssExportState.Builder

  • Enclosing class:
    OssExportState

    public static final class OssExportState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • 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
      • 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