@Generated(value="OracleSDKGenerator", comments="API Version: 20190325") public final class TypeSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Summary data catalog type information. All types are statically defined in the system and are
immutable. It isn’t possible to create new types or update existing types via the API.
Note: Objects should always be created or deserialized using the TypeSummary.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 TypeSummary.Builder
, which maintain a
set of all explicitly set fields called TypeSummary.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 |
TypeSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
TypeSummary(String key,
String name,
String description,
String catalogId,
String typeCategory,
String uri,
LifecycleState lifecycleState,
String parentTypeKey,
String parentTypeName)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static TypeSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCatalogId()
The data catalog’s OCID.
|
String |
getDescription()
Detailed description of the type.
|
String |
getKey()
Unique type key that is immutable.
|
LifecycleState |
getLifecycleState()
State of the folder.
|
String |
getName()
The immutable name of the type.
|
String |
getParentTypeKey()
Unique key of the parent type.
|
String |
getParentTypeName()
Name of the parent type.
|
String |
getTypeCategory()
Indicates the category this type belongs to.
|
String |
getUri()
URI to the type instance in the API.
|
int |
hashCode() |
TypeSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"key","name","description","catalogId","typeCategory","uri","lifecycleState","parentTypeKey","parentTypeName"}) public TypeSummary(String key, String name, String description, String catalogId, String typeCategory, String uri, LifecycleState lifecycleState, String parentTypeKey, String parentTypeName)
public static TypeSummary.Builder builder()
Create a new builder.
public TypeSummary.Builder toBuilder()
public String getKey()
Unique type key that is immutable.
public String getName()
The immutable name of the type.
public String getDescription()
Detailed description of the type.
public String getCatalogId()
The data catalog’s OCID.
public String getTypeCategory()
Indicates the category this type belongs to. For instance, data assets, connections.
public String getUri()
URI to the type instance in the API.
public LifecycleState getLifecycleState()
State of the folder.
public String getParentTypeKey()
Unique key of the parent type.
public String getParentTypeName()
Name of the parent type.
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.