Package com.oracle.bmc.bds.model
Class BdsCapacityReservation.Builder
- java.lang.Object
-
- com.oracle.bmc.bds.model.BdsCapacityReservation.Builder
-
- Enclosing class:
- BdsCapacityReservation
public static class BdsCapacityReservation.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BdsCapacityReservationbuild()BdsCapacityReservation.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the BDS capacity reservation.BdsCapacityReservation.BuildercomputeCapacityReservations(ComputeCapacityReservations computeCapacityReservations)BdsCapacityReservation.Buildercopy(BdsCapacityReservation model)BdsCapacityReservation.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.BdsCapacityReservation.BuilderdisplayName(String displayName)A user-friendly name for the BDS capacity reservation.BdsCapacityReservation.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type, or scope.BdsCapacityReservation.Builderid(String id)The OCID of the BDS capacity reservation.BdsCapacityReservation.BuilderlifecycleState(BdsCapacityReservation.LifecycleState lifecycleState)The lifecycle state of the BDS capacity reservation.BdsCapacityReservation.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.BdsCapacityReservation.BuildertimeCreated(Date timeCreated)The time the BDS capacity reservation was created, shown as an RFC 3339 formatted datetime string.BdsCapacityReservation.BuildertimeUpdated(Date timeUpdated)The time the BDS capacity reservation was updated, shown as an RFC 3339 formatted datetime string.
-
-
-
Method Detail
-
id
public BdsCapacityReservation.Builder id(String id)
The OCID of the BDS capacity reservation.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public BdsCapacityReservation.Builder displayName(String displayName)
A user-friendly name for the BDS capacity reservation.- Parameters:
displayName- the value to set- Returns:
- this builder
-
compartmentId
public BdsCapacityReservation.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the BDS capacity reservation.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
computeCapacityReservations
public BdsCapacityReservation.Builder computeCapacityReservations(ComputeCapacityReservations computeCapacityReservations)
-
lifecycleState
public BdsCapacityReservation.Builder lifecycleState(BdsCapacityReservation.LifecycleState lifecycleState)
The lifecycle state of the BDS capacity reservation.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
timeCreated
public BdsCapacityReservation.Builder timeCreated(Date timeCreated)
The time the BDS capacity reservation was created, shown as an RFC 3339 formatted datetime string.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public BdsCapacityReservation.Builder timeUpdated(Date timeUpdated)
The time the BDS capacity reservation was updated, shown as an RFC 3339 formatted datetime string.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
freeformTags
public BdsCapacityReservation.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type, or scope.Exists for cross-compatibility only. For example, {“bar-key”: “value”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public BdsCapacityReservation.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For example, {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public BdsCapacityReservation.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces.
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public BdsCapacityReservation build()
-
copy
public BdsCapacityReservation.Builder copy(BdsCapacityReservation model)
-
-