Class ResponseOutputItem.LocalShellCall.Action.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class ResponseOutputItem.LocalShellCall.Action.BuilderA builder for Action.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
command
final ResponseOutputItem.LocalShellCall.Action.Builder command(List<String> command)
The command to run.
 
- 
                                        
command
final ResponseOutputItem.LocalShellCall.Action.Builder command(JsonField<List<String>> command)
Sets Builder.command to an arbitrary JSON value.
You should usually call Builder.command with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
- 
                                        
addCommand
final ResponseOutputItem.LocalShellCall.Action.Builder addCommand(String command)
Adds a single String to Builder.command.
 
- 
                                        
env
final ResponseOutputItem.LocalShellCall.Action.Builder env(ResponseOutputItem.LocalShellCall.Action.Env env)
Environment variables to set for the command.
 
- 
                                        
env
final ResponseOutputItem.LocalShellCall.Action.Builder env(JsonField<ResponseOutputItem.LocalShellCall.Action.Env> env)
Sets Builder.env to an arbitrary JSON value.
You should usually call Builder.env with a well-typed Env value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
type
final ResponseOutputItem.LocalShellCall.Action.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("exec")This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
timeoutMs
final ResponseOutputItem.LocalShellCall.Action.Builder timeoutMs(Long timeoutMs)
Optional timeout in milliseconds for the command.
 
- 
                                        
timeoutMs
final ResponseOutputItem.LocalShellCall.Action.Builder timeoutMs(Long timeoutMs)
Alias for Builder.timeoutMs.
This unboxed primitive overload exists for backwards compatibility.
 
- 
                                        
timeoutMs
final ResponseOutputItem.LocalShellCall.Action.Builder timeoutMs(Optional<Long> timeoutMs)
Alias for calling Builder.timeoutMs with
timeoutMs.orElse(null). 
- 
                                        
timeoutMs
final ResponseOutputItem.LocalShellCall.Action.Builder timeoutMs(JsonField<Long> timeoutMs)
Sets Builder.timeoutMs to an arbitrary JSON value.
You should usually call Builder.timeoutMs with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
user
final ResponseOutputItem.LocalShellCall.Action.Builder user(String user)
Optional user to run the command as.
 
- 
                                        
user
final ResponseOutputItem.LocalShellCall.Action.Builder user(Optional<String> user)
Alias for calling Builder.user with
user.orElse(null). 
- 
                                        
user
final ResponseOutputItem.LocalShellCall.Action.Builder user(JsonField<String> user)
Sets Builder.user to an arbitrary JSON value.
You should usually call Builder.user with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
workingDirectory
final ResponseOutputItem.LocalShellCall.Action.Builder workingDirectory(String workingDirectory)
Optional working directory to run the command in.
 
- 
                                        
workingDirectory
final ResponseOutputItem.LocalShellCall.Action.Builder workingDirectory(Optional<String> workingDirectory)
Alias for calling Builder.workingDirectory with
workingDirectory.orElse(null). 
- 
                                        
workingDirectory
final ResponseOutputItem.LocalShellCall.Action.Builder workingDirectory(JsonField<String> workingDirectory)
Sets Builder.workingDirectory to an arbitrary JSON value.
You should usually call Builder.workingDirectory with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
additionalProperties
final ResponseOutputItem.LocalShellCall.Action.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final ResponseOutputItem.LocalShellCall.Action.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final ResponseOutputItem.LocalShellCall.Action.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final ResponseOutputItem.LocalShellCall.Action.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final ResponseOutputItem.LocalShellCall.Action.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final ResponseOutputItem.LocalShellCall.Action build()
Returns an immutable instance of Action.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.command() .env() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -