Class CreateWorkspaceTokenRequest

    • Constructor Detail

      • CreateWorkspaceTokenRequest

        public CreateWorkspaceTokenRequest()
      • CreateWorkspaceTokenRequest

        public CreateWorkspaceTokenRequest​(CreateWorkspaceTokenRequest source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getSpaceKey

        public String getSpaceKey()
        Get 工作空间 SpaceKey
        Returns:
        SpaceKey 工作空间 SpaceKey
      • setSpaceKey

        public void setSpaceKey​(String SpaceKey)
        Set 工作空间 SpaceKey
        Parameters:
        SpaceKey - 工作空间 SpaceKey
      • getTokenExpiredLimitSec

        public Long getTokenExpiredLimitSec()
        Get token过期时间,单位是秒,默认 3600
        Returns:
        TokenExpiredLimitSec token过期时间,单位是秒,默认 3600
      • setTokenExpiredLimitSec

        public void setTokenExpiredLimitSec​(Long TokenExpiredLimitSec)
        Set token过期时间,单位是秒,默认 3600
        Parameters:
        TokenExpiredLimitSec - token过期时间,单位是秒,默认 3600
      • getPolicies

        public String[] getPolicies()
        Get token 授权策略,可选值为 workspace-run-only, all。默认为 all
        Returns:
        Policies token 授权策略,可选值为 workspace-run-only, all。默认为 all
      • setPolicies

        public void setPolicies​(String[] Policies)
        Set token 授权策略,可选值为 workspace-run-only, all。默认为 all
        Parameters:
        Policies - token 授权策略,可选值为 workspace-run-only, all。默认为 all