public static class UpdateComputeCapacityReservationDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
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"}}
definedTags
- the value to setpublic UpdateComputeCapacityReservationDetails.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic 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"}
freeformTags
- the value to setpublic UpdateComputeCapacityReservationDetails.Builder isDefaultReservation(Boolean isDefaultReservation)
Whether this capacity reservation is the default. For more information, see Capacity Reservations.
isDefaultReservation
- the value to setpublic 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.
instanceReservationConfigs
- the value to setpublic UpdateComputeCapacityReservationDetails build()
public UpdateComputeCapacityReservationDetails.Builder copy(UpdateComputeCapacityReservationDetails model)
Copyright © 2016–2023. All rights reserved.