Class InstanceAgentPlugin.Builder
- java.lang.Object
- 
- com.oracle.bmc.computeinstanceagent.model.InstanceAgentPlugin.Builder
 
- 
- Enclosing class:
- InstanceAgentPlugin
 
 public static class InstanceAgentPlugin.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceAgentPluginbuild()InstanceAgentPlugin.Buildercopy(InstanceAgentPlugin model)InstanceAgentPlugin.Buildermessage(String message)An optional message from the plugin.InstanceAgentPlugin.Buildername(String name)The plugin name.InstanceAgentPlugin.Builderstatus(InstanceAgentPlugin.Status status)The plugin status.InstanceAgentPlugin.BuildertimeLastUpdatedUtc(Date timeLastUpdatedUtc)The last updated time of the plugin, in UTC.
 
- 
- 
- 
Method Detail- 
namepublic InstanceAgentPlugin.Builder name(String name) The plugin name.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
statuspublic InstanceAgentPlugin.Builder status(InstanceAgentPlugin.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
 
 - 
timeLastUpdatedUtcpublic InstanceAgentPlugin.Builder timeLastUpdatedUtc(Date timeLastUpdatedUtc) The last updated time of the plugin, in UTC.- Parameters:
- timeLastUpdatedUtc- the value to set
- Returns:
- this builder
 
 - 
messagepublic InstanceAgentPlugin.Builder message(String message) An optional message from the plugin.- Parameters:
- message- the value to set
- Returns:
- this builder
 
 - 
buildpublic InstanceAgentPlugin build() 
 - 
copypublic InstanceAgentPlugin.Builder copy(InstanceAgentPlugin model) 
 
- 
 
-