public class GetTokenRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Long |
expireTime
Time-to-live (TTL) of the share link in seconds.
|
String |
trainingJobId
ID of the training task.
|
| 构造器和说明 |
|---|
GetTokenRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static GetTokenRequest |
build(Map<String,?> map) |
Long |
getExpireTime() |
String |
getTrainingJobId() |
GetTokenRequest |
setExpireTime(Long expireTime) |
GetTokenRequest |
setTrainingJobId(String trainingJobId) |
@NameInMap(value="ExpireTime") public Long expireTime
Time-to-live (TTL) of the share link in seconds. Default is 604800. Minimum is 0.
example:60
@NameInMap(value="TrainingJobId") public String trainingJobId
ID of the training task.
This parameter is required.
example:traincclrt205dcs
public static GetTokenRequest build(Map<String,?> map) throws Exception
Exceptionpublic GetTokenRequest setExpireTime(Long expireTime)
public Long getExpireTime()
public GetTokenRequest setTrainingJobId(String trainingJobId)
public String getTrainingJobId()
Copyright © 2026. All rights reserved.