com.aliyun.oss.model

## 类 CreateSymlinkRequest

- java.lang.Object
- - com.aliyun.oss.model.WebServiceRequest
  - - com.aliyun.oss.model.GenericRequest
    - - com.aliyun.oss.model.CreateSymlinkRequest

-     public class CreateSymlinkRequest
      extends GenericRequest

  The request class that is used to create symlink on an object.

- - ### 字段概要

    - ### 从类继承的字段 com.aliyun.oss.model.WebServiceRequest

      `NOOP`

  - ### 构造器概要

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

  - ### 方法概要

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

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

      `getBucketName, getKey, getRequestPayer, getVersionId, setBucketName, setKey, setRequestPayer, setVersionId, withBucketName, withKey, withRequestPayer, withVersionId`

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

      `addAdditionalHeaderName, addHeader, addParameter, getAdditionalHeaderNames, getHeaders, getParameters, getProgressListener, isLogEnabled, setAdditionalHeaderNames, setHeaders, setLogEnabled, setParameters, setProgressListener, withProgressListener`

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

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

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

    - #### CreateSymlinkRequest

          public CreateSymlinkRequest(String bucketName,
                              String symlink,
                              String target)

  - ### 方法详细资料

    - #### getSymlink

          public String getSymlink()

    - #### setSymlink

          public void setSymlink(String symlink)

    - #### getTarget

          public String getTarget()

      Sets the target file of the symlink.
      返回:
        Target file.

    - #### setTarget

          public void setTarget(String target)

      Gets the target file of the symlink.
      参数:
        `target` - Target file.

    - #### getMetadata

          public ObjectMetadata getMetadata()

      Gets the symlink file's metadata.
      返回:
        symlink file's metadata.

    - #### setMetadata

          public void setMetadata(ObjectMetadata metadata)

      Sets the symlink file's metadata.
      参数:
        `metadata` - symlink file's metadata.

Copyright © 2020. All Rights Reserved.