public static interface Image.Builder extends SdkPojo, CopyableBuilder<Image.Builder,Image>
Modifier and Type | Method and Description |
---|---|
Image.Builder |
bytes(SdkBytes 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.
|
copy
applyMutation, build
Image.Builder bytes(SdkBytes bytes)
Blob of image bytes up to 5 MBs.
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.Builder
s3Object(S3Object)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.