Package com.oracle.bmc.jms.model
Class JmsPlugin.Builder
- java.lang.Object
-
- com.oracle.bmc.jms.model.JmsPlugin.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JmsPlugin.Builder
agentId(String agentId)
The OCID of the Management Agent (OMA) or the Oracle Cloud Agent (OCA) instance where the JMS plugin is deployed.JmsPlugin.Builder
agentType(AgentType agentType)
The agent type.JmsPlugin.Builder
availabilityStatus(JmsPluginAvailabilityStatus availabilityStatus)
The availability status.JmsPlugin
build()
JmsPlugin.Builder
compartmentId(String compartmentId)
The OMA/OCA agent’s compartment OCID.JmsPlugin.Builder
copy(JmsPlugin model)
JmsPlugin.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.JmsPlugin.Builder
fleetId(String fleetId)
The OCID of the fleet.JmsPlugin.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type, or scope.JmsPlugin.Builder
hostname(String hostname)
The hostname of the agent.JmsPlugin.Builder
id(String id)
The OCID to identify this JmsPlugin.JmsPlugin.Builder
lifecycleState(JmsPluginLifecycleState lifecycleState)
The lifecycle state.JmsPlugin.Builder
osArchitecture(String osArchitecture)
The architecture of the operating system of the plugin.JmsPlugin.Builder
osDistribution(String osDistribution)
The distribution of the operating system of the plugin.JmsPlugin.Builder
osFamily(OsFamily osFamily)
The operating system family for the plugin.JmsPlugin.Builder
pluginVersion(String pluginVersion)
The version of the plugin.JmsPlugin.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.JmsPlugin.Builder
timeLastSeen(Date timeLastSeen)
The date and time the resource was last reported to JMS.JmsPlugin.Builder
timeRegistered(Date timeRegistered)
The date and time the plugin was registered.
-
-
-
Method Detail
-
id
public JmsPlugin.Builder id(String id)
The OCID to identify this JmsPlugin.- Parameters:
id
- the value to set- Returns:
- this builder
-
agentId
public JmsPlugin.Builder agentId(String agentId)
The OCID of the Management Agent (OMA) or the Oracle Cloud Agent (OCA) instance where the JMS plugin is deployed.- Parameters:
agentId
- the value to set- Returns:
- this builder
-
agentType
public JmsPlugin.Builder agentType(AgentType agentType)
The agent type.- Parameters:
agentType
- the value to set- Returns:
- this builder
-
lifecycleState
public JmsPlugin.Builder lifecycleState(JmsPluginLifecycleState lifecycleState)
The lifecycle state.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
availabilityStatus
public JmsPlugin.Builder availabilityStatus(JmsPluginAvailabilityStatus availabilityStatus)
The availability status.- Parameters:
availabilityStatus
- the value to set- Returns:
- this builder
-
fleetId
public JmsPlugin.Builder fleetId(String fleetId)
The OCID of the fleet.- Parameters:
fleetId
- the value to set- Returns:
- this builder
-
compartmentId
public JmsPlugin.Builder compartmentId(String compartmentId)
The OMA/OCA agent’s compartment OCID.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
hostname
public JmsPlugin.Builder hostname(String hostname)
The hostname of the agent.- Parameters:
hostname
- the value to set- Returns:
- this builder
-
osFamily
public JmsPlugin.Builder osFamily(OsFamily osFamily)
The operating system family for the plugin.- Parameters:
osFamily
- the value to set- Returns:
- this builder
-
osArchitecture
public JmsPlugin.Builder osArchitecture(String osArchitecture)
The architecture of the operating system of the plugin.- Parameters:
osArchitecture
- the value to set- Returns:
- this builder
-
osDistribution
public JmsPlugin.Builder osDistribution(String osDistribution)
The distribution of the operating system of the plugin.- Parameters:
osDistribution
- the value to set- Returns:
- this builder
-
pluginVersion
public JmsPlugin.Builder pluginVersion(String pluginVersion)
The version of the plugin.- Parameters:
pluginVersion
- the value to set- Returns:
- this builder
-
timeRegistered
public JmsPlugin.Builder timeRegistered(Date timeRegistered)
The date and time the plugin was registered.- Parameters:
timeRegistered
- the value to set- Returns:
- this builder
-
timeLastSeen
public JmsPlugin.Builder timeLastSeen(Date timeLastSeen)
The date and time the resource was last reported to JMS.This is potentially after the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period.
- Parameters:
timeLastSeen
- the value to set- Returns:
- this builder
-
definedTags
public JmsPlugin.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”}}. (See Understanding Free-form Tags).
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
freeformTags
public JmsPlugin.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”}. (See Managing Tags and Tag Namespaces.)
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
systemTags
public JmsPlugin.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 JmsPlugin build()
-
copy
public JmsPlugin.Builder copy(JmsPlugin model)
-
-