com.aliyun.player.source

## 类 StsInfo

- java.lang.Object
- - com.aliyun.player.source.StsInfo

-     public class StsInfo
      extends java.lang.Object

- - ### 构造器概要

    构造器
    构造器和说明
    `StsInfo()`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `java.lang.String` | `getAccessKeyId()` Query the AccessKey ID for authentication.
    `java.lang.String` | `getAccessKeySecret()` Query the AccessKey Secret for authentication.
    `java.util.List<MediaFormat>` | `getFormats()` Query the formats of the returned data.
    `java.lang.String` | `getRegion()` Query region information.
    `java.lang.String` | `getSecurityToken()` Query the token.
    `void` | `setAccessKeyId(java.lang.String accessKeyId)` Set the AccessKey ID for authentication.
    `void` | `setAccessKeySecret(java.lang.String accessKeySecret)` Set the AccessKey Secret for authentication.
    `void` | `setFormats(java.util.List<MediaFormat> formats)` Set the formats of the returned data.
    `void` | `setRegion(java.lang.String region)` Specify regions.
    `void` | `setSecurityToken(java.lang.String securityToken)` Set a token.

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

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

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

    - #### StsInfo

          public StsInfo()

  - ### 方法详细资料

    - #### setAccessKeyId

          public void setAccessKeyId(java.lang.String accessKeyId)

      Set the AccessKey ID for authentication.
      参数:
        `accessKeyId` - The AccessKey ID for authentication.

    - #### setAccessKeySecret

          public void setAccessKeySecret(java.lang.String accessKeySecret)

      Set the AccessKey Secret for authentication.
      参数:
        `accessKeySecret` - The AccessKey Secret for authentication.

    - #### setSecurityToken

          public void setSecurityToken(java.lang.String securityToken)

      Set a token.
      参数:
        `securityToken` - The specified token.

    - #### setRegion

          public void setRegion(java.lang.String region)

      Specify regions.
      参数:
        `region` - The specified regions.

    - #### getAccessKeyId

          public java.lang.String getAccessKeyId()

      Query the AccessKey ID for authentication.
      返回:
        The AccessKey ID for authentication.

    - #### getAccessKeySecret

          public java.lang.String getAccessKeySecret()

      Query the AccessKey Secret for authentication.
      返回:
        The AccessKey Secret for authentication.

    - #### getSecurityToken

          public java.lang.String getSecurityToken()

      Query the token.
      返回:
        The token.

    - #### getRegion

          public java.lang.String getRegion()

      Query region information.
      返回:
        The region information.

    - #### getFormats

          public java.util.List<MediaFormat> getFormats()

      Query the formats of the returned data.
      返回:
        The formats of the returned data.

    - #### setFormats

          public void setFormats(java.util.List<MediaFormat> formats)

      Set the formats of the returned data. This parameter is optional. Default: mp4|m3u8|mp3|flv.
      参数:
        `formats` - The formats of the returned data.