Class ImageInputSource

    • Method Detail

      • bytes

        public final SdkBytes bytes()

        The raw image bytes for the image. If you use an Amazon Web Services SDK, you don't need to encode the image bytes in base64.

        Returns:
        The raw image bytes for the image. If you use an Amazon Web Services SDK, you don't need to encode the image bytes in base64.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)
      • fromBytes

        public static ImageInputSource fromBytes​(SdkBytes bytes)
        Create an instance of this class with bytes() initialized to the given value.

        The raw image bytes for the image. If you use an Amazon Web Services SDK, you don't need to encode the image bytes in base64.

        Parameters:
        bytes - The raw image bytes for the image. If you use an Amazon Web Services SDK, you don't need to encode the image bytes in base64.