public static class WorkspaceSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
WorkspaceSummary |
build() |
WorkspaceSummary.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the workspace.
|
WorkspaceSummary.Builder |
copy(WorkspaceSummary model) |
WorkspaceSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys.
|
WorkspaceSummary.Builder |
description(String description)
A user defined description for the workspace.
|
WorkspaceSummary.Builder |
displayName(String displayName)
A user-friendly display name that is changeable.
|
WorkspaceSummary.Builder |
endpointId(String endpointId)
DCMS endpoint associated with the container/workspace.
|
WorkspaceSummary.Builder |
endpointName(String endpointName)
Name of the private endpoint associated with the container/workspace.
|
WorkspaceSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
WorkspaceSummary.Builder |
id(String id)
A system-generated and immutable identifier assigned to the workspace upon creation.
|
WorkspaceSummary.Builder |
lifecycleState(WorkspaceSummary.LifecycleState lifecycleState)
The current state of the workspace.
|
WorkspaceSummary.Builder |
registryId(String registryId)
DCMS registry associated with the container/workspace.
|
WorkspaceSummary.Builder |
stateMessage(String stateMessage)
A detailed description about the current state of the workspace.
|
WorkspaceSummary.Builder |
timeCreated(Date timeCreated)
The date and time the workspace was created, in the timestamp format defined by RFC3339.
|
WorkspaceSummary.Builder |
timeUpdated(Date timeUpdated)
The date and time the workspace was updated, in the timestamp format defined by RFC3339.
|
WorkspaceSummary.Builder |
workspaceProperties(Map<String,String> workspaceProperties)
key-value pairs of workspace properties
|
public WorkspaceSummary.Builder id(String id)
A system-generated and immutable identifier assigned to the workspace upon creation.
id
- the value to setpublic WorkspaceSummary.Builder description(String description)
A user defined description for the workspace.
description
- the value to setpublic WorkspaceSummary.Builder displayName(String displayName)
A user-friendly display name that is changeable. Avoid entering confidential information.
displayName
- the value to setpublic WorkspaceSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the workspace.
compartmentId
- the value to setpublic WorkspaceSummary.Builder timeCreated(Date timeCreated)
The date and time the workspace was created, in the timestamp format defined by RFC3339.
timeCreated
- the value to setpublic WorkspaceSummary.Builder timeUpdated(Date timeUpdated)
The date and time the workspace was updated, in the timestamp format defined by RFC3339.
timeUpdated
- the value to setpublic WorkspaceSummary.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic WorkspaceSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic WorkspaceSummary.Builder lifecycleState(WorkspaceSummary.LifecycleState lifecycleState)
The current state of the workspace.
lifecycleState
- the value to setpublic WorkspaceSummary.Builder stateMessage(String stateMessage)
A detailed description about the current state of the workspace. Used to provide actionable information if the workspace is in a failed state.
stateMessage
- the value to setpublic WorkspaceSummary.Builder endpointName(String endpointName)
Name of the private endpoint associated with the container/workspace. Returns null if there is none.
endpointName
- the value to setpublic WorkspaceSummary.Builder endpointId(String endpointId)
DCMS endpoint associated with the container/workspace. Returns null if there is none.
endpointId
- the value to setpublic WorkspaceSummary.Builder registryId(String registryId)
DCMS registry associated with the container/workspace. Returns null if there is none.
registryId
- the value to setpublic WorkspaceSummary.Builder workspaceProperties(Map<String,String> workspaceProperties)
key-value pairs of workspace properties
workspaceProperties
- the value to setpublic WorkspaceSummary build()
public WorkspaceSummary.Builder copy(WorkspaceSummary model)
Copyright © 2016–2024. All rights reserved.