@Generated(value="OracleSDKGenerator", comments="API Version: 20200430") public final class RegistryMetadata extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Information about the object and its parent.
Note: Objects should always be created or deserialized using the RegistryMetadata.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 RegistryMetadata.Builder
, which maintain a
set of all explicitly set fields called ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and
equals(Object)
methods are implemented to take ExplicitlySetBmcModel.__explicitlySet__
into account.
The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the
constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
RegistryMetadata.Builder |
Constructor and Description |
---|
RegistryMetadata(String aggregatorKey,
List<String> labels,
Integer registryVersion,
String key,
Boolean isFavorite)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static RegistryMetadata.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getAggregatorKey()
The owning object’s key for this object.
|
Boolean |
getIsFavorite()
Specifies whether this object is a favorite or not.
|
String |
getKey()
The identifying key for the object.
|
List<String> |
getLabels()
Labels are keywords or labels that you can add to data assets, dataflows etc.
|
Integer |
getRegistryVersion()
The registry version.
|
int |
hashCode() |
RegistryMetadata.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"aggregatorKey","labels","registryVersion","key","isFavorite"}) public RegistryMetadata(String aggregatorKey, List<String> labels, Integer registryVersion, String key, Boolean isFavorite)
public static RegistryMetadata.Builder builder()
Create a new builder.
public RegistryMetadata.Builder toBuilder()
public String getAggregatorKey()
The owning object’s key for this object.
public List<String> getLabels()
Labels are keywords or labels that you can add to data assets, dataflows etc. You can define your own labels and use them to categorize content.
public Integer getRegistryVersion()
The registry version.
public String getKey()
The identifying key for the object.
public Boolean getIsFavorite()
Specifies whether this object is a favorite or not.
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–2023. All rights reserved.