Class ObjectMetadata
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.dataintegration.model.ObjectMetadata
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200430") public final class ObjectMetadata extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelA summary type containing information about the object including its key, name and when/who created/updated it.
Note: Objects should always be created or deserialized using theObjectMetadata.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 theObjectMetadata.Builder, which maintain a set of all explicitly set fields calledObjectMetadata.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 classObjectMetadata.Builder
-
Constructor Summary
Constructors Constructor Description ObjectMetadata(String createdBy, String createdByName, String updatedBy, String updatedByName, Date timeCreated, Date timeUpdated, String aggregatorKey, AggregatorSummary aggregator, String identifierPath, Map<String,String> infoFields, Integer registryVersion, List<String> labels, Boolean isFavorite, CountStatistic countStatistics)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ObjectMetadata.Builderbuilder()Create a new builder.booleanequals(Object o)AggregatorSummarygetAggregator()StringgetAggregatorKey()The owning object key for this object.CountStatisticgetCountStatistics()StringgetCreatedBy()The user that created the object.StringgetCreatedByName()The user that created the object.StringgetIdentifierPath()The full path to identify this object.Map<String,String>getInfoFields()Information property fields.BooleangetIsFavorite()Specifies whether this object is a favorite or not.List<String>getLabels()Labels are keywords or tags that you can add to data assets, dataflows and so on.IntegergetRegistryVersion()The registry version of the object.DategetTimeCreated()The date and time that the object was created.DategetTimeUpdated()The date and time that the object was updated.StringgetUpdatedBy()The user that updated the object.StringgetUpdatedByName()The user that updated the object.inthashCode()ObjectMetadata.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
ObjectMetadata
@Deprecated @ConstructorProperties({"createdBy","createdByName","updatedBy","updatedByName","timeCreated","timeUpdated","aggregatorKey","aggregator","identifierPath","infoFields","registryVersion","labels","isFavorite","countStatistics"}) public ObjectMetadata(String createdBy, String createdByName, String updatedBy, String updatedByName, Date timeCreated, Date timeUpdated, String aggregatorKey, AggregatorSummary aggregator, String identifierPath, Map<String,String> infoFields, Integer registryVersion, List<String> labels, Boolean isFavorite, CountStatistic countStatistics)
Deprecated.
-
-
Method Detail
-
builder
public static ObjectMetadata.Builder builder()
Create a new builder.
-
toBuilder
public ObjectMetadata.Builder toBuilder()
-
getCreatedBy
public String getCreatedBy()
The user that created the object.- Returns:
- the value
-
getCreatedByName
public String getCreatedByName()
The user that created the object.- Returns:
- the value
-
getUpdatedBy
public String getUpdatedBy()
The user that updated the object.- Returns:
- the value
-
getUpdatedByName
public String getUpdatedByName()
The user that updated the object.- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
The date and time that the object was created.- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
The date and time that the object was updated.- Returns:
- the value
-
getAggregatorKey
public String getAggregatorKey()
The owning object key for this object.- Returns:
- the value
-
getAggregator
public AggregatorSummary getAggregator()
-
getIdentifierPath
public String getIdentifierPath()
The full path to identify this object.- Returns:
- the value
-
getInfoFields
public Map<String,String> getInfoFields()
Information property fields.- Returns:
- the value
-
getRegistryVersion
public Integer getRegistryVersion()
The registry version of the object.- Returns:
- the value
-
getLabels
public List<String> getLabels()
Labels are keywords or tags that you can add to data assets, dataflows and so on.You can define your own labels and use them to categorize content.
- Returns:
- the value
-
getIsFavorite
public Boolean getIsFavorite()
Specifies whether this object is a favorite or not.- Returns:
- the value
-
getCountStatistics
public CountStatistic getCountStatistics()
-
toString
public String toString()
- Overrides:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-