Class ExternalListenerSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.ExternalListenerSummary.Builder
-
- Enclosing class:
- ExternalListenerSummary
public static class ExternalListenerSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExternalListenerSummary
build()
ExternalListenerSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment.ExternalListenerSummary.Builder
componentName(String componentName)
The name of the external listener.ExternalListenerSummary.Builder
copy(ExternalListenerSummary model)
ExternalListenerSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.ExternalListenerSummary.Builder
displayName(String displayName)
The user-friendly name for the external listener.ExternalListenerSummary.Builder
externalConnectorId(String externalConnectorId)
The OCID of the external connector.ExternalListenerSummary.Builder
externalDbNodeId(String externalDbNodeId)
The OCID of the external DB node on which the listener is running.ExternalListenerSummary.Builder
externalDbSystemId(String externalDbSystemId)
The OCID of the external DB system that the listener is a member of.ExternalListenerSummary.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.ExternalListenerSummary.Builder
id(String id)
The OCID of the external listener.ExternalListenerSummary.Builder
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.ExternalListenerSummary.Builder
lifecycleState(ExternalListener.LifecycleState lifecycleState)
The current lifecycle state of the external listener.ExternalListenerSummary.Builder
listenerType(ExternalListener.ListenerType listenerType)
The type of listener.ExternalListenerSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.ExternalListenerSummary.Builder
timeCreated(Date timeCreated)
The date and time the external listener was created.ExternalListenerSummary.Builder
timeUpdated(Date timeUpdated)
The date and time the external listener was last updated.
-
-
-
Method Detail
-
id
public ExternalListenerSummary.Builder id(String id)
The OCID of the external listener.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public ExternalListenerSummary.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 ExternalListenerSummary.Builder componentName(String componentName)
The name of the external listener.- Parameters:
componentName
- the value to set- Returns:
- this builder
-
compartmentId
public ExternalListenerSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
externalDbSystemId
public ExternalListenerSummary.Builder externalDbSystemId(String externalDbSystemId)
The OCID of the external DB system that the listener is a member of.- Parameters:
externalDbSystemId
- the value to set- Returns:
- this builder
-
externalConnectorId
public ExternalListenerSummary.Builder externalConnectorId(String externalConnectorId)
The OCID of the external connector.- Parameters:
externalConnectorId
- the value to set- Returns:
- this builder
-
externalDbNodeId
public ExternalListenerSummary.Builder externalDbNodeId(String externalDbNodeId)
The OCID of the external DB node on which the listener is running.- Parameters:
externalDbNodeId
- the value to set- Returns:
- this builder
-
listenerType
public ExternalListenerSummary.Builder listenerType(ExternalListener.ListenerType listenerType)
The type of listener.- Parameters:
listenerType
- the value to set- Returns:
- this builder
-
lifecycleState
public ExternalListenerSummary.Builder lifecycleState(ExternalListener.LifecycleState lifecycleState)
The current lifecycle state of the external listener.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public ExternalListenerSummary.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
timeCreated
public ExternalListenerSummary.Builder timeCreated(Date timeCreated)
The date and time the external listener was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public ExternalListenerSummary.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 ExternalListenerSummary.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 ExternalListenerSummary.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 ExternalListenerSummary.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 ExternalListenerSummary build()
-
copy
public ExternalListenerSummary.Builder copy(ExternalListenerSummary model)
-
-