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