Class ImageRequest


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2024-03-13T13:08:46.862-07:00")
    public class ImageRequest
    extends Object
    The image request for the datalake. When the 'runtime' parameter is set, only the 'os' parameter can be provided. Otherwise, you can use 'catalog name' and/or 'id' for selecting an image.
    • Constructor Detail

      • ImageRequest

        public ImageRequest()
    • Method Detail

      • getId

        public String getId()
        Getter for id. The image ID from the catalog. The corresponding image will be used for the created cluster machines.
      • setId

        public void setId​(String id)
        Setter for id. The image ID from the catalog. The corresponding image will be used for the created cluster machines.
      • getCatalogName

        public String getCatalogName()
        Getter for catalogName. The name of the custom image catalog to use, defaulting to 'cdp-default' if not present.
      • setCatalogName

        public void setCatalogName​(String catalogName)
        Setter for catalogName. The name of the custom image catalog to use, defaulting to 'cdp-default' if not present.
      • getOs

        public String getOs()
        Getter for os. The OS of the image used for cluster instances.
      • setOs

        public void setOs​(String os)
        Setter for os. The OS of the image used for cluster instances.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object