Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MacDevice |
build() |
MacDevice.Builder |
compartmentId(String compartmentId)
OCID of the compartment to which the resource belongs to.
|
MacDevice.Builder |
copy(MacDevice model) |
MacDevice.Builder |
id(String id)
The unique ID of the MacDevice.
|
MacDevice.Builder |
ipAddress(String ipAddress)
The IP address assigned to the MacDevice.
|
MacDevice.Builder |
isMarkedDecom(Boolean isMarkedDecom)
A flag that indicates if this MacDevice is decommissioned.
|
MacDevice.Builder |
lifecycleState(MacDevice.LifecycleState lifecycleState)
The current status of the MacDevice.
|
MacDevice.Builder |
macOrderId(String macOrderId)
The OCID of the resource.
|
MacDevice.Builder |
serialNumber(String serialNumber)
The serial number of the MacDevice.
|
MacDevice.Builder |
shape(MacOrder.Shape shape)
The shape of the Mac.
|
MacDevice.Builder |
timeCreated(Date timeCreated)
The time this resource was created.
|
MacDevice.Builder |
timeDecom(Date timeDecom)
An RFC3339-formatted datetime string containing the time this MacDevice was
decommissioned.
|
MacDevice.Builder |
timeUpdated(Date timeUpdated)
The time this resource was last updated.
|
public MacDevice.Builder id(String id)
The unique ID of the MacDevice.
id
- the value to setpublic MacDevice.Builder compartmentId(String compartmentId)
OCID of the compartment to which the resource belongs to.
compartmentId
- the value to setpublic MacDevice.Builder macOrderId(String macOrderId)
The OCID of the resource.
macOrderId
- the value to setpublic MacDevice.Builder serialNumber(String serialNumber)
The serial number of the MacDevice.
serialNumber
- the value to setpublic MacDevice.Builder ipAddress(String ipAddress)
The IP address assigned to the MacDevice.
ipAddress
- the value to setpublic MacDevice.Builder lifecycleState(MacDevice.LifecycleState lifecycleState)
The current status of the MacDevice.
lifecycleState
- the value to setpublic MacDevice.Builder shape(MacOrder.Shape shape)
The shape of the Mac.
shape
- the value to setpublic MacDevice.Builder timeCreated(Date timeCreated)
The time this resource was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic MacDevice.Builder timeUpdated(Date timeUpdated)
The time this resource was last updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic MacDevice.Builder isMarkedDecom(Boolean isMarkedDecom)
A flag that indicates if this MacDevice is decommissioned.
isMarkedDecom
- the value to setpublic MacDevice.Builder timeDecom(Date timeDecom)
An RFC3339-formatted datetime string containing the time this MacDevice was decommissioned.
timeDecom
- the value to setpublic MacDevice build()
public MacDevice.Builder copy(MacDevice model)
Copyright © 2016–2025. All rights reserved.