Class TypeSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datacatalog.model.TypeSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190325") public final class TypeSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelSummary 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 theTypeSummary.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 theTypeSummary.Builder, which maintain a set of all explicitly set fields calledTypeSummary.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 classTypeSummary.Builder
-
Constructor Summary
Constructors Constructor Description TypeSummary(String key, String name, String description, String catalogId, String typeCategory, String uri, LifecycleState lifecycleState, String parentTypeKey, String parentTypeName)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TypeSummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCatalogId()The data catalog’s OCID.StringgetDescription()Detailed description of the type.StringgetKey()Unique type key that is immutable.LifecycleStategetLifecycleState()State of the folder.StringgetName()The immutable name of the type.StringgetParentTypeKey()Unique key of the parent type.StringgetParentTypeName()Name of the parent type.StringgetTypeCategory()Indicates the category this type belongs to.StringgetUri()URI to the type instance in the API.inthashCode()TypeSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
TypeSummary
@Deprecated @ConstructorProperties({"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)
Deprecated.
-
-
Method Detail
-
builder
public static TypeSummary.Builder builder()
Create a new builder.
-
toBuilder
public TypeSummary.Builder toBuilder()
-
getKey
public String getKey()
Unique type key that is immutable.- Returns:
- the value
-
getName
public String getName()
The immutable name of the type.- Returns:
- the value
-
getDescription
public String getDescription()
Detailed description of the type.- Returns:
- the value
-
getCatalogId
public String getCatalogId()
The data catalog’s OCID.- Returns:
- the value
-
getTypeCategory
public String getTypeCategory()
Indicates the category this type belongs to.For instance, data assets, connections.
- Returns:
- the value
-
getUri
public String getUri()
URI to the type instance in the API.- Returns:
- the value
-
getLifecycleState
public LifecycleState getLifecycleState()
State of the folder.- Returns:
- the value
-
getParentTypeKey
public String getParentTypeKey()
Unique key of the parent type.- Returns:
- the value
-
getParentTypeName
public String getParentTypeName()
Name of the parent type.- Returns:
- the value
-
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
-
-