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)
The optional message from the agent pluginInstanceAgentPlugin.Builder
name(String name)
The plugin nameInstanceAgentPlugin.Builder
status(InstanceAgentPlugin.Status status)
The plugin status Specified the plugin state on the instance * RUNNING - The plugin is in running state * STOPPED - The plugin is in stopped state * NOT_SUPPORTED - The plugin is not supported on this platform * INVALID - The plugin state is not recognizable by the serviceInstanceAgentPlugin.Builder
timeLastUpdatedUtc(Date timeLastUpdatedUtc)
The last update 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 Specified the plugin state on the instance * RUNNING - The plugin is in running state * STOPPED - The plugin is in stopped state * NOT_SUPPORTED - The plugin is not supported on this platform * INVALID - The plugin state is not recognizable by the service- Parameters:
status
- the value to set- Returns:
- this builder
-
timeLastUpdatedUtc
public InstanceAgentPlugin.Builder timeLastUpdatedUtc(Date timeLastUpdatedUtc)
The last update time of the plugin in UTC- Parameters:
timeLastUpdatedUtc
- the value to set- Returns:
- this builder
-
message
public InstanceAgentPlugin.Builder message(String message)
The optional message from the agent plugin- Parameters:
message
- the value to set- Returns:
- this builder
-
build
public InstanceAgentPlugin build()
-
copy
public InstanceAgentPlugin.Builder copy(InstanceAgentPlugin model)
-
-