public static class Connection.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Connection |
build() |
Connection.Builder |
copy(Connection model) |
Connection.Builder |
createdById(String createdById)
OCID of the user who created the connection.
|
Connection.Builder |
customPropertyMembers(List<CustomPropertyGetUsage> customPropertyMembers)
The list of customized properties along with the values for this object
|
Connection.Builder |
dataAssetKey(String dataAssetKey)
Unique key of the parent data asset.
|
Connection.Builder |
description(String description)
A description of the connection.
|
Connection.Builder |
displayName(String displayName)
A user-friendly display name.
|
Connection.Builder |
externalKey(String externalKey)
Unique external key of this object from the source system.
|
Connection.Builder |
isDefault(Boolean isDefault)
Indicates whether this connection is the default connection.
|
Connection.Builder |
key(String key)
Unique connection key that is immutable.
|
Connection.Builder |
lifecycleState(LifecycleState lifecycleState)
The current state of the connection.
|
Connection.Builder |
properties(Map<String,Map<String,String>> properties)
A map of maps that contains the properties which are specific to the connection type.
|
Connection.Builder |
timeCreated(Date timeCreated)
The date and time the connection was created, in the format defined by
RFC3339.
|
Connection.Builder |
timeStatusUpdated(Date timeStatusUpdated)
Time that the connections status was last updated.
|
Connection.Builder |
timeUpdated(Date timeUpdated)
The last time that any change was made to the connection.
|
Connection.Builder |
typeKey(String typeKey)
The key of the object type.
|
Connection.Builder |
updatedById(String updatedById)
OCID of the user who modified the connection.
|
Connection.Builder |
uri(String uri)
URI to the connection instance in the API.
|
public Connection.Builder key(String key)
Unique connection key that is immutable.
key
- the value to setpublic Connection.Builder description(String description)
A description of the connection.
description
- the value to setpublic Connection.Builder displayName(String displayName)
A user-friendly display name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic 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
timeCreated
- the value to setpublic Connection.Builder timeUpdated(Date timeUpdated)
The last time that any change was made to the connection. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic Connection.Builder createdById(String createdById)
OCID of the user who created the connection.
createdById
- the value to setpublic Connection.Builder updatedById(String updatedById)
OCID of the user who modified the connection.
updatedById
- the value to setpublic Connection.Builder customPropertyMembers(List<CustomPropertyGetUsage> customPropertyMembers)
The list of customized properties along with the values for this object
customPropertyMembers
- the value to setpublic 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"}}}
properties
- the value to setpublic Connection.Builder externalKey(String externalKey)
Unique external key of this object from the source system.
externalKey
- the value to setpublic Connection.Builder timeStatusUpdated(Date timeStatusUpdated)
Time that the connections status was last updated. An RFC3339 formatted datetime string.
timeStatusUpdated
- the value to setpublic Connection.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the connection.
lifecycleState
- the value to setpublic Connection.Builder isDefault(Boolean isDefault)
Indicates whether this connection is the default connection.
isDefault
- the value to setpublic Connection.Builder dataAssetKey(String dataAssetKey)
Unique key of the parent data asset.
dataAssetKey
- the value to setpublic Connection.Builder typeKey(String typeKey)
The key of the object type. Type key’s can be found via the ‘/types’ endpoint.
typeKey
- the value to setpublic Connection.Builder uri(String uri)
URI to the connection instance in the API.
uri
- the value to setpublic Connection build()
public Connection.Builder copy(Connection model)
Copyright © 2016–2024. All rights reserved.