public static class OsCommandQueryProperties.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
OsCommandQueryProperties.Builder |
arguments(String arguments)
Arguments required by either command or script
|
OsCommandQueryProperties |
build() |
OsCommandQueryProperties.Builder |
command(String command)
OS command to execute without arguments
|
OsCommandQueryProperties.Builder |
copy(OsCommandQueryProperties model) |
OsCommandQueryProperties.Builder |
delimiter(String delimiter)
Character used to delimit multiple metric values in single line of output
|
OsCommandQueryProperties.Builder |
scriptDetails(ScriptFileDetails scriptDetails) |
OsCommandQueryProperties.Builder |
startsWith(String startsWith)
String prefix used to identify metric output of the OS Command
|
public OsCommandQueryProperties.Builder command(String command)
OS command to execute without arguments
command
- the value to setpublic OsCommandQueryProperties.Builder delimiter(String delimiter)
Character used to delimit multiple metric values in single line of output
delimiter
- the value to setpublic OsCommandQueryProperties.Builder scriptDetails(ScriptFileDetails scriptDetails)
public OsCommandQueryProperties.Builder arguments(String arguments)
Arguments required by either command or script
arguments
- the value to setpublic OsCommandQueryProperties.Builder startsWith(String startsWith)
String prefix used to identify metric output of the OS Command
startsWith
- the value to setpublic OsCommandQueryProperties build()
public OsCommandQueryProperties.Builder copy(OsCommandQueryProperties model)
Copyright © 2016–2024. All rights reserved.