Class ImageAnalysis


  • public class ImageAnalysis
    extends Object
    Result of AnalyzeImage operation.
    • Constructor Detail

      • ImageAnalysis

        public ImageAnalysis()
    • Method Detail

      • categories

        public List<Category> categories()
        Get the categories value.
        Returns:
        the categories value
      • withCategories

        public ImageAnalysis withCategories​(List<Category> categories)
        Set the categories value.
        Parameters:
        categories - the categories value to set
        Returns:
        the ImageAnalysis object itself.
      • adult

        public AdultInfo adult()
        Get the adult value.
        Returns:
        the adult value
      • withAdult

        public ImageAnalysis withAdult​(AdultInfo adult)
        Set the adult value.
        Parameters:
        adult - the adult value to set
        Returns:
        the ImageAnalysis object itself.
      • color

        public ColorInfo color()
        Get the color value.
        Returns:
        the color value
      • withColor

        public ImageAnalysis withColor​(ColorInfo color)
        Set the color value.
        Parameters:
        color - the color value to set
        Returns:
        the ImageAnalysis object itself.
      • imageType

        public ImageType imageType()
        Get the imageType value.
        Returns:
        the imageType value
      • withImageType

        public ImageAnalysis withImageType​(ImageType imageType)
        Set the imageType value.
        Parameters:
        imageType - the imageType value to set
        Returns:
        the ImageAnalysis object itself.
      • tags

        public List<ImageTag> tags()
        Get the tags value.
        Returns:
        the tags value
      • withTags

        public ImageAnalysis withTags​(List<ImageTag> tags)
        Set the tags value.
        Parameters:
        tags - the tags value to set
        Returns:
        the ImageAnalysis object itself.
      • description

        public ImageDescriptionDetails description()
        Get the description value.
        Returns:
        the description value
      • withDescription

        public ImageAnalysis withDescription​(ImageDescriptionDetails description)
        Set the description value.
        Parameters:
        description - the description value to set
        Returns:
        the ImageAnalysis object itself.
      • withFaces

        public ImageAnalysis withFaces​(List<FaceDescription> faces)
        Set the faces value.
        Parameters:
        faces - the faces value to set
        Returns:
        the ImageAnalysis object itself.
      • objects

        public List<DetectedObject> objects()
        Get the objects value.
        Returns:
        the objects value
      • withObjects

        public ImageAnalysis withObjects​(List<DetectedObject> objects)
        Set the objects value.
        Parameters:
        objects - the objects value to set
        Returns:
        the ImageAnalysis object itself.
      • brands

        public List<DetectedBrand> brands()
        Get the brands value.
        Returns:
        the brands value
      • withBrands

        public ImageAnalysis withBrands​(List<DetectedBrand> brands)
        Set the brands value.
        Parameters:
        brands - the brands value to set
        Returns:
        the ImageAnalysis object itself.
      • requestId

        public String requestId()
        Get the requestId value.
        Returns:
        the requestId value
      • withRequestId

        public ImageAnalysis withRequestId​(String requestId)
        Set the requestId value.
        Parameters:
        requestId - the requestId value to set
        Returns:
        the ImageAnalysis object itself.
      • metadata

        public ImageMetadata metadata()
        Get the metadata value.
        Returns:
        the metadata value
      • withMetadata

        public ImageAnalysis withMetadata​(ImageMetadata metadata)
        Set the metadata value.
        Parameters:
        metadata - the metadata value to set
        Returns:
        the ImageAnalysis object itself.
      • modelVersion

        public String modelVersion()
        Get the modelVersion value.
        Returns:
        the modelVersion value
      • withModelVersion

        public ImageAnalysis withModelVersion​(String modelVersion)
        Set the modelVersion value.
        Parameters:
        modelVersion - the modelVersion value to set
        Returns:
        the ImageAnalysis object itself.