Package com.oracle.bmc.datacatalog.model
Class Connection
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.datacatalog.model.Connection
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20190325") public final class Connection extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelDetailed representation of a connection to a data asset, minus any sensitive properties.
 Note: Objects should always be created or deserialized using theConnection.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 theConnection.Builder, which maintain a set of all explicitly set fields calledConnection.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 SummaryNested Classes Modifier and Type Class Description static classConnection.Builder
 - 
Constructor SummaryConstructors Constructor Description Connection(String key, String description, String displayName, Date timeCreated, Date timeUpdated, String createdById, String updatedById, List<CustomPropertyGetUsage> customPropertyMembers, Map<String,Map<String,String>> properties, String externalKey, Date timeStatusUpdated, LifecycleState lifecycleState, Boolean isDefault, String dataAssetKey, String typeKey, String uri)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Connection.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCreatedById()OCID of the user who created the connection.List<CustomPropertyGetUsage>getCustomPropertyMembers()The list of customized properties along with the values for this objectStringgetDataAssetKey()Unique key of the parent data asset.StringgetDescription()A description of the connection.StringgetDisplayName()A user-friendly display name.StringgetExternalKey()Unique external key of this object from the source system.BooleangetIsDefault()Indicates whether this connection is the default connection.StringgetKey()Unique connection key that is immutable.LifecycleStategetLifecycleState()The current state of the connection.Map<String,Map<String,String>>getProperties()A map of maps that contains the properties which are specific to the connection type.DategetTimeCreated()The date and time the connection was created, in the format defined by RFC3339.DategetTimeStatusUpdated()Time that the connections status was last updated.DategetTimeUpdated()The last time that any change was made to the connection.StringgetTypeKey()The key of the object type.StringgetUpdatedById()OCID of the user who modified the connection.StringgetUri()URI to the connection instance in the API.inthashCode()Connection.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
Connection@Deprecated @ConstructorProperties({"key","description","displayName","timeCreated","timeUpdated","createdById","updatedById","customPropertyMembers","properties","externalKey","timeStatusUpdated","lifecycleState","isDefault","dataAssetKey","typeKey","uri"}) public Connection(String key, String description, String displayName, Date timeCreated, Date timeUpdated, String createdById, String updatedById, List<CustomPropertyGetUsage> customPropertyMembers, Map<String,Map<String,String>> properties, String externalKey, Date timeStatusUpdated, LifecycleState lifecycleState, Boolean isDefault, String dataAssetKey, String typeKey, String uri) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static Connection.Builder builder() Create a new builder.
 - 
toBuilderpublic Connection.Builder toBuilder() 
 - 
getKeypublic String getKey() Unique connection key that is immutable.- Returns:
- the value
 
 - 
getDescriptionpublic String getDescription() A description of the connection.- Returns:
- the value
 
 - 
getDisplayNamepublic String getDisplayName() A user-friendly display name.Does not have to be unique, and it’s changeable. Avoid entering confidential information. - Returns:
- the value
 
 - 
getTimeCreatedpublic Date getTimeCreated() The date and time the connection was created, in the format defined by RFC3339.Example: 2019-03-25T21:10:29.600Z - Returns:
- the value
 
 - 
getTimeUpdatedpublic Date getTimeUpdated() The last time that any change was made to the connection.An RFC3339 formatted datetime string. - Returns:
- the value
 
 - 
getCreatedByIdpublic String getCreatedById() OCID of the user who created the connection.- Returns:
- the value
 
 - 
getUpdatedByIdpublic String getUpdatedById() OCID of the user who modified the connection.- Returns:
- the value
 
 - 
getCustomPropertyMemberspublic List<CustomPropertyGetUsage> getCustomPropertyMembers() The list of customized properties along with the values for this object- Returns:
- the value
 
 - 
getPropertiespublic Map<String,Map<String,String>> getProperties() A map of maps that contains the properties which are specific to the connection type.Each connection type definition defines it’s set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the “default” category. Example: {“properties”: { “default”: { “username”: “user1”}}} - Returns:
- the value
 
 - 
getExternalKeypublic String getExternalKey() Unique external key of this object from the source system.- Returns:
- the value
 
 - 
getTimeStatusUpdatedpublic Date getTimeStatusUpdated() Time that the connections status was last updated.An RFC3339 formatted datetime string. - Returns:
- the value
 
 - 
getLifecycleStatepublic LifecycleState getLifecycleState() The current state of the connection.- Returns:
- the value
 
 - 
getIsDefaultpublic Boolean getIsDefault() Indicates whether this connection is the default connection.- Returns:
- the value
 
 - 
getDataAssetKeypublic String getDataAssetKey() Unique key of the parent data asset.- Returns:
- the value
 
 - 
getTypeKeypublic String getTypeKey() The key of the object type.Type key’s can be found via the ‘/types’ endpoint. - Returns:
- the value
 
 - 
getUripublic String getUri() URI to the connection instance in the API.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-