Class CloudListenerSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.CloudListenerSummary.Builder
-
- Enclosing class:
- CloudListenerSummary
public static class CloudListenerSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudListenerSummarybuild()CloudListenerSummary.BuildercloudConnectorId(String cloudConnectorId)The OCID of the cloud connector.CloudListenerSummary.BuildercloudDbNodeId(String cloudDbNodeId)The OCID of the cloud DB node on which the listener is running.CloudListenerSummary.BuildercloudDbSystemId(String cloudDbSystemId)The OCID of the cloud DB system that the listener is a member of.CloudListenerSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment.CloudListenerSummary.BuildercomponentName(String componentName)The name of the cloud listener.CloudListenerSummary.Buildercopy(CloudListenerSummary model)CloudListenerSummary.BuilderdbaasId(String dbaasId)The OCID in DBaas service.CloudListenerSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CloudListenerSummary.BuilderdisplayName(String displayName)The user-friendly name for the cloud listener.CloudListenerSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CloudListenerSummary.Builderid(String id)The OCID of the cloud listener.CloudListenerSummary.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current lifecycle state.CloudListenerSummary.BuilderlifecycleState(CloudListener.LifecycleState lifecycleState)The current lifecycle state of the cloud listener.CloudListenerSummary.BuilderlistenerType(CloudListener.ListenerType listenerType)The type of listener.CloudListenerSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.CloudListenerSummary.BuildertimeCreated(Date timeCreated)The date and time the cloud listener was created.CloudListenerSummary.BuildertimeUpdated(Date timeUpdated)The date and time the cloud listener was last updated.
-
-
-
Method Detail
-
id
public CloudListenerSummary.Builder id(String id)
The OCID of the cloud listener.- Parameters:
id- the value to set- Returns:
- this builder
-
dbaasId
public CloudListenerSummary.Builder dbaasId(String dbaasId)
The OCID in DBaas service.- Parameters:
dbaasId- the value to set- Returns:
- this builder
-
displayName
public CloudListenerSummary.Builder displayName(String displayName)
The user-friendly name for the cloud listener.The name does not have to be unique.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
componentName
public CloudListenerSummary.Builder componentName(String componentName)
The name of the cloud listener.- Parameters:
componentName- the value to set- Returns:
- this builder
-
compartmentId
public CloudListenerSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
cloudDbSystemId
public CloudListenerSummary.Builder cloudDbSystemId(String cloudDbSystemId)
The OCID of the cloud DB system that the listener is a member of.- Parameters:
cloudDbSystemId- the value to set- Returns:
- this builder
-
cloudConnectorId
public CloudListenerSummary.Builder cloudConnectorId(String cloudConnectorId)
The OCID of the cloud connector.- Parameters:
cloudConnectorId- the value to set- Returns:
- this builder
-
cloudDbNodeId
public CloudListenerSummary.Builder cloudDbNodeId(String cloudDbNodeId)
The OCID of the cloud DB node on which the listener is running.- Parameters:
cloudDbNodeId- the value to set- Returns:
- this builder
-
listenerType
public CloudListenerSummary.Builder listenerType(CloudListener.ListenerType listenerType)
The type of listener.- Parameters:
listenerType- the value to set- Returns:
- this builder
-
lifecycleState
public CloudListenerSummary.Builder lifecycleState(CloudListener.LifecycleState lifecycleState)
The current lifecycle state of the cloud listener.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public CloudListenerSummary.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
timeCreated
public CloudListenerSummary.Builder timeCreated(Date timeCreated)
The date and time the cloud listener was created.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public CloudListenerSummary.Builder timeUpdated(Date timeUpdated)
The date and time the cloud listener was last updated.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
freeformTags
public CloudListenerSummary.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 CloudListenerSummary.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 CloudListenerSummary.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 CloudListenerSummary build()
-
copy
public CloudListenerSummary.Builder copy(CloudListenerSummary model)
-
-