Class InstanceAgentCommandContent.Builder
- java.lang.Object
- 
- com.oracle.bmc.computeinstanceagent.model.InstanceAgentCommandContent.Builder
 
- 
- Enclosing class:
- InstanceAgentCommandContent
 
 public static class InstanceAgentCommandContent.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceAgentCommandContentbuild()InstanceAgentCommandContent.BuildercommandString(String commandString)Command String is a fully formed command that runcommand executes.InstanceAgentCommandContent.Buildercopy(InstanceAgentCommandContent model)InstanceAgentCommandContent.Builderoutput(InstanceAgentCommandOutputDetails output)The output destination for the command.InstanceAgentCommandContent.Buildersource(InstanceAgentCommandSourceDetails source)The source of the command.
 
- 
- 
- 
Method Detail- 
sourcepublic InstanceAgentCommandContent.Builder source(InstanceAgentCommandSourceDetails source) The source of the command.- Parameters:
- source- the value to set
- Returns:
- this builder
 
 - 
outputpublic InstanceAgentCommandContent.Builder output(InstanceAgentCommandOutputDetails output) The output destination for the command.- Parameters:
- output- the value to set
- Returns:
- this builder
 
 - 
commandStringpublic 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
 
 - 
buildpublic InstanceAgentCommandContent build() 
 - 
copypublic InstanceAgentCommandContent.Builder copy(InstanceAgentCommandContent model) 
 
- 
 
-