Class WorkspaceSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.dataintegration.model.WorkspaceSummary.Builder
-
- Enclosing class:
- WorkspaceSummary
public static class WorkspaceSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkspaceSummarybuild()WorkspaceSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the workspace.WorkspaceSummary.Buildercopy(WorkspaceSummary model)WorkspaceSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Usage of predefined tag keys.WorkspaceSummary.Builderdescription(String description)A user defined description for the workspace.WorkspaceSummary.BuilderdisplayName(String displayName)A user-friendly display name that is changeable.WorkspaceSummary.BuilderendpointId(String endpointId)DCMS endpoint associated with the container/workspace.WorkspaceSummary.BuilderendpointName(String endpointName)Name of the private endpoint associated with the container/workspace.WorkspaceSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.WorkspaceSummary.Builderid(String id)A system-generated and immutable identifier assigned to the workspace upon creation.WorkspaceSummary.BuilderlifecycleState(WorkspaceSummary.LifecycleState lifecycleState)The current state of the workspace.WorkspaceSummary.BuilderregistryId(String registryId)DCMS registry associated with the container/workspace.WorkspaceSummary.BuilderstateMessage(String stateMessage)A detailed description about the current state of the workspace.WorkspaceSummary.BuildertimeCreated(Date timeCreated)The date and time the workspace was created, in the timestamp format defined by RFC3339.WorkspaceSummary.BuildertimeUpdated(Date timeUpdated)The date and time the workspace was updated, in the timestamp format defined by RFC3339.WorkspaceSummary.BuilderworkspaceProperties(Map<String,String> workspaceProperties)key-value pairs of workspace properties
-
-
-
Method Detail
-
id
public WorkspaceSummary.Builder id(String id)
A system-generated and immutable identifier assigned to the workspace upon creation.- Parameters:
id- the value to set- Returns:
- this builder
-
description
public WorkspaceSummary.Builder description(String description)
A user defined description for the workspace.- Parameters:
description- the value to set- Returns:
- this builder
-
displayName
public WorkspaceSummary.Builder displayName(String displayName)
A user-friendly display name that is changeable.Avoid entering confidential information.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
compartmentId
public WorkspaceSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the workspace.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
timeCreated
public WorkspaceSummary.Builder timeCreated(Date timeCreated)
The date and time the workspace was created, in the timestamp format defined by RFC3339.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public WorkspaceSummary.Builder timeUpdated(Date timeUpdated)
The date and time the workspace was updated, in the timestamp format defined by RFC3339.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
freeformTags
public 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”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
lifecycleState
public WorkspaceSummary.Builder lifecycleState(WorkspaceSummary.LifecycleState lifecycleState)
The current state of the workspace.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
stateMessage
public 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.
- Parameters:
stateMessage- the value to set- Returns:
- this builder
-
endpointName
public WorkspaceSummary.Builder endpointName(String endpointName)
Name of the private endpoint associated with the container/workspace.Returns null if there is none.
- Parameters:
endpointName- the value to set- Returns:
- this builder
-
endpointId
public WorkspaceSummary.Builder endpointId(String endpointId)
DCMS endpoint associated with the container/workspace.Returns null if there is none.
- Parameters:
endpointId- the value to set- Returns:
- this builder
-
registryId
public WorkspaceSummary.Builder registryId(String registryId)
DCMS registry associated with the container/workspace.Returns null if there is none.
- Parameters:
registryId- the value to set- Returns:
- this builder
-
workspaceProperties
public WorkspaceSummary.Builder workspaceProperties(Map<String,String> workspaceProperties)
key-value pairs of workspace properties- Parameters:
workspaceProperties- the value to set- Returns:
- this builder
-
build
public WorkspaceSummary build()
-
copy
public WorkspaceSummary.Builder copy(WorkspaceSummary model)
-
-