Class CfnComputeNodeGroupPropsMixin.ScriptSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pcs.CfnComputeNodeGroupPropsMixin.ScriptSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnComputeNodeGroupPropsMixin.ScriptSourceProperty>
- Enclosing interface:
CfnComputeNodeGroupPropsMixin.ScriptSourceProperty
@Stability(Stable)
public static final class CfnComputeNodeGroupPropsMixin.ScriptSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnComputeNodeGroupPropsMixin.ScriptSourceProperty>
A builder for
CfnComputeNodeGroupPropsMixin.ScriptSourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnComputeNodeGroupPropsMixin.ScriptSourceProperty.getChecksum()s3VersionId(String s3VersionId) Sets the value ofCfnComputeNodeGroupPropsMixin.ScriptSourceProperty.getS3VersionId()scriptLocation(String scriptLocation) Sets the value ofCfnComputeNodeGroupPropsMixin.ScriptSourceProperty.getScriptLocation()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
checksum
@Stability(Stable) public CfnComputeNodeGroupPropsMixin.ScriptSourceProperty.Builder checksum(String checksum) Sets the value ofCfnComputeNodeGroupPropsMixin.ScriptSourceProperty.getChecksum()- Parameters:
checksum- A 64-character hexadecimal SHA-256 digest used to verify script integrity.- Returns:
this
-
s3VersionId
@Stability(Stable) public CfnComputeNodeGroupPropsMixin.ScriptSourceProperty.Builder s3VersionId(String s3VersionId) Sets the value ofCfnComputeNodeGroupPropsMixin.ScriptSourceProperty.getS3VersionId()- Parameters:
s3VersionId- The S3 object version ID of the script, when stored in a versioned bucket.- Returns:
this
-
scriptLocation
@Stability(Stable) public CfnComputeNodeGroupPropsMixin.ScriptSourceProperty.Builder scriptLocation(String scriptLocation) Sets the value ofCfnComputeNodeGroupPropsMixin.ScriptSourceProperty.getScriptLocation()- Parameters:
scriptLocation- The S3 URI or HTTPS URL where the script is stored.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnComputeNodeGroupPropsMixin.ScriptSourceProperty>- Returns:
- a new instance of
CfnComputeNodeGroupPropsMixin.ScriptSourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-