Class FolderSinkArgs.Builder

  • Enclosing class:
    FolderSinkArgs

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

      • Builder

        public Builder()
    • Method Detail

      • bigqueryOptions

        public FolderSinkArgs.Builder bigqueryOptions​(@Nullable
                                                      com.pulumi.core.Output<FolderSinkBigqueryOptionsArgs> bigqueryOptions)
        Parameters:
        bigqueryOptions - Options that affect sinks exporting data to BigQuery. Structure documented below.
        Returns:
        builder
      • description

        public FolderSinkArgs.Builder description​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - A description of this sink. The maximum length of the description is 8000 characters.
        Returns:
        builder
      • description

        public FolderSinkArgs.Builder description​(java.lang.String description)
        Parameters:
        description - A description of this sink. The maximum length of the description is 8000 characters.
        Returns:
        builder
      • destination

        public FolderSinkArgs.Builder destination​(com.pulumi.core.Output<java.lang.String> destination)
        Parameters:
        destination - The destination of the sink (or, in other words, where logs are written to). Can be a Cloud Storage bucket, a PubSub topic, a BigQuery dataset or a Cloud Logging bucket. Examples: - `storage.googleapis.com/[GCS_BUCKET]` - `bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]` - `pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]` - `logging.googleapis.com/projects/[PROJECT_ID]]/locations/global/buckets/[BUCKET_ID]` The writer associated with the sink must have access to write to the above resource.
        Returns:
        builder
      • destination

        public FolderSinkArgs.Builder destination​(java.lang.String destination)
        Parameters:
        destination - The destination of the sink (or, in other words, where logs are written to). Can be a Cloud Storage bucket, a PubSub topic, a BigQuery dataset or a Cloud Logging bucket. Examples: - `storage.googleapis.com/[GCS_BUCKET]` - `bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]` - `pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]` - `logging.googleapis.com/projects/[PROJECT_ID]]/locations/global/buckets/[BUCKET_ID]` The writer associated with the sink must have access to write to the above resource.
        Returns:
        builder
      • disabled

        public FolderSinkArgs.Builder disabled​(@Nullable
                                               com.pulumi.core.Output<java.lang.Boolean> disabled)
        Parameters:
        disabled - If set to True, then this sink is disabled and it does not export any log entries.
        Returns:
        builder
      • disabled

        public FolderSinkArgs.Builder disabled​(java.lang.Boolean disabled)
        Parameters:
        disabled - If set to True, then this sink is disabled and it does not export any log entries.
        Returns:
        builder
      • exclusions

        public FolderSinkArgs.Builder exclusions​(@Nullable
                                                 com.pulumi.core.Output<java.util.List<FolderSinkExclusionArgs>> exclusions)
        Parameters:
        exclusions - Log entries that match any of the exclusion filters will not be exported. If a log entry is matched by both `filter` and one of `exclusions.filter`, it will not be exported. Can be repeated multiple times for multiple exclusions. Structure is documented below.
        Returns:
        builder
      • exclusions

        public FolderSinkArgs.Builder exclusions​(java.util.List<FolderSinkExclusionArgs> exclusions)
        Parameters:
        exclusions - Log entries that match any of the exclusion filters will not be exported. If a log entry is matched by both `filter` and one of `exclusions.filter`, it will not be exported. Can be repeated multiple times for multiple exclusions. Structure is documented below.
        Returns:
        builder
      • exclusions

        public FolderSinkArgs.Builder exclusions​(FolderSinkExclusionArgs... exclusions)
        Parameters:
        exclusions - Log entries that match any of the exclusion filters will not be exported. If a log entry is matched by both `filter` and one of `exclusions.filter`, it will not be exported. Can be repeated multiple times for multiple exclusions. Structure is documented below.
        Returns:
        builder
      • filter

        public FolderSinkArgs.Builder filter​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> filter)
        Parameters:
        filter - The filter to apply when exporting logs. Only log entries that match the filter are exported. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to write a filter.
        Returns:
        builder
      • filter

        public FolderSinkArgs.Builder filter​(java.lang.String filter)
        Parameters:
        filter - The filter to apply when exporting logs. Only log entries that match the filter are exported. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to write a filter.
        Returns:
        builder
      • folder

        public FolderSinkArgs.Builder folder​(com.pulumi.core.Output<java.lang.String> folder)
        Parameters:
        folder - The folder to be exported to the sink. Note that either `[FOLDER_ID]` or `folders/[FOLDER_ID]` is accepted.
        Returns:
        builder
      • folder

        public FolderSinkArgs.Builder folder​(java.lang.String folder)
        Parameters:
        folder - The folder to be exported to the sink. Note that either `[FOLDER_ID]` or `folders/[FOLDER_ID]` is accepted.
        Returns:
        builder
      • includeChildren

        public FolderSinkArgs.Builder includeChildren​(@Nullable
                                                      com.pulumi.core.Output<java.lang.Boolean> includeChildren)
        Parameters:
        includeChildren - Whether or not to include children folders in the sink export. If true, logs associated with child projects are also exported; otherwise only logs relating to the provided folder are included.
        Returns:
        builder
      • includeChildren

        public FolderSinkArgs.Builder includeChildren​(java.lang.Boolean includeChildren)
        Parameters:
        includeChildren - Whether or not to include children folders in the sink export. If true, logs associated with child projects are also exported; otherwise only logs relating to the provided folder are included.
        Returns:
        builder
      • name

        public FolderSinkArgs.Builder name​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the logging sink.
        Returns:
        builder
      • name

        public FolderSinkArgs.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the logging sink.
        Returns:
        builder