Class InstanceAgentPlugin.Builder
- java.lang.Object
-
- com.oracle.bmc.computeinstanceagent.model.InstanceAgentPlugin.Builder
-
- Enclosing class:
- InstanceAgentPlugin
public static class InstanceAgentPlugin.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceAgentPlugin
build()
InstanceAgentPlugin.Builder
copy(InstanceAgentPlugin model)
InstanceAgentPlugin.Builder
message(String message)
An optional message from the plugin.InstanceAgentPlugin.Builder
name(String name)
The plugin name.InstanceAgentPlugin.Builder
status(InstanceAgentPlugin.Status status)
The plugin status.InstanceAgentPlugin.Builder
timeLastUpdatedUtc(Date timeLastUpdatedUtc)
The last updated time of the plugin, in UTC.
-
-
-
Method Detail
-
name
public InstanceAgentPlugin.Builder name(String name)
The plugin name.- Parameters:
name
- the value to set- Returns:
- this builder
-
status
public 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
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 InstanceAgentPlugin.Builder timeLastUpdatedUtc(Date timeLastUpdatedUtc)
The last updated time of the plugin, in UTC.- Parameters:
timeLastUpdatedUtc
- the value to set- Returns:
- this builder
-
message
public InstanceAgentPlugin.Builder message(String message)
An optional message from the plugin.- Parameters:
message
- the value to set- Returns:
- this builder
-
build
public InstanceAgentPlugin build()
-
copy
public InstanceAgentPlugin.Builder copy(InstanceAgentPlugin model)
-
-