Package com.oracle.bmc.datacatalog.model
Class Connection.Builder
- java.lang.Object
- 
- com.oracle.bmc.datacatalog.model.Connection.Builder
 
- 
- Enclosing class:
- Connection
 
 public static class Connection.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Connectionbuild()Connection.Buildercopy(Connection model)Connection.BuildercreatedById(String createdById)OCID of the user who created the connection.Connection.BuildercustomPropertyMembers(List<CustomPropertyGetUsage> customPropertyMembers)The list of customized properties along with the values for this objectConnection.BuilderdataAssetKey(String dataAssetKey)Unique key of the parent data asset.Connection.Builderdescription(String description)A description of the connection.Connection.BuilderdisplayName(String displayName)A user-friendly display name.Connection.BuilderexternalKey(String externalKey)Unique external key of this object from the source system.Connection.BuilderisDefault(Boolean isDefault)Indicates whether this connection is the default connection.Connection.Builderkey(String key)Unique connection key that is immutable.Connection.BuilderlifecycleState(LifecycleState lifecycleState)The current state of the connection.Connection.Builderproperties(Map<String,Map<String,String>> properties)A map of maps that contains the properties which are specific to the connection type.Connection.BuildertimeCreated(Date timeCreated)The date and time the connection was created, in the format defined by RFC3339.Connection.BuildertimeStatusUpdated(Date timeStatusUpdated)Time that the connections status was last updated.Connection.BuildertimeUpdated(Date timeUpdated)The last time that any change was made to the connection.Connection.BuildertypeKey(String typeKey)The key of the object type.Connection.BuilderupdatedById(String updatedById)OCID of the user who modified the connection.Connection.Builderuri(String uri)URI to the connection instance in the API.
 
- 
- 
- 
Method Detail- 
keypublic Connection.Builder key(String key) Unique connection key that is immutable.- Parameters:
- key- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic Connection.Builder description(String description) A description of the connection.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic Connection.Builder displayName(String displayName) A user-friendly display name.Does not have to be unique, and it’s changeable. Avoid entering confidential information. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic Connection.Builder timeCreated(Date timeCreated) The date and time the connection was created, in the format defined by RFC3339.Example: 2019-03-25T21:10:29.600Z - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic Connection.Builder timeUpdated(Date timeUpdated) The last time that any change was made to the connection.An RFC3339 formatted datetime string. - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
createdByIdpublic Connection.Builder createdById(String createdById) OCID of the user who created the connection.- Parameters:
- createdById- the value to set
- Returns:
- this builder
 
 - 
updatedByIdpublic Connection.Builder updatedById(String updatedById) OCID of the user who modified the connection.- Parameters:
- updatedById- the value to set
- Returns:
- this builder
 
 - 
customPropertyMemberspublic Connection.Builder customPropertyMembers(List<CustomPropertyGetUsage> customPropertyMembers) The list of customized properties along with the values for this object- Parameters:
- customPropertyMembers- the value to set
- Returns:
- this builder
 
 - 
propertiespublic Connection.Builder properties(Map<String,Map<String,String>> properties) 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”}}} - Parameters:
- properties- the value to set
- Returns:
- this builder
 
 - 
externalKeypublic Connection.Builder externalKey(String externalKey) Unique external key of this object from the source system.- Parameters:
- externalKey- the value to set
- Returns:
- this builder
 
 - 
timeStatusUpdatedpublic Connection.Builder timeStatusUpdated(Date timeStatusUpdated) Time that the connections status was last updated.An RFC3339 formatted datetime string. - Parameters:
- timeStatusUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic Connection.Builder lifecycleState(LifecycleState lifecycleState) The current state of the connection.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
isDefaultpublic Connection.Builder isDefault(Boolean isDefault) Indicates whether this connection is the default connection.- Parameters:
- isDefault- the value to set
- Returns:
- this builder
 
 - 
dataAssetKeypublic Connection.Builder dataAssetKey(String dataAssetKey) Unique key of the parent data asset.- Parameters:
- dataAssetKey- the value to set
- Returns:
- this builder
 
 - 
typeKeypublic Connection.Builder typeKey(String typeKey) The key of the object type.Type key’s can be found via the ‘/types’ endpoint. - Parameters:
- typeKey- the value to set
- Returns:
- this builder
 
 - 
uripublic Connection.Builder uri(String uri) URI to the connection instance in the API.- Parameters:
- uri- the value to set
- Returns:
- this builder
 
 - 
buildpublic Connection build() 
 - 
copypublic Connection.Builder copy(Connection model) 
 
- 
 
-