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