public static interface Image.Builder extends CopyableBuilder<Image.Builder,Image>
| Modifier and Type | Method and Description |
|---|---|
Image.Builder |
bytes(ByteBuffer bytes)
Blob of image bytes up to 5 MBs.
|
default Image.Builder |
s3Object(Consumer<S3Object.Builder> s3Object)
Identifies an S3 object as the image source.
|
Image.Builder |
s3Object(S3Object s3Object)
Identifies an S3 object as the image source.
|
copyapply, buildImage.Builder bytes(ByteBuffer bytes)
Blob of image bytes up to 5 MBs.
To preserve immutability, the remaining bytes in the provided buffer will be copied into a new buffer when set.
bytes - Blob of image bytes up to 5 MBs.Image.Builder s3Object(S3Object s3Object)
Identifies an S3 object as the image source.
s3Object - Identifies an S3 object as the image source.default Image.Builder s3Object(Consumer<S3Object.Builder> s3Object)
Identifies an S3 object as the image source.
This is a convenience that creates an instance of theS3Object.Builder avoiding the need to create
one manually via S3Object.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to s3Object(S3Object).s3Object - a consumer that will call methods on S3Object.Builders3Object(S3Object)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.