Interface Image.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<Image.Builder,,- Image> - SdkBuilder<Image.Builder,,- Image> - SdkPojo
- Enclosing class:
- Image
@Mutable
@NotThreadSafe
public static interface Image.Builder
extends SdkPojo, CopyableBuilder<Image.Builder,Image> 
- 
Method SummaryModifier and TypeMethodDescriptionBlob of image bytes up to 5 MBs.default Image.Builders3Object(Consumer<S3Object.Builder> s3Object) Identifies an S3 object as the image source.Identifies an S3 object as the image source.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
bytesBlob of image bytes up to 5 MBs. Note that the maximum image size you can pass to DetectCustomLabelsis 4MB.- Parameters:
- bytes- Blob of image bytes up to 5 MBs. Note that the maximum image size you can pass to- DetectCustomLabelsis 4MB.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
s3ObjectIdentifies an S3 object as the image source. - Parameters:
- s3Object- Identifies an S3 object as the image source.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
s3ObjectIdentifies an S3 object as the image source. This is a convenience method that creates an instance of theS3Object.Builderavoiding the need to create one manually viaS3Object.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Object(S3Object).- Parameters:
- s3Object- a consumer that will call methods on- S3Object.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-