Class ExternalListener.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.ExternalListener.Builder
-
- Enclosing class:
- ExternalListener
public static class ExternalListener.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExternalListener.BuilderadditionalDetails(Map<String,String> additionalDetails)The additional details of the external listener defined in {“key”: “value”} format.ExternalListener.BuilderadrHomeDirectory(String adrHomeDirectory)The directory that stores tracing and logging incidents when Automatic Diagnostic Repository (ADR) is enabled.ExternalListenerbuild()ExternalListener.BuildercompartmentId(String compartmentId)The OCID of the compartment.ExternalListener.BuildercomponentName(String componentName)The name of the external listener.ExternalListener.Buildercopy(ExternalListener model)ExternalListener.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ExternalListener.BuilderdisplayName(String displayName)The user-friendly name for the external listener.ExternalListener.Builderendpoints(List<ExternalListenerEndpoint> endpoints)The list of protocol addresses the listener is configured to listen on.ExternalListener.BuilderexternalConnectorId(String externalConnectorId)The OCID of the external connector.ExternalListener.BuilderexternalDbHomeId(String externalDbHomeId)The OCID of the external DB home.ExternalListener.BuilderexternalDbNodeId(String externalDbNodeId)The OCID of the external DB node.ExternalListener.BuilderexternalDbSystemId(String externalDbSystemId)The OCID of the external DB system that the listener is a part of.ExternalListener.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.ExternalListener.BuilderhostName(String hostName)The name of the host on which the external listener is running.ExternalListener.Builderid(String id)The OCID of the external listener.ExternalListener.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current lifecycle state.ExternalListener.BuilderlifecycleState(ExternalListener.LifecycleState lifecycleState)The current lifecycle state of the external listener.ExternalListener.BuilderlistenerAlias(String listenerAlias)The listener alias.ExternalListener.BuilderlistenerOraLocation(String listenerOraLocation)The location of the listener configuration file listener.ora.ExternalListener.BuilderlistenerType(ExternalListener.ListenerType listenerType)The type of listener.ExternalListener.BuilderlogDirectory(String logDirectory)The destination directory of the listener log file.ExternalListener.BuilderoracleHome(String oracleHome)The Oracle home location of the listener.ExternalListener.BuilderservicedAsms(List<ExternalServicedAsm> servicedAsms)The list of ASMs that are serviced by the listener.ExternalListener.BuilderservicedDatabases(List<ExternalListenerServicedDatabase> servicedDatabases)The list of databases that are serviced by the listener.ExternalListener.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.ExternalListener.BuildertimeCreated(Date timeCreated)The date and time the external listener was created.ExternalListener.BuildertimeUpdated(Date timeUpdated)The date and time the external listener was last updated.ExternalListener.BuildertraceDirectory(String traceDirectory)The destination directory of the listener trace file.ExternalListener.Builderversion(String version)The listener version.
-
-
-
Method Detail
-
id
public ExternalListener.Builder id(String id)
The OCID of the external listener.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public ExternalListener.Builder displayName(String displayName)
The user-friendly name for the external listener.The name does not have to be unique.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
componentName
public ExternalListener.Builder componentName(String componentName)
The name of the external listener.- Parameters:
componentName- the value to set- Returns:
- this builder
-
compartmentId
public ExternalListener.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
externalDbSystemId
public ExternalListener.Builder externalDbSystemId(String externalDbSystemId)
The OCID of the external DB system that the listener is a part of.- Parameters:
externalDbSystemId- the value to set- Returns:
- this builder
-
externalConnectorId
public ExternalListener.Builder externalConnectorId(String externalConnectorId)
The OCID of the external connector.- Parameters:
externalConnectorId- the value to set- Returns:
- this builder
-
externalDbNodeId
public ExternalListener.Builder externalDbNodeId(String externalDbNodeId)
The OCID of the external DB node.- Parameters:
externalDbNodeId- the value to set- Returns:
- this builder
-
externalDbHomeId
public ExternalListener.Builder externalDbHomeId(String externalDbHomeId)
The OCID of the external DB home.- Parameters:
externalDbHomeId- the value to set- Returns:
- this builder
-
listenerAlias
public ExternalListener.Builder listenerAlias(String listenerAlias)
The listener alias.- Parameters:
listenerAlias- the value to set- Returns:
- this builder
-
listenerType
public ExternalListener.Builder listenerType(ExternalListener.ListenerType listenerType)
The type of listener.- Parameters:
listenerType- the value to set- Returns:
- this builder
-
additionalDetails
public ExternalListener.Builder additionalDetails(Map<String,String> additionalDetails)
The additional details of the external listener defined in {“key”: “value”} format.Example: {“bar-key”: “value”}
- Parameters:
additionalDetails- the value to set- Returns:
- this builder
-
lifecycleState
public ExternalListener.Builder lifecycleState(ExternalListener.LifecycleState lifecycleState)
The current lifecycle state of the external listener.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public ExternalListener.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
listenerOraLocation
public ExternalListener.Builder listenerOraLocation(String listenerOraLocation)
The location of the listener configuration file listener.ora.- Parameters:
listenerOraLocation- the value to set- Returns:
- this builder
-
oracleHome
public ExternalListener.Builder oracleHome(String oracleHome)
The Oracle home location of the listener.- Parameters:
oracleHome- the value to set- Returns:
- this builder
-
hostName
public ExternalListener.Builder hostName(String hostName)
The name of the host on which the external listener is running.- Parameters:
hostName- the value to set- Returns:
- this builder
-
adrHomeDirectory
public ExternalListener.Builder adrHomeDirectory(String adrHomeDirectory)
The directory that stores tracing and logging incidents when Automatic Diagnostic Repository (ADR) is enabled.- Parameters:
adrHomeDirectory- the value to set- Returns:
- this builder
-
logDirectory
public ExternalListener.Builder logDirectory(String logDirectory)
The destination directory of the listener log file.- Parameters:
logDirectory- the value to set- Returns:
- this builder
-
traceDirectory
public ExternalListener.Builder traceDirectory(String traceDirectory)
The destination directory of the listener trace file.- Parameters:
traceDirectory- the value to set- Returns:
- this builder
-
version
public ExternalListener.Builder version(String version)
The listener version.- Parameters:
version- the value to set- Returns:
- this builder
-
endpoints
public ExternalListener.Builder endpoints(List<ExternalListenerEndpoint> endpoints)
The list of protocol addresses the listener is configured to listen on.- Parameters:
endpoints- the value to set- Returns:
- this builder
-
servicedDatabases
public ExternalListener.Builder servicedDatabases(List<ExternalListenerServicedDatabase> servicedDatabases)
The list of databases that are serviced by the listener.- Parameters:
servicedDatabases- the value to set- Returns:
- this builder
-
servicedAsms
public ExternalListener.Builder servicedAsms(List<ExternalServicedAsm> servicedAsms)
The list of ASMs that are serviced by the listener.- Parameters:
servicedAsms- the value to set- Returns:
- this builder
-
timeCreated
public ExternalListener.Builder timeCreated(Date timeCreated)
The date and time the external listener was created.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public ExternalListener.Builder timeUpdated(Date timeUpdated)
The date and time the external listener was last updated.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
freeformTags
public ExternalListener.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public ExternalListener.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public ExternalListener.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public ExternalListener build()
-
copy
public ExternalListener.Builder copy(ExternalListener model)
-
-