Package com.cloudera.cdp.datalake.model
Class ImageRequest
- java.lang.Object
-
- com.cloudera.cdp.datalake.model.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 Summary
Constructors Constructor Description ImageRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getCatalogName()
Getter for catalogName.String
getId()
Getter for id.String
getOs()
Getter for os.int
hashCode()
void
setCatalogName(String catalogName)
Setter for catalogName.void
setId(String id)
Setter for id.void
setOs(String os)
Setter for os.String
toString()
-
-
-
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.
-
-