Interface ScriptSource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ScriptSource.Builder,,ScriptSource> SdkBuilder<ScriptSource.Builder,,ScriptSource> SdkPojo
- Enclosing class:
ScriptSource
@Mutable
@NotThreadSafe
public static interface ScriptSource.Builder
extends SdkPojo, CopyableBuilder<ScriptSource.Builder,ScriptSource>
-
Method Summary
Modifier and TypeMethodDescriptionThe SHA-256 checksum of the script content, as a 64-character hexadecimal string.s3VersionId(String s3VersionId) The Amazon S3 version ID of the script.scriptLocation(String scriptLocation) The location of the script.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
scriptLocation
The location of the script. Specify either an Amazon S3 URI in the format
s3://bucket-name/keyor an HTTPS URL.- Parameters:
scriptLocation- The location of the script. Specify either an Amazon S3 URI in the formats3://bucket-name/keyor an HTTPS URL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3VersionId
The Amazon S3 version ID of the script. Use this value to pin the script to a specific version in a versioned Amazon S3 bucket. This value is only valid when
scriptLocationis an Amazon S3 URI.- Parameters:
s3VersionId- The Amazon S3 version ID of the script. Use this value to pin the script to a specific version in a versioned Amazon S3 bucket. This value is only valid whenscriptLocationis an Amazon S3 URI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksum
The SHA-256 checksum of the script content, as a 64-character hexadecimal string. This value is optional. When specified, PCS uses this value to verify the integrity of the downloaded script.
- Parameters:
checksum- The SHA-256 checksum of the script content, as a 64-character hexadecimal string. This value is optional. When specified, PCS uses this value to verify the integrity of the downloaded script.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-