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 InstanceAgentPluginSummary
build()
InstanceAgentPluginSummary.Builder
copy(InstanceAgentPluginSummary model)
InstanceAgentPluginSummary.Builder
name(String name)
The plugin name.InstanceAgentPluginSummary.Builder
status(InstanceAgentPluginSummary.Status status)
The plugin status.InstanceAgentPluginSummary.Builder
timeLastUpdatedUtc(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
getInstance
operation in the Core Services API. To enable or disable the plugin, use theupdateInstance
operation 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)
-
-