Class OsCommandQueryProperties.Builder
- java.lang.Object
-
- com.oracle.bmc.stackmonitoring.model.OsCommandQueryProperties.Builder
-
- Enclosing class:
- OsCommandQueryProperties
public static class OsCommandQueryProperties.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OsCommandQueryProperties.Builderarguments(String arguments)Arguments required by either command or scriptOsCommandQueryPropertiesbuild()OsCommandQueryProperties.Buildercommand(String command)OS command to execute without argumentsOsCommandQueryProperties.Buildercopy(OsCommandQueryProperties model)OsCommandQueryProperties.Builderdelimiter(String delimiter)Character used to delimit multiple metric values in single line of outputOsCommandQueryProperties.BuilderscriptDetails(ScriptFileDetails scriptDetails)OsCommandQueryProperties.BuilderstartsWith(String startsWith)String prefix used to identify metric output of the OS Command
-
-
-
Method Detail
-
command
public OsCommandQueryProperties.Builder command(String command)
OS command to execute without arguments- Parameters:
command- the value to set- Returns:
- this builder
-
delimiter
public OsCommandQueryProperties.Builder delimiter(String delimiter)
Character used to delimit multiple metric values in single line of output- Parameters:
delimiter- the value to set- Returns:
- this builder
-
scriptDetails
public OsCommandQueryProperties.Builder scriptDetails(ScriptFileDetails scriptDetails)
-
arguments
public OsCommandQueryProperties.Builder arguments(String arguments)
Arguments required by either command or script- Parameters:
arguments- the value to set- Returns:
- this builder
-
startsWith
public OsCommandQueryProperties.Builder startsWith(String startsWith)
String prefix used to identify metric output of the OS Command- Parameters:
startsWith- the value to set- Returns:
- this builder
-
build
public OsCommandQueryProperties build()
-
copy
public OsCommandQueryProperties.Builder copy(OsCommandQueryProperties model)
-
-