Class ExecuteFileOptions.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.ExecuteFileOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ExecuteFileOptions>
- Enclosing interface:
- ExecuteFileOptions
@Stability(Stable)
public static final class ExecuteFileOptions.Builder
extends Object
implements software.amazon.jsii.Builder<ExecuteFileOptions>
A builder for
ExecuteFileOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofExecuteFileOptions.getArguments()
build()
Builds the configured instance.Sets the value ofExecuteFileOptions.getFilePath()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
filePath
Sets the value ofExecuteFileOptions.getFilePath()
- Parameters:
filePath
- The path to the file. This parameter is required.- Returns:
this
-
arguments
Sets the value ofExecuteFileOptions.getArguments()
- Parameters:
arguments
- The arguments to be passed to the file.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ExecuteFileOptions>
- Returns:
- a new instance of
ExecuteFileOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-