@Generated(value="OracleSDKGenerator", comments="API Version: 20200430") public final class ObjectMetadata extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
A 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 the ObjectMetadata.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 ObjectMetadata.Builder
, which maintain a
set of all explicitly set fields called ObjectMetadata.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 |
ObjectMetadata.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
static ObjectMetadata.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
AggregatorSummary |
getAggregator() |
String |
getAggregatorKey()
The owning object key for this object.
|
CountStatistic |
getCountStatistics() |
String |
getCreatedBy()
The user that created the object.
|
String |
getCreatedByName()
The user that created the object.
|
String |
getIdentifierPath()
The full path to identify this object.
|
Map<String,String> |
getInfoFields()
Information property fields.
|
Boolean |
getIsFavorite()
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.
|
Integer |
getRegistryVersion()
The registry version of the object.
|
Date |
getTimeCreated()
The date and time that the object was created.
|
Date |
getTimeUpdated()
The date and time that the object was updated.
|
String |
getUpdatedBy()
The user that updated the object.
|
String |
getUpdatedByName()
The user that updated the object.
|
int |
hashCode() |
ObjectMetadata.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static ObjectMetadata.Builder builder()
Create a new builder.
public ObjectMetadata.Builder toBuilder()
public String getCreatedBy()
The user that created the object.
public String getCreatedByName()
The user that created the object.
public String getUpdatedBy()
The user that updated the object.
public String getUpdatedByName()
The user that updated the object.
public Date getTimeCreated()
The date and time that the object was created.
public Date getTimeUpdated()
The date and time that the object was updated.
public String getAggregatorKey()
The owning object key for this object.
public AggregatorSummary getAggregator()
public String getIdentifierPath()
The full path to identify this object.
public Map<String,String> getInfoFields()
Information property fields.
public Integer getRegistryVersion()
The registry version of the object.
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.
public Boolean getIsFavorite()
Specifies whether this object is a favorite or not.
public CountStatistic getCountStatistics()
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.