Class ReservationState.Builder

  • Enclosing class:
    ReservationState

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

      • Builder

        public Builder()
    • Method Detail

      • commitment

        public ReservationState.Builder commitment​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> commitment)
        Parameters:
        commitment - Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment.
        Returns:
        builder
      • commitment

        public ReservationState.Builder commitment​(java.lang.String commitment)
        Parameters:
        commitment - Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment.
        Returns:
        builder
      • creationTimestamp

        public ReservationState.Builder creationTimestamp​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> creationTimestamp)
        Parameters:
        creationTimestamp - Creation timestamp in RFC3339 text format.
        Returns:
        builder
      • creationTimestamp

        public ReservationState.Builder creationTimestamp​(java.lang.String creationTimestamp)
        Parameters:
        creationTimestamp - Creation timestamp in RFC3339 text format.
        Returns:
        builder
      • description

        public ReservationState.Builder description​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - An optional description of this resource.
        Returns:
        builder
      • description

        public ReservationState.Builder description​(java.lang.String description)
        Parameters:
        description - An optional description of this resource.
        Returns:
        builder
      • name

        public ReservationState.Builder name​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `a-z?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
        Returns:
        builder
      • name

        public ReservationState.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `a-z?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a 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
      • selfLink

        public ReservationState.Builder selfLink​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> selfLink)
        Parameters:
        selfLink - The URI of the created resource.
        Returns:
        builder
      • selfLink

        public ReservationState.Builder selfLink​(java.lang.String selfLink)
        Parameters:
        selfLink - The URI of the created resource.
        Returns:
        builder
      • specificReservation

        public ReservationState.Builder specificReservation​(@Nullable
                                                            com.pulumi.core.Output<ReservationSpecificReservationArgs> specificReservation)
        Parameters:
        specificReservation - Reservation for instances with specific machine shapes. Structure is documented below.
        Returns:
        builder
      • specificReservationRequired

        public ReservationState.Builder specificReservationRequired​(@Nullable
                                                                    com.pulumi.core.Output<java.lang.Boolean> specificReservationRequired)
        Parameters:
        specificReservationRequired - When set to true, only VMs that target this reservation by name can consume this reservation. Otherwise, it can be consumed by VMs with affinity for any reservation. Defaults to false.
        Returns:
        builder
      • specificReservationRequired

        public ReservationState.Builder specificReservationRequired​(java.lang.Boolean specificReservationRequired)
        Parameters:
        specificReservationRequired - When set to true, only VMs that target this reservation by name can consume this reservation. Otherwise, it can be consumed by VMs with affinity for any reservation. Defaults to false.
        Returns:
        builder
      • status

        public ReservationState.Builder status​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> status)
        Parameters:
        status - The status of the reservation.
        Returns:
        builder
      • status

        public ReservationState.Builder status​(java.lang.String status)
        Parameters:
        status - The status of the reservation.
        Returns:
        builder
      • zone

        public ReservationState.Builder zone​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> zone)
        Parameters:
        zone - The zone where the reservation is made.
        Returns:
        builder
      • zone

        public ReservationState.Builder zone​(java.lang.String zone)
        Parameters:
        zone - The zone where the reservation is made.
        Returns:
        builder