Class CreateFolderDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datacatalog.model.CreateFolderDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190325") public final class CreateFolderDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Properties used in folder create operations.
Note: Objects should always be created or deserialized using theCreateFolderDetails.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 theCreateFolderDetails.Builder
, which maintain a set of all explicitly set fields calledCreateFolderDetails.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateFolderDetails.Builder
-
Constructor Summary
Constructors Constructor Description CreateFolderDetails(String displayName, String businessName, String description, List<CustomPropertySetUsage> customPropertyMembers, Map<String,Map<String,String>> properties, String parentFolderKey, Date timeExternal, String lastJobKey, HarvestStatus harvestStatus, String typeKey)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateFolderDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getBusinessName()
Optional user friendly business name of the folder.List<CustomPropertySetUsage>
getCustomPropertyMembers()
The list of customized properties along with the values for this objectString
getDescription()
Detailed description of a folder.String
getDisplayName()
A user-friendly display name.HarvestStatus
getHarvestStatus()
Folder harvesting status.String
getLastJobKey()
The job key of the harvest process that updated the folder definition from the source system.String
getParentFolderKey()
The key of the containing folder or null if there isn’t a parent folder.Map<String,Map<String,String>>
getProperties()
A map of maps that contains the properties which are specific to the folder type.Date
getTimeExternal()
Last modified timestamp of this object in the external system.String
getTypeKey()
Type key of the object.int
hashCode()
CreateFolderDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
CreateFolderDetails
@Deprecated @ConstructorProperties({"displayName","businessName","description","customPropertyMembers","properties","parentFolderKey","timeExternal","lastJobKey","harvestStatus","typeKey"}) public CreateFolderDetails(String displayName, String businessName, String description, List<CustomPropertySetUsage> customPropertyMembers, Map<String,Map<String,String>> properties, String parentFolderKey, Date timeExternal, String lastJobKey, HarvestStatus harvestStatus, String typeKey)
Deprecated.
-
-
Method Detail
-
builder
public static CreateFolderDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateFolderDetails.Builder toBuilder()
-
getDisplayName
public String getDisplayName()
A user-friendly display name.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Returns:
- the value
-
getBusinessName
public String getBusinessName()
Optional user friendly business name of the folder.If set, this supplements the harvested display name of the object.
- Returns:
- the value
-
getDescription
public String getDescription()
Detailed description of a folder.- Returns:
- the value
-
getCustomPropertyMembers
public List<CustomPropertySetUsage> getCustomPropertyMembers()
The list of customized properties along with the values for this object- Returns:
- the value
-
getProperties
public Map<String,Map<String,String>> getProperties()
A map of maps that contains the properties which are specific to the folder type.Each folder 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 folders have required properties within the “default” category. To determine the set of optional and required properties for a folder type, a query can be done on ‘/types?type=folder’ that returns a collection of all folder types. The appropriate folder type, which includes definitions of all of it’s properties, can be identified from this collection. Example: {“properties”: { “default”: { “key1”: “value1”}}}
- Returns:
- the value
-
getParentFolderKey
public String getParentFolderKey()
The key of the containing folder or null if there isn’t a parent folder.- Returns:
- the value
-
getTimeExternal
public Date getTimeExternal()
Last modified timestamp of this object in the external system.- Returns:
- the value
-
getLastJobKey
public String getLastJobKey()
The job key of the harvest process that updated the folder definition from the source system.- Returns:
- the value
-
getHarvestStatus
public HarvestStatus getHarvestStatus()
Folder harvesting status.- Returns:
- the value
-
getTypeKey
public String getTypeKey()
Type key of the object.Type keys can be found via the ‘/types’ endpoint.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-