All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.appstream_center20210220.models.GetStsTokenResponseBody Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.appstream_center20210220.models;

import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * 
 * {@link GetStsTokenResponseBody} extends {@link TeaModel}
 *
 * 

GetStsTokenResponseBody

*/ public class GetStsTokenResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("StsTokenModel") private StsTokenModel stsTokenModel; private GetStsTokenResponseBody(Builder builder) { this.requestId = builder.requestId; this.stsTokenModel = builder.stsTokenModel; } public static Builder builder() { return new Builder(); } public static GetStsTokenResponseBody create() { return builder().build(); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return stsTokenModel */ public StsTokenModel getStsTokenModel() { return this.stsTokenModel; } public static final class Builder { private String requestId; private StsTokenModel stsTokenModel; /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * StsTokenModel. */ public Builder stsTokenModel(StsTokenModel stsTokenModel) { this.stsTokenModel = stsTokenModel; return this; } public GetStsTokenResponseBody build() { return new GetStsTokenResponseBody(this); } } /** * * {@link GetStsTokenResponseBody} extends {@link TeaModel} * *

GetStsTokenResponseBody

*/ public static class StsTokenModel extends TeaModel { @com.aliyun.core.annotation.NameInMap("SessionId") private String sessionId; @com.aliyun.core.annotation.NameInMap("StsToken") private String stsToken; @com.aliyun.core.annotation.NameInMap("TenantId") private Long tenantId; private StsTokenModel(Builder builder) { this.sessionId = builder.sessionId; this.stsToken = builder.stsToken; this.tenantId = builder.tenantId; } public static Builder builder() { return new Builder(); } public static StsTokenModel create() { return builder().build(); } /** * @return sessionId */ public String getSessionId() { return this.sessionId; } /** * @return stsToken */ public String getStsToken() { return this.stsToken; } /** * @return tenantId */ public Long getTenantId() { return this.tenantId; } public static final class Builder { private String sessionId; private String stsToken; private Long tenantId; /** * SessionId. */ public Builder sessionId(String sessionId) { this.sessionId = sessionId; return this; } /** * StsToken. */ public Builder stsToken(String stsToken) { this.stsToken = stsToken; return this; } /** * TenantId. */ public Builder tenantId(Long tenantId) { this.tenantId = tenantId; return this; } public StsTokenModel build() { return new StsTokenModel(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy