Package com.oracle.bmc.core.model
Class UpdateComputeCapacityReservationDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.UpdateComputeCapacityReservationDetails.Builder
-
- Enclosing class:
- UpdateComputeCapacityReservationDetails
public static class UpdateComputeCapacityReservationDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateComputeCapacityReservationDetails
build()
UpdateComputeCapacityReservationDetails.Builder
copy(UpdateComputeCapacityReservationDetails model)
UpdateComputeCapacityReservationDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.UpdateComputeCapacityReservationDetails.Builder
displayName(String displayName)
A user-friendly name.UpdateComputeCapacityReservationDetails.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.UpdateComputeCapacityReservationDetails.Builder
instanceReservationConfigs(List<InstanceReservationConfigDetails> instanceReservationConfigs)
The capacity configurations for the capacity reservation.UpdateComputeCapacityReservationDetails.Builder
isDefaultReservation(Boolean isDefaultReservation)
Whether this capacity reservation is the default.
-
-
-
Method Detail
-
definedTags
public UpdateComputeCapacityReservationDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
displayName
public UpdateComputeCapacityReservationDetails.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
freeformTags
public UpdateComputeCapacityReservationDetails.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
isDefaultReservation
public UpdateComputeCapacityReservationDetails.Builder isDefaultReservation(Boolean isDefaultReservation)
Whether this capacity reservation is the default.For more information, see Capacity Reservations.
- Parameters:
isDefaultReservation
- the value to set- Returns:
- this builder
-
instanceReservationConfigs
public UpdateComputeCapacityReservationDetails.Builder instanceReservationConfigs(List<InstanceReservationConfigDetails> instanceReservationConfigs)
The capacity configurations for the capacity reservation.To use the reservation for the desired shape, specify the shape, count, and optionally the fault domain where you want this configuration.
- Parameters:
instanceReservationConfigs
- the value to set- Returns:
- this builder
-
build
public UpdateComputeCapacityReservationDetails build()
-
copy
public UpdateComputeCapacityReservationDetails.Builder copy(UpdateComputeCapacityReservationDetails model)
-
-