Package com.oracle.bmc.mngdmac.model
Class MacOrderSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.mngdmac.model.MacOrderSummary.Builder
-
- Enclosing class:
- MacOrderSummary
public static class MacOrderSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MacOrderSummary
build()
MacOrderSummary.Builder
commitmentTerm(MacOrder.CommitmentTerm commitmentTerm)
Enum indicating the agreed commitment term on the MacOrder.MacOrderSummary.Builder
compartmentId(String compartmentId)
OCID of the compartment to which the resource belongs to.MacOrderSummary.Builder
copy(MacOrderSummary model)
MacOrderSummary.Builder
displayName(String displayName)
A user-friendly name.MacOrderSummary.Builder
id(String id)
The OCID of the resource.MacOrderSummary.Builder
ipRange(String ipRange)
The IP Range specified by the customer for this order.MacOrderSummary.Builder
isDocusigned(Boolean isDocusigned)
Checkbox value that indicates whether the customer completed docusign process.MacOrderSummary.Builder
lifecycleDetails(String lifecycleDetails)
A message that describes the current state of the MacOrder in more detail.MacOrderSummary.Builder
lifecycleState(MacOrder.LifecycleState lifecycleState)
The current state of the MacOrder.MacOrderSummary.Builder
orderDescription(String orderDescription)
A user-friendly description.MacOrderSummary.Builder
orderSize(Integer orderSize)
Number of macs requested in this MacOrder.MacOrderSummary.Builder
orderStatus(MacOrder.OrderStatus orderStatus)
The current status of the MacOrder.MacOrderSummary.Builder
shape(MacOrder.Shape shape)
The requested shape for Macs in this MacOrder.MacOrderSummary.Builder
timeBillingEnded(Date timeBillingEnded)
An RFC3339-formatted datetime string containing the date and time this MacOrder begins.MacOrderSummary.Builder
timeBillingStarted(Date timeBillingStarted)
An RFC3339-formatted datetime string containing the date and time this MacOrder begins.MacOrderSummary.Builder
timeCreated(Date timeCreated)
The time this resource was created.MacOrderSummary.Builder
timeUpdated(Date timeUpdated)
The time this resource was last updated.
-
-
-
Method Detail
-
id
public MacOrderSummary.Builder id(String id)
The OCID of the resource.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public MacOrderSummary.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 MacOrderSummary.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 MacOrderSummary.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 MacOrderSummary.Builder orderSize(Integer orderSize)
Number of macs requested in this MacOrder.- Parameters:
orderSize
- the value to set- Returns:
- this builder
-
ipRange
public MacOrderSummary.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 MacOrderSummary.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 MacOrderSummary.Builder shape(MacOrder.Shape shape)
The requested shape for Macs in this MacOrder.- Parameters:
shape
- the value to set- Returns:
- this builder
-
timeCreated
public MacOrderSummary.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 MacOrderSummary.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 MacOrderSummary.Builder commitmentTerm(MacOrder.CommitmentTerm commitmentTerm)
Enum indicating the agreed commitment term on the MacOrder.- Parameters:
commitmentTerm
- the value to set- Returns:
- this builder
-
timeBillingStarted
public MacOrderSummary.Builder timeBillingStarted(Date timeBillingStarted)
An RFC3339-formatted datetime string containing the date and time this MacOrder begins.- Parameters:
timeBillingStarted
- the value to set- Returns:
- this builder
-
timeBillingEnded
public MacOrderSummary.Builder timeBillingEnded(Date timeBillingEnded)
An RFC3339-formatted datetime string containing the date and time this MacOrder begins.- Parameters:
timeBillingEnded
- the value to set- Returns:
- this builder
-
orderStatus
public MacOrderSummary.Builder orderStatus(MacOrder.OrderStatus orderStatus)
The current status of the MacOrder.- Parameters:
orderStatus
- the value to set- Returns:
- this builder
-
lifecycleState
public MacOrderSummary.Builder lifecycleState(MacOrder.LifecycleState lifecycleState)
The current state of the MacOrder.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public MacOrderSummary.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
-
build
public MacOrderSummary build()
-
copy
public MacOrderSummary.Builder copy(MacOrderSummary model)
-
-