com.aliyun.sdk.service.cloudapi20160714.models.DescribeLogConfigResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloudapi20160714.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeLogConfigResponseBody} extends {@link TeaModel}
*
* DescribeLogConfigResponseBody
*/
public class DescribeLogConfigResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("LogInfos")
private LogInfos logInfos;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeLogConfigResponseBody(Builder builder) {
this.logInfos = builder.logInfos;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeLogConfigResponseBody create() {
return builder().build();
}
/**
* @return logInfos
*/
public LogInfos getLogInfos() {
return this.logInfos;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private LogInfos logInfos;
private String requestId;
/**
* Info of the log config.
*/
public Builder logInfos(LogInfos logInfos) {
this.logInfos = logInfos;
return this;
}
/**
* The ID of the request.
*
* example:
* E3BC2706-ABDB-5B64-A12F-08DFD9E3F339
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeLogConfigResponseBody build() {
return new DescribeLogConfigResponseBody(this);
}
}
/**
*
* {@link DescribeLogConfigResponseBody} extends {@link TeaModel}
*
* DescribeLogConfigResponseBody
*/
public static class LogInfo extends TeaModel {
@com.aliyun.core.annotation.NameInMap("LogType")
private String logType;
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.NameInMap("SlsLogStore")
private String slsLogStore;
@com.aliyun.core.annotation.NameInMap("SlsProject")
private String slsProject;
private LogInfo(Builder builder) {
this.logType = builder.logType;
this.regionId = builder.regionId;
this.slsLogStore = builder.slsLogStore;
this.slsProject = builder.slsProject;
}
public static Builder builder() {
return new Builder();
}
public static LogInfo create() {
return builder().build();
}
/**
* @return logType
*/
public String getLogType() {
return this.logType;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return slsLogStore
*/
public String getSlsLogStore() {
return this.slsLogStore;
}
/**
* @return slsProject
*/
public String getSlsProject() {
return this.slsProject;
}
public static final class Builder {
private String logType;
private String regionId;
private String slsLogStore;
private String slsProject;
/**
* The log type.
*
* example:
* PROVIDER
*/
public Builder logType(String logType) {
this.logType = logType;
return this;
}
/**
* The region ID of the Logstore.
*
* example:
* cn-hangzhou
*/
public Builder regionId(String regionId) {
this.regionId = regionId;
return this;
}
/**
* The name of the Logstore in Log Service.
*
* example:
* slsstore
*/
public Builder slsLogStore(String slsLogStore) {
this.slsLogStore = slsLogStore;
return this;
}
/**
* The name of the Log Service project.
*
* example:
* slsproject
*/
public Builder slsProject(String slsProject) {
this.slsProject = slsProject;
return this;
}
public LogInfo build() {
return new LogInfo(this);
}
}
}
/**
*
* {@link DescribeLogConfigResponseBody} extends {@link TeaModel}
*
* DescribeLogConfigResponseBody
*/
public static class LogInfos extends TeaModel {
@com.aliyun.core.annotation.NameInMap("LogInfo")
private java.util.List logInfo;
private LogInfos(Builder builder) {
this.logInfo = builder.logInfo;
}
public static Builder builder() {
return new Builder();
}
public static LogInfos create() {
return builder().build();
}
/**
* @return logInfo
*/
public java.util.List getLogInfo() {
return this.logInfo;
}
public static final class Builder {
private java.util.List logInfo;
/**
* LogInfo.
*/
public Builder logInfo(java.util.List logInfo) {
this.logInfo = logInfo;
return this;
}
public LogInfos build() {
return new LogInfos(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy