public static class ConnectionSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ConnectionSummary |
build() |
ConnectionSummary.Builder |
compartmentId(String compartmentId)
OCID of the compartment
|
ConnectionSummary.Builder |
copy(ConnectionSummary model) |
ConnectionSummary.Builder |
databaseId(String databaseId)
The OCID of the cloud database.
|
ConnectionSummary.Builder |
databaseType(DatabaseConnectionTypes databaseType)
Database connection type.
|
ConnectionSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ConnectionSummary.Builder |
displayName(String displayName)
Database Connection display name identifier.
|
ConnectionSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
ConnectionSummary.Builder |
id(String id)
The OCID of the resource
|
ConnectionSummary.Builder |
isDedicated(Boolean isDedicated)
True if the Autonomous Connection is dedicated.
|
ConnectionSummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
ConnectionSummary.Builder |
lifecycleState(LifecycleStates lifecycleState)
The current state of the Connection resource.
|
ConnectionSummary.Builder |
manualDatabaseSubType(DatabaseManualConnectionSubTypes manualDatabaseSubType)
Database manual connection subtype.
|
ConnectionSummary.Builder |
nsgIds(List<String> nsgIds)
An array of Network Security Group OCIDs used to define network access for Connections.
|
ConnectionSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
ConnectionSummary.Builder |
timeCreated(Date timeCreated)
The time the Connection resource was created.
|
ConnectionSummary.Builder |
timeUpdated(Date timeUpdated)
The time of the last Connection resource details update.
|
public ConnectionSummary.Builder id(String id)
The OCID of the resource
id
- the value to setpublic ConnectionSummary.Builder compartmentId(String compartmentId)
OCID of the compartment
compartmentId
- the value to setpublic ConnectionSummary.Builder databaseType(DatabaseConnectionTypes databaseType)
Database connection type.
databaseType
- the value to setpublic ConnectionSummary.Builder manualDatabaseSubType(DatabaseManualConnectionSubTypes manualDatabaseSubType)
Database manual connection subtype. This value can only be specified for manual connections.
manualDatabaseSubType
- the value to setpublic ConnectionSummary.Builder isDedicated(Boolean isDedicated)
True if the Autonomous Connection is dedicated. Not provided for Non-Autonomous Connections.
isDedicated
- the value to setpublic ConnectionSummary.Builder displayName(String displayName)
Database Connection display name identifier.
displayName
- the value to setpublic ConnectionSummary.Builder databaseId(String databaseId)
The OCID of the cloud database.
databaseId
- the value to setpublic ConnectionSummary.Builder timeCreated(Date timeCreated)
The time the Connection resource was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic ConnectionSummary.Builder timeUpdated(Date timeUpdated)
The time of the last Connection resource details update. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic ConnectionSummary.Builder lifecycleState(LifecycleStates lifecycleState)
The current state of the Connection resource.
lifecycleState
- the value to setpublic ConnectionSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
lifecycleDetails
- the value to setpublic ConnectionSummary.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic ConnectionSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic ConnectionSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic ConnectionSummary.Builder nsgIds(List<String> nsgIds)
An array of Network Security Group OCIDs used to define network access for Connections.
nsgIds
- the value to setpublic ConnectionSummary build()
public ConnectionSummary.Builder copy(ConnectionSummary model)
Copyright © 2016–2023. All rights reserved.