Interface Image.Builder

    • Method Detail

      • bytes

        Image.Builder bytes​(SdkBytes bytes)

        Blob of image bytes up to 5 MBs. Note that the maximum image size you can pass to DetectCustomLabels is 4MB.

        Parameters:
        bytes - Blob of image bytes up to 5 MBs. Note that the maximum image size you can pass to DetectCustomLabels is 4MB.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • s3Object

        Image.Builder s3Object​(S3Object s3Object)

        Identifies 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.