Class InstanceReservationAffinityArgs.Builder

    • Method Detail

      • consumeReservationType

        public InstanceReservationAffinityArgs.Builder consumeReservationType​(com.pulumi.core.Output<java.lang.String> consumeReservationType)
        Parameters:
        consumeReservationType - The type of Compute Reservation. Possible values are `NO_RESERVATION`, `ANY_RESERVATION`, and `SPECIFIC_RESERVATION`.
        Returns:
        builder
      • consumeReservationType

        public InstanceReservationAffinityArgs.Builder consumeReservationType​(java.lang.String consumeReservationType)
        Parameters:
        consumeReservationType - The type of Compute Reservation. Possible values are `NO_RESERVATION`, `ANY_RESERVATION`, and `SPECIFIC_RESERVATION`.
        Returns:
        builder
      • key

        public InstanceReservationAffinityArgs.Builder key​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> key)
        Parameters:
        key - Corresponds to the label key of reservation resource.
        Returns:
        builder
      • values

        public InstanceReservationAffinityArgs.Builder values​(@Nullable
                                                              com.pulumi.core.Output<java.util.List<java.lang.String>> values)
        Parameters:
        values - Corresponds to the label values of reservation resource.
        Returns:
        builder
      • values

        public InstanceReservationAffinityArgs.Builder values​(java.util.List<java.lang.String> values)
        Parameters:
        values - Corresponds to the label values of reservation resource.
        Returns:
        builder