com.aliyun.oss.model

## 类 OSSSymlink

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

-     public class OSSSymlink
      extends GenericResult

  The entity class representing a OSS symlink file.

- - ### 构造器概要

    构造器
    构造器和说明
    `OSSSymlink(String symlink, String target)`

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `ObjectMetadata` | `getMetadata()` Gets the metadata of the symlink file
    `String` | `getSymlink()`
    `String` | `getTarget()`
    `void` | `setMetadata(ObjectMetadata metadata)` Sets the metadata of the symlink file.
    `void` | `setSymlink(String symlink)`
    `void` | `setTarget(String target)`
    `String` | `toString()`

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

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

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

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

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

    - #### OSSSymlink

          public OSSSymlink(String symlink,
                    String target)

  - ### 方法详细资料

    - #### getSymlink

          public String getSymlink()

    - #### setSymlink

          public void setSymlink(String symlink)

    - #### getTarget

          public String getTarget()

    - #### setTarget

          public void setTarget(String target)

    - #### getMetadata

          public ObjectMetadata getMetadata()

      Gets the metadata of the symlink file
      返回:
        The metadata of the symlink file.

    - #### setMetadata

          public void setMetadata(ObjectMetadata metadata)

      Sets the metadata of the symlink file.
      参数:
        `metadata` - The metadata of the symlink file.

    - #### toString

          public String toString()

      覆盖:
        `toString` 在类中 `Object`

Copyright © 2020. All Rights Reserved.