com.aliyun.sdk.service.cloudapi20160714.models.QueryRequestLogsRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-cloudapi20160714 Show documentation
Show all versions of alibabacloud-cloudapi20160714 Show documentation
Alibaba Cloud CloudAPI (20160714) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloudapi20160714.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link QueryRequestLogsRequest} extends {@link RequestModel}
*
* QueryRequestLogsRequest
*/
public class QueryRequestLogsRequest extends Request {
@Query
@NameInMap("RequestLogId")
@Validation(required = true)
private String requestLogId;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private QueryRequestLogsRequest(Builder builder) {
super(builder);
this.requestLogId = builder.requestLogId;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static QueryRequestLogsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestLogId
*/
public String getRequestLogId() {
return this.requestLogId;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder {
private String requestLogId;
private String securityToken;
private Builder() {
super();
}
private Builder(QueryRequestLogsRequest request) {
super(request);
this.requestLogId = request.requestLogId;
this.securityToken = request.securityToken;
}
/**
* The ID of the request log.
*/
public Builder requestLogId(String requestLogId) {
this.putQueryParameter("RequestLogId", requestLogId);
this.requestLogId = requestLogId;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public QueryRequestLogsRequest build() {
return new QueryRequestLogsRequest(this);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy