ApiHdfsSnapshotError (cloudera-manager-api-swagger 7.13.1 API)
Date: 2026-05-19

com.cloudera.api.swagger.model

## Class ApiHdfsSnapshotError

- java.lang.Object
- - com.cloudera.api.swagger.model.ApiHdfsSnapshotError

-     @Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen",
                 date="2026-05-19T08:00:51.241Z[Etc/UTC]")
      public class ApiHdfsSnapshotError
      extends Object

  An HDFS snapshot operation error.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ApiHdfsSnapshotError()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object o)`
    `ApiHdfsSnapshotError` | `error(String error)`
    `String` | `getError()` Description of the error.
    `String` | `getPath()` Path for which the snapshot error occurred.
    `String` | `getSnapshotName()` Name of snapshot for which error occurred.
    `int` | `hashCode()`
    `ApiHdfsSnapshotError` | `path(String path)`
    `void` | `setError(String error)`
    `void` | `setPath(String path)`
    `void` | `setSnapshotName(String snapshotName)`
    `ApiHdfsSnapshotError` | `snapshotName(String snapshotName)`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ApiHdfsSnapshotError

          public ApiHdfsSnapshotError()

  - ### Method Detail

    - #### path

          public ApiHdfsSnapshotError path(String path)

    - #### getPath

          public String getPath()

      Path for which the snapshot error occurred.
      Returns:
        path

    - #### setPath

          public void setPath(String path)

    - #### snapshotName

          public ApiHdfsSnapshotError snapshotName(String snapshotName)

    - #### getSnapshotName

          public String getSnapshotName()

      Name of snapshot for which error occurred.
      Returns:
        snapshotName

    - #### setSnapshotName

          public void setSnapshotName(String snapshotName)

    - #### error

          public ApiHdfsSnapshotError error(String error)

    - #### getError

          public String getError()

      Description of the error.
      Returns:
        error

    - #### setError

          public void setError(String error)

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2026. All rights reserved.