Class CfnAppBlock.ScriptDetailsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appstream.CfnAppBlock.ScriptDetailsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAppBlock.ScriptDetailsProperty>
- Enclosing interface:
CfnAppBlock.ScriptDetailsProperty
@Stability(Stable)
public static final class CfnAppBlock.ScriptDetailsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAppBlock.ScriptDetailsProperty>
A builder for
CfnAppBlock.ScriptDetailsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.executableParameters(String executableParameters) Sets the value ofCfnAppBlock.ScriptDetailsProperty.getExecutableParameters()executablePath(String executablePath) Sets the value ofCfnAppBlock.ScriptDetailsProperty.getExecutablePath()scriptS3Location(IResolvable scriptS3Location) Sets the value ofCfnAppBlock.ScriptDetailsProperty.getScriptS3Location()scriptS3Location(CfnAppBlock.S3LocationProperty scriptS3Location) Sets the value ofCfnAppBlock.ScriptDetailsProperty.getScriptS3Location()timeoutInSeconds(Number timeoutInSeconds) Sets the value ofCfnAppBlock.ScriptDetailsProperty.getTimeoutInSeconds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
executablePath
@Stability(Stable) public CfnAppBlock.ScriptDetailsProperty.Builder executablePath(String executablePath) Sets the value ofCfnAppBlock.ScriptDetailsProperty.getExecutablePath()- Parameters:
executablePath- The run path for the script. This parameter is required.- Returns:
this
-
scriptS3Location
@Stability(Stable) public CfnAppBlock.ScriptDetailsProperty.Builder scriptS3Location(IResolvable scriptS3Location) Sets the value ofCfnAppBlock.ScriptDetailsProperty.getScriptS3Location()- Parameters:
scriptS3Location- The S3 object location of the script. This parameter is required.- Returns:
this
-
scriptS3Location
@Stability(Stable) public CfnAppBlock.ScriptDetailsProperty.Builder scriptS3Location(CfnAppBlock.S3LocationProperty scriptS3Location) Sets the value ofCfnAppBlock.ScriptDetailsProperty.getScriptS3Location()- Parameters:
scriptS3Location- The S3 object location of the script. This parameter is required.- Returns:
this
-
timeoutInSeconds
@Stability(Stable) public CfnAppBlock.ScriptDetailsProperty.Builder timeoutInSeconds(Number timeoutInSeconds) Sets the value ofCfnAppBlock.ScriptDetailsProperty.getTimeoutInSeconds()- Parameters:
timeoutInSeconds- The run timeout, in seconds, for the script. This parameter is required.- Returns:
this
-
executableParameters
@Stability(Stable) public CfnAppBlock.ScriptDetailsProperty.Builder executableParameters(String executableParameters) Sets the value ofCfnAppBlock.ScriptDetailsProperty.getExecutableParameters()- Parameters:
executableParameters- The parameters used in the run path for the script.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAppBlock.ScriptDetailsProperty>- Returns:
- a new instance of
CfnAppBlock.ScriptDetailsProperty - Throws:
NullPointerException- if any required attribute was not provided
-