@Generated(value="OracleSDKGenerator", comments="API Version: 20200430") public final class CreateWorkspaceDetails extends Object
The information needed to create a new workspace.
Note: Objects should always be created or deserialized using the CreateWorkspaceDetails.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 CreateWorkspaceDetails.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 |
CreateWorkspaceDetails.Builder |
Constructor and Description |
---|
CreateWorkspaceDetails(String vcnId,
String subnetId,
String dnsServerIp,
String dnsServerZone,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
String description,
String displayName,
String compartmentId,
Boolean isPrivateNetworkEnabled)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateWorkspaceDetails.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 user defined 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.
|
Boolean |
getIsPrivateNetworkEnabled()
Specifies whether the private network connection is enabled or disabled.
|
String |
getSubnetId()
The OCID of the subnet for customer connected databases.
|
String |
getVcnId()
The OCID of the VCN the subnet is in.
|
int |
hashCode() |
CreateWorkspaceDetails.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"vcnId","subnetId","dnsServerIp","dnsServerZone","freeformTags","definedTags","description","displayName","compartmentId","isPrivateNetworkEnabled"}) @Deprecated public CreateWorkspaceDetails(String vcnId, String subnetId, String dnsServerIp, String dnsServerZone, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, String description, String displayName, String compartmentId, Boolean isPrivateNetworkEnabled)
public static CreateWorkspaceDetails.Builder builder()
Create a new builder.
public CreateWorkspaceDetails.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 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 user defined 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 Boolean getIsPrivateNetworkEnabled()
Specifies whether the private network connection is enabled or disabled.
Copyright © 2016–2021. All rights reserved.