Class CapacityCommitmentArgs.Builder

  • Enclosing class:
    CapacityCommitmentArgs

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

      • capacityCommitmentId

        public CapacityCommitmentArgs.Builder capacityCommitmentId​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.String> capacityCommitmentId)
        Parameters:
        capacityCommitmentId - The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. The first and last character cannot be a dash. Max length is 64 characters. NOTE: this ID won't be kept if the capacity commitment is split or merged.
        Returns:
        builder
      • capacityCommitmentId

        public CapacityCommitmentArgs.Builder capacityCommitmentId​(java.lang.String capacityCommitmentId)
        Parameters:
        capacityCommitmentId - The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. The first and last character cannot be a dash. Max length is 64 characters. NOTE: this ID won't be kept if the capacity commitment is split or merged.
        Returns:
        builder
      • edition

        public CapacityCommitmentArgs.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 CapacityCommitmentArgs.Builder edition​(java.lang.String edition)
        Parameters:
        edition - The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS
        Returns:
        builder
      • enforceSingleAdminProjectPerOrg

        public CapacityCommitmentArgs.Builder enforceSingleAdminProjectPerOrg​(@Nullable
                                                                              com.pulumi.core.Output<java.lang.String> enforceSingleAdminProjectPerOrg)
        Parameters:
        enforceSingleAdminProjectPerOrg - If true, fail the request if another project in the organization has a capacity commitment.
        Returns:
        builder
      • enforceSingleAdminProjectPerOrg

        public CapacityCommitmentArgs.Builder enforceSingleAdminProjectPerOrg​(java.lang.String enforceSingleAdminProjectPerOrg)
        Parameters:
        enforceSingleAdminProjectPerOrg - If true, fail the request if another project in the organization has a capacity commitment.
        Returns:
        builder
      • location

        public CapacityCommitmentArgs.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 CapacityCommitmentArgs.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
      • plan

        public CapacityCommitmentArgs.Builder plan​(com.pulumi.core.Output<java.lang.String> plan)
        Parameters:
        plan - Capacity commitment plan. Valid values are at https://cloud.google.com/bigquery/docs/reference/reservations/rpc/google.cloud.bigquery.reservation.v1#commitmentplan ***
        Returns:
        builder
      • plan

        public CapacityCommitmentArgs.Builder plan​(java.lang.String plan)
        Parameters:
        plan - Capacity commitment plan. Valid values are at https://cloud.google.com/bigquery/docs/reference/reservations/rpc/google.cloud.bigquery.reservation.v1#commitmentplan ***
        Returns:
        builder
      • project

        public CapacityCommitmentArgs.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 CapacityCommitmentArgs.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
      • renewalPlan

        public CapacityCommitmentArgs.Builder renewalPlan​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> renewalPlan)
        Parameters:
        renewalPlan - The plan this capacity commitment is converted to after commitmentEndTime passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for some commitment plans.
        Returns:
        builder
      • renewalPlan

        public CapacityCommitmentArgs.Builder renewalPlan​(java.lang.String renewalPlan)
        Parameters:
        renewalPlan - The plan this capacity commitment is converted to after commitmentEndTime passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for some commitment plans.
        Returns:
        builder
      • slotCount

        public CapacityCommitmentArgs.Builder slotCount​(com.pulumi.core.Output<java.lang.Integer> slotCount)
        Parameters:
        slotCount - Number of slots in this commitment.
        Returns:
        builder
      • slotCount

        public CapacityCommitmentArgs.Builder slotCount​(java.lang.Integer slotCount)
        Parameters:
        slotCount - Number of slots in this commitment.
        Returns:
        builder