Class InstanceAgentPluginSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.computeinstanceagent.model.InstanceAgentPluginSummary.Builder
-
- Enclosing class:
- InstanceAgentPluginSummary
public static class InstanceAgentPluginSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceAgentPluginSummarybuild()InstanceAgentPluginSummary.Buildercopy(InstanceAgentPluginSummary model)InstanceAgentPluginSummary.Buildername(String name)The plugin name.InstanceAgentPluginSummary.Builderstatus(InstanceAgentPluginSummary.Status status)The plugin status.InstanceAgentPluginSummary.BuildertimeLastUpdatedUtc(Date timeLastUpdatedUtc)The last updated time of the plugin, in UTC.
-
-
-
Method Detail
-
name
public InstanceAgentPluginSummary.Builder name(String name)
The plugin name.- Parameters:
name- the value to set- Returns:
- this builder
-
status
public InstanceAgentPluginSummary.Builder status(InstanceAgentPluginSummary.Status status)
The plugin status.These are the available statuses: * RUNNING - The plugin is running. * STOPPED - The plugin is stopped. * NOT_SUPPORTED - The plugin is not supported on this platform. * INVALID - The plugin status is not recognizable by the service.
To determine whether the plugin is enabled, use the
getInstanceoperation in the Core Services API. To enable or disable the plugin, use theupdateInstanceoperation in the Core Services API.- Parameters:
status- the value to set- Returns:
- this builder
-
timeLastUpdatedUtc
public InstanceAgentPluginSummary.Builder timeLastUpdatedUtc(Date timeLastUpdatedUtc)
The last updated time of the plugin, in UTC.- Parameters:
timeLastUpdatedUtc- the value to set- Returns:
- this builder
-
build
public InstanceAgentPluginSummary build()
-
copy
public InstanceAgentPluginSummary.Builder copy(InstanceAgentPluginSummary model)
-
-