Interface RegistryRecordArtifactUpload.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RegistryRecordArtifactUpload.Builder,,RegistryRecordArtifactUpload> SdkBuilder<RegistryRecordArtifactUpload.Builder,,RegistryRecordArtifactUpload> SdkPojo
- Enclosing class:
RegistryRecordArtifactUpload
@Mutable
@NotThreadSafe
public static interface RegistryRecordArtifactUpload.Builder
extends SdkPojo, CopyableBuilder<RegistryRecordArtifactUpload.Builder,RegistryRecordArtifactUpload>
-
Method Summary
Modifier and TypeMethodDescriptionThe ZIP archive of the skill package, up to 5 MiB (5,242,880 bytes).The optional SHA-256 checksum of the ZIP archive, as 64 lowercase hexadecimal characters, computed over the archive's bytes rather than its base64 text.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
-
content
The ZIP archive of the skill package, up to 5 MiB (5,242,880 bytes). In a JSON request, the content is base64-encoded. The Amazon Web Services SDKs encode it for you.
- Parameters:
content- The ZIP archive of the skill package, up to 5 MiB (5,242,880 bytes). In a JSON request, the content is base64-encoded. The Amazon Web Services SDKs encode it for you.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sha256
The optional SHA-256 checksum of the ZIP archive, as 64 lowercase hexadecimal characters, computed over the archive's bytes rather than its base64 text. If it doesn't match the content, the request fails with a
ValidationException.- Parameters:
sha256- The optional SHA-256 checksum of the ZIP archive, as 64 lowercase hexadecimal characters, computed over the archive's bytes rather than its base64 text. If it doesn't match the content, the request fails with aValidationException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-