public static class DesktopSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DesktopSummary |
build() |
DesktopSummary.Builder |
copy(DesktopSummary model) |
DesktopSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
DesktopSummary.Builder |
displayName(String displayName)
A user friendly display name.
|
DesktopSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
DesktopSummary.Builder |
id(String id)
The OCID of the desktop.
|
DesktopSummary.Builder |
lifecycleState(LifecycleState lifecycleState)
The state of the desktop.
|
DesktopSummary.Builder |
poolId(String poolId)
The pool ID of the desktop.
|
DesktopSummary.Builder |
timeCreated(Date timeCreated)
The date and time the resource was created.
|
DesktopSummary.Builder |
userName(String userName)
The owner of the desktop.
|
public DesktopSummary.Builder id(String id)
The OCID of the desktop.
id
- the value to setpublic DesktopSummary.Builder lifecycleState(LifecycleState lifecycleState)
The state of the desktop.
lifecycleState
- the value to setpublic DesktopSummary.Builder timeCreated(Date timeCreated)
The date and time the resource was created.
timeCreated
- the value to setpublic DesktopSummary.Builder displayName(String displayName)
A user friendly display name. Avoid entering confidential information.
displayName
- the value to setpublic DesktopSummary.Builder userName(String userName)
The owner of the desktop.
userName
- the value to setpublic DesktopSummary.Builder poolId(String poolId)
The pool ID of the desktop.
poolId
- the value to setpublic DesktopSummary.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined
name, type, or namespace. For more information, see Resource
Tags. Example:
{"Department": "Finance"}
freeformTags
- the value to setpublic DesktopSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For
more information, see Resource
Tags. Example:
{"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic DesktopSummary build()
public DesktopSummary.Builder copy(DesktopSummary model)
Copyright © 2016–2024. All rights reserved.