Package com.oracle.bmc.jms.model
Class PluginErrorSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.jms.model.PluginErrorSummary.Builder
-
- Enclosing class:
- PluginErrorSummary
public static class PluginErrorSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PluginErrorSummary.BuilderagentType(AgentType agentType)The agent type.PluginErrorSummarybuild()PluginErrorSummary.BuildercompartmentId(String compartmentId)The compartment OCID of the Fleet.PluginErrorSummary.Buildercopy(PluginErrorSummary model)PluginErrorSummary.Buildererrors(List<PluginErrorDetails> errors)List of plugin error details.PluginErrorSummary.BuilderhostName(String hostName)The HostName or Compute Instance name of the Managed Instance running the plugin.PluginErrorSummary.BuildermanagedInstanceId(String managedInstanceId)The OCID of the Managed Instance running the plugin.PluginErrorSummary.BuildertimeFirstSeen(Date timeFirstSeen)The timestamp of the first time an error was detected.PluginErrorSummary.BuildertimeLastSeen(Date timeLastSeen)The timestamp of the last time an error was detected.
-
-
-
Method Detail
-
managedInstanceId
public PluginErrorSummary.Builder managedInstanceId(String managedInstanceId)
The OCID of the Managed Instance running the plugin.- Parameters:
managedInstanceId- the value to set- Returns:
- this builder
-
agentType
public PluginErrorSummary.Builder agentType(AgentType agentType)
The agent type.- Parameters:
agentType- the value to set- Returns:
- this builder
-
hostName
public PluginErrorSummary.Builder hostName(String hostName)
The HostName or Compute Instance name of the Managed Instance running the plugin.- Parameters:
hostName- the value to set- Returns:
- this builder
-
compartmentId
public PluginErrorSummary.Builder compartmentId(String compartmentId)
The compartment OCID of the Fleet.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
errors
public PluginErrorSummary.Builder errors(List<PluginErrorDetails> errors)
List of plugin error details.- Parameters:
errors- the value to set- Returns:
- this builder
-
timeLastSeen
public PluginErrorSummary.Builder timeLastSeen(Date timeLastSeen)
The timestamp of the last time an error was detected.- Parameters:
timeLastSeen- the value to set- Returns:
- this builder
-
timeFirstSeen
public PluginErrorSummary.Builder timeFirstSeen(Date timeFirstSeen)
The timestamp of the first time an error was detected.- Parameters:
timeFirstSeen- the value to set- Returns:
- this builder
-
build
public PluginErrorSummary build()
-
copy
public PluginErrorSummary.Builder copy(PluginErrorSummary model)
-
-