@Generated(value="OracleSDKGenerator", comments="API Version: 20200430") public final class Workspace extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
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 Workspace.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (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.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
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,
String endpointId,
String endpointName,
String registryId,
Map<String,String> workspaceProperties)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Workspace.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
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.
|
String |
getEndpointId()
OCID of the private endpoint associated with the container/workspace.
|
String |
getEndpointName()
Name of the private endpoint associated with the container/workspace.
|
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 |
getRegistryId()
DCMS Registry ID associated with the container/workspace.
|
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.
|
Map<String,String> |
getWorkspaceProperties()
key-value pairs of workspace properties
|
int |
hashCode() |
Workspace.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"vcnId","subnetId","dnsServerIp","dnsServerZone","isPrivateNetworkEnabled","freeformTags","definedTags","description","displayName","compartmentId","timeCreated","timeUpdated","lifecycleState","stateMessage","id","endpointId","endpointName","registryId","workspaceProperties"}) 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, String endpointId, String endpointName, String registryId, Map<String,String> workspaceProperties)
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.
public String getEndpointId()
OCID of the private endpoint associated with the container/workspace.
public String getEndpointName()
Name of the private endpoint associated with the container/workspace.
public String getRegistryId()
DCMS Registry ID associated with the container/workspace.
public Map<String,String> getWorkspaceProperties()
key-value pairs of workspace properties
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.