Package com.pulumi.gcp.notebooks.inputs
Class InstanceReservationAffinityArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.notebooks.inputs.InstanceReservationAffinityArgs.Builder
-
- Enclosing class:
- InstanceReservationAffinityArgs
public static final class InstanceReservationAffinityArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(InstanceReservationAffinityArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceReservationAffinityArgs
build()
InstanceReservationAffinityArgs.Builder
consumeReservationType(com.pulumi.core.Output<java.lang.String> consumeReservationType)
InstanceReservationAffinityArgs.Builder
consumeReservationType(java.lang.String consumeReservationType)
InstanceReservationAffinityArgs.Builder
key(com.pulumi.core.Output<java.lang.String> key)
InstanceReservationAffinityArgs.Builder
key(java.lang.String key)
InstanceReservationAffinityArgs.Builder
values(com.pulumi.core.Output<java.util.List<java.lang.String>> values)
InstanceReservationAffinityArgs.Builder
values(java.lang.String... values)
InstanceReservationAffinityArgs.Builder
values(java.util.List<java.lang.String> values)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(InstanceReservationAffinityArgs defaults)
-
-
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
-
key
public InstanceReservationAffinityArgs.Builder key(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
-
values
public InstanceReservationAffinityArgs.Builder values(java.lang.String... values)
- Parameters:
values
- Corresponds to the label values of reservation resource.- Returns:
- builder
-
build
public InstanceReservationAffinityArgs build()
-
-