@Generated(value="OracleSDKGenerator", comments="API Version: 20190325") public final class CreateEntityDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Properties used in data entity create operations.
Note: Objects should always be created or deserialized using the CreateEntityDetails.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 CreateEntityDetails.Builder
, which maintain a
set of all explicitly set fields called CreateEntityDetails.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 |
CreateEntityDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
CreateEntityDetails(String displayName,
String businessName,
String typeKey,
String description,
Date timeExternal,
Boolean isLogical,
Boolean isPartition,
String folderKey,
String patternKey,
String realizedExpression,
HarvestStatus harvestStatus,
String lastJobKey,
List<CustomPropertySetUsage> customPropertyMembers,
Map<String,Map<String,String>> properties)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateEntityDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getBusinessName()
Optional user friendly business name of the data entity.
|
List<CustomPropertySetUsage> |
getCustomPropertyMembers()
The list of customized properties along with the values for this object
|
String |
getDescription()
Detailed description of a data entity.
|
String |
getDisplayName()
A user-friendly display name.
|
String |
getFolderKey()
Key of the associated folder.
|
HarvestStatus |
getHarvestStatus()
Status of the object as updated by the harvest process.
|
Boolean |
getIsLogical()
Property to indicate if the object is a physical materialized object or virtual.
|
Boolean |
getIsPartition()
Property to indicate if the object is a sub object of a parent physical object.
|
String |
getLastJobKey()
Key of the last harvest process to update this object.
|
String |
getPatternKey()
Key of the associated pattern if this is a logical entity.
|
Map<String,Map<String,String>> |
getProperties()
A map of maps that contains the properties which are specific to the entity type.
|
String |
getRealizedExpression()
The expression realized after resolving qualifiers .
|
Date |
getTimeExternal()
Last modified timestamp of the object in the external system.
|
String |
getTypeKey()
The type of data entity object.
|
int |
hashCode() |
CreateEntityDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"displayName","businessName","typeKey","description","timeExternal","isLogical","isPartition","folderKey","patternKey","realizedExpression","harvestStatus","lastJobKey","customPropertyMembers","properties"}) public CreateEntityDetails(String displayName, String businessName, String typeKey, String description, Date timeExternal, Boolean isLogical, Boolean isPartition, String folderKey, String patternKey, String realizedExpression, HarvestStatus harvestStatus, String lastJobKey, List<CustomPropertySetUsage> customPropertyMembers, Map<String,Map<String,String>> properties)
public static CreateEntityDetails.Builder builder()
Create a new builder.
public CreateEntityDetails.Builder toBuilder()
public String getDisplayName()
A user-friendly display name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
public String getBusinessName()
Optional user friendly business name of the data entity. If set, this supplements the harvested display name of the object.
public String getTypeKey()
The type of data entity object. Type key’s can be found via the ‘/types’ endpoint.
public String getDescription()
Detailed description of a data entity.
public Date getTimeExternal()
Last modified timestamp of the object in the external system.
public Boolean getIsLogical()
Property to indicate if the object is a physical materialized object or virtual. For example, View.
public Boolean getIsPartition()
Property to indicate if the object is a sub object of a parent physical object.
public String getFolderKey()
Key of the associated folder.
public String getPatternKey()
Key of the associated pattern if this is a logical entity.
public String getRealizedExpression()
The expression realized after resolving qualifiers . Used in deriving this logical entity
public HarvestStatus getHarvestStatus()
Status of the object as updated by the harvest process. When an entity object is created , it’s harvest status will indicate if the entity’s metadata has been fully harvested or not. The harvest process can perform shallow harvesting to allow users to browse the metadata and can on-demand deep harvest on any object This requires a harvest status indicator for catalog objects.
public String getLastJobKey()
Key of the last harvest process to update this object.
public List<CustomPropertySetUsage> getCustomPropertyMembers()
The list of customized properties along with the values for this object
public Map<String,Map<String,String>> getProperties()
A map of maps that contains the properties which are specific to the entity type. Each entity
type definition defines it’s set of required and optional properties. The map keys are
category names and the values are maps of property name to property value. Every property is
contained inside of a category. Most entities have required properties within the “default”
category. To determine the set of required and optional properties for an entity type, a
query can be done on ‘/types?type=dataEntity’ that returns a collection of all entity types.
The appropriate entity type, which includes definitions of all of it’s properties, can be
identified from this collection. Example: {"properties": { "default": { "key1":
"value1"}}}
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.