Class InstanceAgentCommandContent.Builder
- java.lang.Object
-
- com.oracle.bmc.computeinstanceagent.model.InstanceAgentCommandContent.Builder
-
- Enclosing class:
- InstanceAgentCommandContent
public static class InstanceAgentCommandContent.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceAgentCommandContent
build()
InstanceAgentCommandContent.Builder
commandString(String commandString)
Command String is a fully formed command that runcommand executes.InstanceAgentCommandContent.Builder
copy(InstanceAgentCommandContent model)
InstanceAgentCommandContent.Builder
output(InstanceAgentCommandOutputDetails output)
The output destination for the command.InstanceAgentCommandContent.Builder
source(InstanceAgentCommandSourceDetails source)
The source of the command.
-
-
-
Method Detail
-
source
public InstanceAgentCommandContent.Builder source(InstanceAgentCommandSourceDetails source)
The source of the command.- Parameters:
source
- the value to set- Returns:
- this builder
-
output
public InstanceAgentCommandContent.Builder output(InstanceAgentCommandOutputDetails output)
The output destination for the command.- Parameters:
output
- the value to set- Returns:
- this builder
-
commandString
public InstanceAgentCommandContent.Builder commandString(String commandString)
Command String is a fully formed command that runcommand executes.Example: main.sh is stored in object storage and user provides the following command with parameters to execute /bin/sh main.sh abc 10 foo.sh
- Parameters:
commandString
- the value to set- Returns:
- this builder
-
build
public InstanceAgentCommandContent build()
-
copy
public InstanceAgentCommandContent.Builder copy(InstanceAgentCommandContent model)
-
-