com.aliyun.oss.model

## 类 UdfApplicationLog

- java.lang.Object
- - com.aliyun.oss.model.GenericResult
  - - com.aliyun.oss.model.UdfApplicationLog

- 所有已实现的接口:
    Closeable, AutoCloseable

      public class UdfApplicationLog
      extends GenericResult
      implements Closeable

  The result class represents the UDF Application Log's content. It must be closed after the usage.

- - ### 构造器概要

    构造器
    构造器和说明
    `UdfApplicationLog()`
    `UdfApplicationLog(String udfName)`
    `UdfApplicationLog(String udfName, InputStream logContent)`

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `close()`
    `void` | `forcedClose()` Forcefully close the object.
    `InputStream` | `getLogContent()` Gets the `InputStream` instance which has the log content.
    `String` | `getUdfName()`
    `void` | `setLogContent(InputStream logContent)` Sets the `InputStream` instance.
    `void` | `setUdfName(String udfName)`

    - ### 从类继承的方法 com.aliyun.oss.model.GenericResult

      `getClientCRC, getRequestId, getResponse, getServerCRC, setClientCRC, setRequestId, setResponse, setServerCRC`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### UdfApplicationLog

          public UdfApplicationLog()

    - #### UdfApplicationLog

          public UdfApplicationLog(String udfName)

    - #### UdfApplicationLog

          public UdfApplicationLog(String udfName,
                           InputStream logContent)

  - ### 方法详细资料

    - #### getUdfName

          public String getUdfName()

    - #### setUdfName

          public void setUdfName(String udfName)

    - #### getLogContent

          public InputStream getLogContent()

      Gets the `InputStream` instance which has the log content.
      返回:
        A `InputStream` instance which has the log content.

    - #### setLogContent

          public void setLogContent(InputStream logContent)

      Sets the `InputStream` instance.
      参数:
        `logContent` - The `InputStream` instance.

    - #### close

          public void close()
                     throws IOException

      指定者:
        `close` 在接口中 `Closeable`
      指定者:
        `close` 在接口中 `AutoCloseable`
      抛出:
        `IOException`

    - #### forcedClose

          public void forcedClose()
                           throws IOException

      Forcefully close the object. The remaining data in server side is ignored.
      抛出:
        `IOException`

Copyright © 2020. All Rights Reserved.