Package com.oracle.bmc.jms.model
Class JmsPluginSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.jms.model.JmsPluginSummary.Builder
-
- Enclosing class:
- JmsPluginSummary
public static class JmsPluginSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JmsPluginSummary.Builder
agentId(String agentId)
The OCID of the Management Agent (OMA) or the Oracle Cloud Agent (OCA) instance where the JMS plugin is deployed.JmsPluginSummary.Builder
agentType(AgentType agentType)
The agent type.JmsPluginSummary.Builder
availabilityStatus(JmsPluginAvailabilityStatus availabilityStatus)
The availability status.JmsPluginSummary
build()
JmsPluginSummary.Builder
compartmentId(String compartmentId)
The OMA/OCA agent’s compartment OCID.JmsPluginSummary.Builder
copy(JmsPluginSummary model)
JmsPluginSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.JmsPluginSummary.Builder
fleetId(String fleetId)
The OCID of the fleet.JmsPluginSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type, or scope.JmsPluginSummary.Builder
hostname(String hostname)
The hostname of the agent.JmsPluginSummary.Builder
id(String id)
The OCID to identify this JmsPlugin.JmsPluginSummary.Builder
lifecycleState(JmsPluginLifecycleState lifecycleState)
The lifecycle state.JmsPluginSummary.Builder
osArchitecture(String osArchitecture)
The architecture of the operating system of the plugin.JmsPluginSummary.Builder
osDistribution(String osDistribution)
The distribution of the operating system of the plugin.JmsPluginSummary.Builder
osFamily(OsFamily osFamily)
The operating system family for the plugin.JmsPluginSummary.Builder
pluginVersion(String pluginVersion)
The version of the plugin.JmsPluginSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.JmsPluginSummary.Builder
timeLastSeen(Date timeLastSeen)
The date and time the resource was last reported to JMS.JmsPluginSummary.Builder
timeRegistered(Date timeRegistered)
The date and time the plugin was registered.
-
-
-
Method Detail
-
id
public JmsPluginSummary.Builder id(String id)
The OCID to identify this JmsPlugin.- Parameters:
id
- the value to set- Returns:
- this builder
-
agentId
public JmsPluginSummary.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 JmsPluginSummary.Builder agentType(AgentType agentType)
The agent type.- Parameters:
agentType
- the value to set- Returns:
- this builder
-
lifecycleState
public JmsPluginSummary.Builder lifecycleState(JmsPluginLifecycleState lifecycleState)
The lifecycle state.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
availabilityStatus
public JmsPluginSummary.Builder availabilityStatus(JmsPluginAvailabilityStatus availabilityStatus)
The availability status.- Parameters:
availabilityStatus
- the value to set- Returns:
- this builder
-
fleetId
public JmsPluginSummary.Builder fleetId(String fleetId)
The OCID of the fleet.- Parameters:
fleetId
- the value to set- Returns:
- this builder
-
compartmentId
public JmsPluginSummary.Builder compartmentId(String compartmentId)
The OMA/OCA agent’s compartment OCID.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
hostname
public JmsPluginSummary.Builder hostname(String hostname)
The hostname of the agent.- Parameters:
hostname
- the value to set- Returns:
- this builder
-
osFamily
public JmsPluginSummary.Builder osFamily(OsFamily osFamily)
The operating system family for the plugin.- Parameters:
osFamily
- the value to set- Returns:
- this builder
-
osArchitecture
public JmsPluginSummary.Builder osArchitecture(String osArchitecture)
The architecture of the operating system of the plugin.- Parameters:
osArchitecture
- the value to set- Returns:
- this builder
-
osDistribution
public JmsPluginSummary.Builder osDistribution(String osDistribution)
The distribution of the operating system of the plugin.- Parameters:
osDistribution
- the value to set- Returns:
- this builder
-
pluginVersion
public JmsPluginSummary.Builder pluginVersion(String pluginVersion)
The version of the plugin.- Parameters:
pluginVersion
- the value to set- Returns:
- this builder
-
timeRegistered
public JmsPluginSummary.Builder timeRegistered(Date timeRegistered)
The date and time the plugin was registered.- Parameters:
timeRegistered
- the value to set- Returns:
- this builder
-
timeLastSeen
public JmsPluginSummary.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 JmsPluginSummary.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 JmsPluginSummary.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 JmsPluginSummary.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 JmsPluginSummary build()
-
copy
public JmsPluginSummary.Builder copy(JmsPluginSummary model)
-
-