@Generated(value="OracleSDKGenerator", comments="API Version: 20200430") public final class Workspace extends Object
A workspace is an organizational construct to keep multiple data integration solutions and their resources (data assets, data flows, tasks, and so on) separate from each other, helping you to stay organized. For example, you could have separate workspaces for development, testing, and production.
Note: Objects should always be created or deserialized using the Workspace.Builder. This model distinguishes fields
that are null because they are unset from fields that are explicitly set to null. This is done in
the setter methods of the Workspace.Builder, which maintain a set of all explicitly set fields called
__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take
__explicitlySet__ into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null from unset null).
| Modifier and Type | Class and Description |
|---|---|
static class |
Workspace.Builder |
static class |
Workspace.LifecycleState
Lifecycle states for workspaces in Data Integration Service
CREATING - The resource is being created and may not be usable until the entire metadata is defined
UPDATING - The resource is being updated and may not be usable until all changes are commited
DELETING - The resource is being deleted and might require deep cleanup of children.
|
| Constructor and Description |
|---|
Workspace(String vcnId,
String subnetId,
String dnsServerIp,
String dnsServerZone,
Boolean isPrivateNetworkEnabled,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
String description,
String displayName,
String compartmentId,
Date timeCreated,
Date timeUpdated,
Workspace.LifecycleState lifecycleState,
String stateMessage,
String id)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static Workspace.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getCompartmentId()
The OCID of the compartment containing the workspace.
|
Map<String,Map<String,Object>> |
getDefinedTags()
Defined tags for this resource.
|
String |
getDescription()
A detailed description for the workspace.
|
String |
getDisplayName()
A user-friendly display name for the workspace.
|
String |
getDnsServerIp()
The IP of the custom DNS.
|
String |
getDnsServerZone()
The DNS zone of the custom DNS to use to resolve names.
|
Map<String,String> |
getFreeformTags()
Free-form tags for this resource.
|
String |
getId()
A system-generated and immutable identifier assigned to the workspace upon creation.
|
Boolean |
getIsPrivateNetworkEnabled()
Specifies whether the private network connection is enabled or disabled.
|
Workspace.LifecycleState |
getLifecycleState()
Lifecycle states for workspaces in Data Integration Service
CREATING - The resource is being created and may not be usable until the entire metadata is defined
UPDATING - The resource is being updated and may not be usable until all changes are commited
DELETING - The resource is being deleted and might require deep cleanup of children.
|
String |
getStateMessage()
A message describing the current state in more detail.
|
String |
getSubnetId()
The OCID of the subnet for customer connected databases.
|
Date |
getTimeCreated()
The date and time the workspace was created, in the timestamp format defined by RFC3339.
|
Date |
getTimeUpdated()
The date and time the workspace was updated, in the timestamp format defined by RFC3339.
|
String |
getVcnId()
The OCID of the VCN the subnet is in.
|
int |
hashCode() |
Workspace.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"vcnId","subnetId","dnsServerIp","dnsServerZone","isPrivateNetworkEnabled","freeformTags","definedTags","description","displayName","compartmentId","timeCreated","timeUpdated","lifecycleState","stateMessage","id"}) @Deprecated public Workspace(String vcnId, String subnetId, String dnsServerIp, String dnsServerZone, Boolean isPrivateNetworkEnabled, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, String description, String displayName, String compartmentId, Date timeCreated, Date timeUpdated, Workspace.LifecycleState lifecycleState, String stateMessage, String id)
public static Workspace.Builder builder()
Create a new builder.
public Workspace.Builder toBuilder()
public String getVcnId()
The OCID of the VCN the subnet is in.
public String getSubnetId()
The OCID of the subnet for customer connected databases.
public String getDnsServerIp()
The IP of the custom DNS.
public String getDnsServerZone()
The DNS zone of the custom DNS to use to resolve names.
public Boolean getIsPrivateNetworkEnabled()
Specifies whether the private network connection is enabled or disabled.
public Map<String,String> getFreeformTags()
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags.
Example: {\"Department\": \"Finance\"}
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags.
Example: {\"Operations\": {\"CostCenter\": \"42\"}}
public String getDescription()
A detailed description for the workspace.
public String getDisplayName()
A user-friendly display name for the workspace. Does not have to be unique, and can be modified. Avoid entering confidential information.
public String getCompartmentId()
The OCID of the compartment containing the workspace.
public Date getTimeCreated()
The date and time the workspace was created, in the timestamp format defined by RFC3339.
public Date getTimeUpdated()
The date and time the workspace was updated, in the timestamp format defined by RFC3339.
public Workspace.LifecycleState getLifecycleState()
Lifecycle states for workspaces in Data Integration Service CREATING - The resource is being created and may not be usable until the entire metadata is defined UPDATING - The resource is being updated and may not be usable until all changes are commited DELETING - The resource is being deleted and might require deep cleanup of children. ACTIVE - The resource is valid and available for access INACTIVE - The resource might be incomplete in its definition or might have been made unavailable for administrative reasons DELETED - The resource has been deleted and isn’t available FAILED - The resource is in a failed state due to validation or other errors STARTING - The resource is being started and may not be usable until becomes ACTIVE again STOPPING - The resource is in the process of Stopping and may not be usable until it Stops or fails STOPPED - The resource is in Stopped state due to stop operation.
public String getStateMessage()
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in failed state.
public String getId()
A system-generated and immutable identifier assigned to the workspace upon creation.
Copyright © 2016–2021. All rights reserved.