Class DataTransferConfigArgs.Builder

  • Enclosing class:
    DataTransferConfigArgs

    public static final class DataTransferConfigArgs.Builder
    extends java.lang.Object
    • Method Detail

      • dataRefreshWindowDays

        public DataTransferConfigArgs.Builder dataRefreshWindowDays​(@Nullable
                                                                    com.pulumi.core.Output<java.lang.Integer> dataRefreshWindowDays)
        Parameters:
        dataRefreshWindowDays - The number of days to look back to automatically refresh the data. For example, if dataRefreshWindowDays = 10, then every day BigQuery reingests data for [today-10, today-1], rather than ingesting data for just [today-1]. Only valid if the data source supports the feature. Set the value to 0 to use the default value.
        Returns:
        builder
      • dataRefreshWindowDays

        public DataTransferConfigArgs.Builder dataRefreshWindowDays​(java.lang.Integer dataRefreshWindowDays)
        Parameters:
        dataRefreshWindowDays - The number of days to look back to automatically refresh the data. For example, if dataRefreshWindowDays = 10, then every day BigQuery reingests data for [today-10, today-1], rather than ingesting data for just [today-1]. Only valid if the data source supports the feature. Set the value to 0 to use the default value.
        Returns:
        builder
      • dataSourceId

        public DataTransferConfigArgs.Builder dataSourceId​(com.pulumi.core.Output<java.lang.String> dataSourceId)
        Parameters:
        dataSourceId - The data source id. Cannot be changed once the transfer config is created.
        Returns:
        builder
      • dataSourceId

        public DataTransferConfigArgs.Builder dataSourceId​(java.lang.String dataSourceId)
        Parameters:
        dataSourceId - The data source id. Cannot be changed once the transfer config is created.
        Returns:
        builder
      • destinationDatasetId

        public DataTransferConfigArgs.Builder destinationDatasetId​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.String> destinationDatasetId)
        Parameters:
        destinationDatasetId - The BigQuery target dataset id.
        Returns:
        builder
      • destinationDatasetId

        public DataTransferConfigArgs.Builder destinationDatasetId​(java.lang.String destinationDatasetId)
        Parameters:
        destinationDatasetId - The BigQuery target dataset id.
        Returns:
        builder
      • disabled

        public DataTransferConfigArgs.Builder disabled​(@Nullable
                                                       com.pulumi.core.Output<java.lang.Boolean> disabled)
        Parameters:
        disabled - When set to true, no runs are scheduled for a given transfer.
        Returns:
        builder
      • disabled

        public DataTransferConfigArgs.Builder disabled​(java.lang.Boolean disabled)
        Parameters:
        disabled - When set to true, no runs are scheduled for a given transfer.
        Returns:
        builder
      • displayName

        public DataTransferConfigArgs.Builder displayName​(com.pulumi.core.Output<java.lang.String> displayName)
        Parameters:
        displayName - The user specified display name for the transfer config.
        Returns:
        builder
      • displayName

        public DataTransferConfigArgs.Builder displayName​(java.lang.String displayName)
        Parameters:
        displayName - The user specified display name for the transfer config.
        Returns:
        builder
      • emailPreferences

        public DataTransferConfigArgs.Builder emailPreferences​(@Nullable
                                                               com.pulumi.core.Output<DataTransferConfigEmailPreferencesArgs> emailPreferences)
        Parameters:
        emailPreferences - Email notifications will be sent according to these preferences to the email address of the user who owns this transfer config. Structure is documented below.
        Returns:
        builder
      • emailPreferences

        public DataTransferConfigArgs.Builder emailPreferences​(DataTransferConfigEmailPreferencesArgs emailPreferences)
        Parameters:
        emailPreferences - Email notifications will be sent according to these preferences to the email address of the user who owns this transfer config. Structure is documented below.
        Returns:
        builder
      • location

        public DataTransferConfigArgs.Builder location​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> location)
        Parameters:
        location - The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is US.
        Returns:
        builder
      • location

        public DataTransferConfigArgs.Builder location​(java.lang.String location)
        Parameters:
        location - The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is US.
        Returns:
        builder
      • notificationPubsubTopic

        public DataTransferConfigArgs.Builder notificationPubsubTopic​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.String> notificationPubsubTopic)
        Parameters:
        notificationPubsubTopic - Pub/Sub topic where notifications will be sent after transfer runs associated with this transfer config finish.
        Returns:
        builder
      • notificationPubsubTopic

        public DataTransferConfigArgs.Builder notificationPubsubTopic​(java.lang.String notificationPubsubTopic)
        Parameters:
        notificationPubsubTopic - Pub/Sub topic where notifications will be sent after transfer runs associated with this transfer config finish.
        Returns:
        builder
      • params

        public DataTransferConfigArgs.Builder params​(com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> params)
        Parameters:
        params - Parameters specific to each data source. For more information see the bq tab in the 'Setting up a data transfer' section for each data source. For example the parameters for Cloud Storage transfers are listed here: https://cloud.google.com/bigquery-transfer/docs/cloud-storage-transfer#bq **NOTE** : If you are attempting to update a parameter that cannot be updated (due to api limitations) please force recreation of the resource. ***
        Returns:
        builder
      • params

        public DataTransferConfigArgs.Builder params​(java.util.Map<java.lang.String,​java.lang.String> params)
        Parameters:
        params - Parameters specific to each data source. For more information see the bq tab in the 'Setting up a data transfer' section for each data source. For example the parameters for Cloud Storage transfers are listed here: https://cloud.google.com/bigquery-transfer/docs/cloud-storage-transfer#bq **NOTE** : If you are attempting to update a parameter that cannot be updated (due to api limitations) please force recreation of the resource. ***
        Returns:
        builder
      • project

        public DataTransferConfigArgs.Builder project​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
        Returns:
        builder
      • project

        public DataTransferConfigArgs.Builder project​(java.lang.String project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
        Returns:
        builder
      • schedule

        public DataTransferConfigArgs.Builder schedule​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> schedule)
        Parameters:
        schedule - Data transfer schedule. If the data source does not support a custom schedule, this should be empty. If it is empty, the default value for the data source will be used. The specified times are in UTC. Examples of valid format: 1st,3rd monday of month 15:30, every wed,fri of jan, jun 13:15, and first sunday of quarter 00:00. See more explanation about the format here: https://cloud.google.com/appengine/docs/flexible/python/scheduling-jobs-with-cron-yaml#the_schedule_format NOTE: the granularity should be at least 8 hours, or less frequent.
        Returns:
        builder
      • schedule

        public DataTransferConfigArgs.Builder schedule​(java.lang.String schedule)
        Parameters:
        schedule - Data transfer schedule. If the data source does not support a custom schedule, this should be empty. If it is empty, the default value for the data source will be used. The specified times are in UTC. Examples of valid format: 1st,3rd monday of month 15:30, every wed,fri of jan, jun 13:15, and first sunday of quarter 00:00. See more explanation about the format here: https://cloud.google.com/appengine/docs/flexible/python/scheduling-jobs-with-cron-yaml#the_schedule_format NOTE: the granularity should be at least 8 hours, or less frequent.
        Returns:
        builder
      • sensitiveParams

        public DataTransferConfigArgs.Builder sensitiveParams​(@Nullable
                                                              com.pulumi.core.Output<DataTransferConfigSensitiveParamsArgs> sensitiveParams)
        Parameters:
        sensitiveParams - Different parameters are configured primarily using the the `params` field on this resource. This block contains the parameters which contain secrets or passwords so that they can be marked sensitive and hidden from plan output. The name of the field, eg: secret_access_key, will be the key in the `params` map in the api request. Credentials may not be specified in both locations and will cause an error. Changing from one location to a different credential configuration in the config will require an apply to update state. Structure is documented below.
        Returns:
        builder
      • sensitiveParams

        public DataTransferConfigArgs.Builder sensitiveParams​(DataTransferConfigSensitiveParamsArgs sensitiveParams)
        Parameters:
        sensitiveParams - Different parameters are configured primarily using the the `params` field on this resource. This block contains the parameters which contain secrets or passwords so that they can be marked sensitive and hidden from plan output. The name of the field, eg: secret_access_key, will be the key in the `params` map in the api request. Credentials may not be specified in both locations and will cause an error. Changing from one location to a different credential configuration in the config will require an apply to update state. Structure is documented below.
        Returns:
        builder
      • serviceAccountName

        public DataTransferConfigArgs.Builder serviceAccountName​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> serviceAccountName)
        Parameters:
        serviceAccountName - Service account email. If this field is set, transfer config will be created with this service account credentials. It requires that requesting user calling this API has permissions to act as this service account.
        Returns:
        builder
      • serviceAccountName

        public DataTransferConfigArgs.Builder serviceAccountName​(java.lang.String serviceAccountName)
        Parameters:
        serviceAccountName - Service account email. If this field is set, transfer config will be created with this service account credentials. It requires that requesting user calling this API has permissions to act as this service account.
        Returns:
        builder