Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MacOrder |
build() |
MacOrder.Builder |
cancelReason(String cancelReason)
The reason for the MacOrder cancellation.
|
MacOrder.Builder |
commitmentTerm(MacOrder.CommitmentTerm commitmentTerm)
Enum indicating the agreed commitment term for the requested MacDevices.
|
MacOrder.Builder |
compartmentId(String compartmentId)
OCID of the compartment to which the resource belongs to.
|
MacOrder.Builder |
copy(MacOrder model) |
MacOrder.Builder |
displayName(String displayName)
A user-friendly name.
|
MacOrder.Builder |
id(String id)
The OCID of the resource.
|
MacOrder.Builder |
ipRange(String ipRange)
The IP Range specified by the customer for this order.
|
MacOrder.Builder |
isDocusigned(Boolean isDocusigned)
Checkbox value that indicates whether the customer completed docusign process.
|
MacOrder.Builder |
lifecycleDetails(String lifecycleDetails)
A message that describes the current state of the MacOrder in more detail.
|
MacOrder.Builder |
lifecycleState(MacOrder.LifecycleState lifecycleState)
The current state of the MacOrder.
|
MacOrder.Builder |
orderDescription(String orderDescription)
A user-friendly description.
|
MacOrder.Builder |
orderSize(Integer orderSize)
Number of macs requested in this MacOrder.
|
MacOrder.Builder |
orderStatus(MacOrder.OrderStatus orderStatus)
The current status of the MacOrder.
|
MacOrder.Builder |
shape(MacOrder.Shape shape)
Enum indicating the requested shape for the MacDevices.
|
MacOrder.Builder |
timeBillingEnded(Date timeBillingEnded)
An RFC3339-formatted datetime string containing the date and time that billing for this
MacOrder ends.
|
MacOrder.Builder |
timeBillingStarted(Date timeBillingStarted)
An RFC3339-formatted datetime string containing the date and time that billing for this
MacOrder begins.
|
MacOrder.Builder |
timeCanceled(Date timeCanceled)
An RFC3339-formatted datetime string containing the time this MacOrder was cancelled.
|
MacOrder.Builder |
timeCreated(Date timeCreated)
The time this resource was created.
|
MacOrder.Builder |
timeUpdated(Date timeUpdated)
The time this resource was last updated.
|
public MacOrder.Builder id(String id)
The OCID of the resource.
id
- the value to setpublic MacOrder.Builder compartmentId(String compartmentId)
OCID of the compartment to which the resource belongs to.
compartmentId
- the value to setpublic 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
displayName
- the value to setpublic MacOrder.Builder orderDescription(String orderDescription)
A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
orderDescription
- the value to setpublic MacOrder.Builder orderSize(Integer orderSize)
Number of macs requested in this MacOrder.
orderSize
- the value to setpublic MacOrder.Builder ipRange(String ipRange)
The IP Range specified by the customer for this order.
ipRange
- the value to setpublic MacOrder.Builder isDocusigned(Boolean isDocusigned)
Checkbox value that indicates whether the customer completed docusign process.
isDocusigned
- the value to setpublic MacOrder.Builder shape(MacOrder.Shape shape)
Enum indicating the requested shape for the MacDevices.
shape
- the value to setpublic MacOrder.Builder timeCreated(Date timeCreated)
The time this resource was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic MacOrder.Builder timeUpdated(Date timeUpdated)
The time this resource was last updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic MacOrder.Builder commitmentTerm(MacOrder.CommitmentTerm commitmentTerm)
Enum indicating the agreed commitment term for the requested MacDevices.
commitmentTerm
- the value to setpublic MacOrder.Builder timeBillingStarted(Date timeBillingStarted)
An RFC3339-formatted datetime string containing the date and time that billing for this MacOrder begins.
timeBillingStarted
- the value to setpublic MacOrder.Builder timeBillingEnded(Date timeBillingEnded)
An RFC3339-formatted datetime string containing the date and time that billing for this MacOrder ends.
timeBillingEnded
- the value to setpublic MacOrder.Builder orderStatus(MacOrder.OrderStatus orderStatus)
The current status of the MacOrder.
orderStatus
- the value to setpublic MacOrder.Builder lifecycleState(MacOrder.LifecycleState lifecycleState)
The current state of the MacOrder.
lifecycleState
- the value to setpublic MacOrder.Builder lifecycleDetails(String lifecycleDetails)
A message that describes the current state of the MacOrder in more detail.
lifecycleDetails
- the value to setpublic MacOrder.Builder cancelReason(String cancelReason)
The reason for the MacOrder cancellation.
cancelReason
- the value to setpublic MacOrder.Builder timeCanceled(Date timeCanceled)
An RFC3339-formatted datetime string containing the time this MacOrder was cancelled.
timeCanceled
- the value to setpublic MacOrder build()
public MacOrder.Builder copy(MacOrder model)
Copyright © 2016–2025. All rights reserved.