Class ReservationState.Builder

  • Enclosing class:
    ReservationState

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

      • Builder

        public Builder()
    • Method Detail

      • autoscale

        public ReservationState.Builder autoscale​(@Nullable
                                                  com.pulumi.core.Output<ReservationAutoscaleArgs> autoscale)
        Parameters:
        autoscale - The configuration parameters for the auto scaling feature. Structure is documented below.
        Returns:
        builder
      • concurrency

        public ReservationState.Builder concurrency​(@Nullable
                                                    com.pulumi.core.Output<java.lang.Integer> concurrency)
        Parameters:
        concurrency - Maximum number of queries that are allowed to run concurrently in this reservation. This is a soft limit due to asynchronous nature of the system and various optimizations for small queries. Default value is 0 which means that concurrency will be automatically set based on the reservation size.
        Returns:
        builder
      • concurrency

        public ReservationState.Builder concurrency​(java.lang.Integer concurrency)
        Parameters:
        concurrency - Maximum number of queries that are allowed to run concurrently in this reservation. This is a soft limit due to asynchronous nature of the system and various optimizations for small queries. Default value is 0 which means that concurrency will be automatically set based on the reservation size.
        Returns:
        builder
      • edition

        public ReservationState.Builder edition​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> edition)
        Parameters:
        edition - The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS
        Returns:
        builder
      • edition

        public ReservationState.Builder edition​(java.lang.String edition)
        Parameters:
        edition - The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS
        Returns:
        builder
      • ignoreIdleSlots

        public ReservationState.Builder ignoreIdleSlots​(@Nullable
                                                        com.pulumi.core.Output<java.lang.Boolean> ignoreIdleSlots)
        Parameters:
        ignoreIdleSlots - If false, any query using this reservation will use idle slots from other reservations within the same admin project. If true, a query using this reservation will execute with the slot capacity specified above at most.
        Returns:
        builder
      • ignoreIdleSlots

        public ReservationState.Builder ignoreIdleSlots​(java.lang.Boolean ignoreIdleSlots)
        Parameters:
        ignoreIdleSlots - If false, any query using this reservation will use idle slots from other reservations within the same admin project. If true, a query using this reservation will execute with the slot capacity specified above at most.
        Returns:
        builder
      • location

        public ReservationState.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 ReservationState.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
      • multiRegionAuxiliary

        public ReservationState.Builder multiRegionAuxiliary​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Boolean> multiRegionAuxiliary)
        Parameters:
        multiRegionAuxiliary - Applicable only for reservations located within one of the BigQuery multi-regions (US or EU). If set to true, this reservation is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this reservation is placed in the organization's default region.
        Returns:
        builder
      • multiRegionAuxiliary

        public ReservationState.Builder multiRegionAuxiliary​(java.lang.Boolean multiRegionAuxiliary)
        Parameters:
        multiRegionAuxiliary - Applicable only for reservations located within one of the BigQuery multi-regions (US or EU). If set to true, this reservation is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this reservation is placed in the organization's default region.
        Returns:
        builder
      • name

        public ReservationState.Builder name​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the reservation. This field must only contain alphanumeric characters or dash. ***
        Returns:
        builder
      • name

        public ReservationState.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the reservation. This field must only contain alphanumeric characters or dash. ***
        Returns:
        builder
      • project

        public ReservationState.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 ReservationState.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
      • slotCapacity

        public ReservationState.Builder slotCapacity​(@Nullable
                                                     com.pulumi.core.Output<java.lang.Integer> slotCapacity)
        Parameters:
        slotCapacity - Minimum slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the unit of parallelism. Queries using this reservation might use more slots during runtime if ignoreIdleSlots is set to false.
        Returns:
        builder
      • slotCapacity

        public ReservationState.Builder slotCapacity​(java.lang.Integer slotCapacity)
        Parameters:
        slotCapacity - Minimum slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the unit of parallelism. Queries using this reservation might use more slots during runtime if ignoreIdleSlots is set to false.
        Returns:
        builder