public static class InstanceAgentPlugin.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
InstanceAgentPlugin |
build() |
InstanceAgentPlugin.Builder |
copy(InstanceAgentPlugin model) |
InstanceAgentPlugin.Builder |
message(String message)
The optional message from the agent plugin
|
InstanceAgentPlugin.Builder |
name(String name)
The plugin name
|
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 |
InstanceAgentPlugin.Builder |
timeLastUpdatedUtc(Date timeLastUpdatedUtc)
The last update time of the plugin in UTC
|
public InstanceAgentPlugin.Builder name(String name)
The plugin name
name
- the value to setpublic 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
status
- the value to setpublic InstanceAgentPlugin.Builder timeLastUpdatedUtc(Date timeLastUpdatedUtc)
The last update time of the plugin in UTC
timeLastUpdatedUtc
- the value to setpublic InstanceAgentPlugin.Builder message(String message)
The optional message from the agent plugin
message
- the value to setpublic InstanceAgentPlugin build()
public InstanceAgentPlugin.Builder copy(InstanceAgentPlugin model)
Copyright © 2016–2024. All rights reserved.