com.aliyun.datahub.client.impl.request.GetTokenRequest Maven / Gradle / Ivy
The newest version!
package com.aliyun.datahub.client.impl.request;
import com.aliyun.datahub.client.impl.serializer.GetTokenRequestSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
@JsonSerialize(using = GetTokenRequestSerializer.class)
public class GetTokenRequest extends BaseRequest {
private long duration;
public GetTokenRequest() { setAction("token"); }
public long getDuration() {
return duration;
}
public GetTokenRequest setDuration(long duration) {
this.duration = duration;
return this;
}
}