Package com.oracle.bmc.mngdmac.model
Class MacOrder.Builder
- java.lang.Object
-
- com.oracle.bmc.mngdmac.model.MacOrder.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MacOrderbuild()MacOrder.BuildercancelReason(String cancelReason)The reason for the MacOrder cancellation.MacOrder.BuildercommitmentTerm(MacOrder.CommitmentTerm commitmentTerm)Enum indicating the agreed commitment term for the requested MacDevices.MacOrder.BuildercompartmentId(String compartmentId)OCID of the compartment to which the resource belongs to.MacOrder.Buildercopy(MacOrder model)MacOrder.BuilderdisplayName(String displayName)A user-friendly name.MacOrder.Builderid(String id)The OCID of the resource.MacOrder.BuilderipRange(String ipRange)The IP Range specified by the customer for this order.MacOrder.BuilderisDocusigned(Boolean isDocusigned)Checkbox value that indicates whether the customer completed docusign process.MacOrder.BuilderlifecycleDetails(String lifecycleDetails)A message that describes the current state of the MacOrder in more detail.MacOrder.BuilderlifecycleState(MacOrder.LifecycleState lifecycleState)The current state of the MacOrder.MacOrder.BuilderorderDescription(String orderDescription)A user-friendly description.MacOrder.BuilderorderSize(Integer orderSize)Number of macs requested in this MacOrder.MacOrder.BuilderorderStatus(MacOrder.OrderStatus orderStatus)The current status of the MacOrder.MacOrder.Buildershape(MacOrder.Shape shape)Enum indicating the requested shape for the MacDevices.MacOrder.BuildertimeBillingEnded(Date timeBillingEnded)An RFC3339-formatted datetime string containing the date and time that billing for this MacOrder ends.MacOrder.BuildertimeBillingStarted(Date timeBillingStarted)An RFC3339-formatted datetime string containing the date and time that billing for this MacOrder begins.MacOrder.BuildertimeCanceled(Date timeCanceled)An RFC3339-formatted datetime string containing the time this MacOrder was cancelled.MacOrder.BuildertimeCreated(Date timeCreated)The time this resource was created.MacOrder.BuildertimeUpdated(Date timeUpdated)The time this resource was last updated.
-
-
-
Method Detail
-
id
public MacOrder.Builder id(String id)
The OCID of the resource.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public MacOrder.Builder compartmentId(String compartmentId)
OCID of the compartment to which the resource belongs to.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public MacOrder.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Example: My new resource
- Parameters:
displayName- the value to set- Returns:
- this builder
-
orderDescription
public MacOrder.Builder orderDescription(String orderDescription)
A user-friendly description.To provide some insight about the resource. Avoid entering confidential information.
- Parameters:
orderDescription- the value to set- Returns:
- this builder
-
orderSize
public MacOrder.Builder orderSize(Integer orderSize)
Number of macs requested in this MacOrder.- Parameters:
orderSize- the value to set- Returns:
- this builder
-
ipRange
public MacOrder.Builder ipRange(String ipRange)
The IP Range specified by the customer for this order.- Parameters:
ipRange- the value to set- Returns:
- this builder
-
isDocusigned
public MacOrder.Builder isDocusigned(Boolean isDocusigned)
Checkbox value that indicates whether the customer completed docusign process.- Parameters:
isDocusigned- the value to set- Returns:
- this builder
-
shape
public MacOrder.Builder shape(MacOrder.Shape shape)
Enum indicating the requested shape for the MacDevices.- Parameters:
shape- the value to set- Returns:
- this builder
-
timeCreated
public MacOrder.Builder timeCreated(Date timeCreated)
The time this resource was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public MacOrder.Builder timeUpdated(Date timeUpdated)
The time this resource was last updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
commitmentTerm
public MacOrder.Builder commitmentTerm(MacOrder.CommitmentTerm commitmentTerm)
Enum indicating the agreed commitment term for the requested MacDevices.- Parameters:
commitmentTerm- the value to set- Returns:
- this builder
-
timeBillingStarted
public MacOrder.Builder timeBillingStarted(Date timeBillingStarted)
An RFC3339-formatted datetime string containing the date and time that billing for this MacOrder begins.- Parameters:
timeBillingStarted- the value to set- Returns:
- this builder
-
timeBillingEnded
public MacOrder.Builder timeBillingEnded(Date timeBillingEnded)
An RFC3339-formatted datetime string containing the date and time that billing for this MacOrder ends.- Parameters:
timeBillingEnded- the value to set- Returns:
- this builder
-
orderStatus
public MacOrder.Builder orderStatus(MacOrder.OrderStatus orderStatus)
The current status of the MacOrder.- Parameters:
orderStatus- the value to set- Returns:
- this builder
-
lifecycleState
public MacOrder.Builder lifecycleState(MacOrder.LifecycleState lifecycleState)
The current state of the MacOrder.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public MacOrder.Builder lifecycleDetails(String lifecycleDetails)
A message that describes the current state of the MacOrder in more detail.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
cancelReason
public MacOrder.Builder cancelReason(String cancelReason)
The reason for the MacOrder cancellation.- Parameters:
cancelReason- the value to set- Returns:
- this builder
-
timeCanceled
public MacOrder.Builder timeCanceled(Date timeCanceled)
An RFC3339-formatted datetime string containing the time this MacOrder was cancelled.- Parameters:
timeCanceled- the value to set- Returns:
- this builder
-
build
public MacOrder build()
-
copy
public MacOrder.Builder copy(MacOrder model)
-
-