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

com.antgroup.antchain.openapi.riskplus.models.Config Maven / Gradle / Ivy

There is a newer version: 1.20.2
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.riskplus.models;

import com.aliyun.tea.*;

/**
 * Model for initing client
 */
public class Config extends TeaModel {
    /**
     * 

accesskey id

*/ @NameInMap("accessKeyId") public String accessKeyId; /** *

accesskey secret

*/ @NameInMap("accessKeySecret") public String accessKeySecret; /** *

security token

*/ @NameInMap("securityToken") public String securityToken; /** *

http protocol

*/ @NameInMap("protocol") public String protocol; /** *

read timeout

*/ @NameInMap("readTimeout") public Number readTimeout; /** *

connect timeout

*/ @NameInMap("connectTimeout") public Number connectTimeout; /** *

http proxy

*/ @NameInMap("httpProxy") public String httpProxy; /** *

https proxy

*/ @NameInMap("httpsProxy") public String httpsProxy; /** *

endpoint

*/ @NameInMap("endpoint") public String endpoint; /** *

proxy white list

*/ @NameInMap("noProxy") public String noProxy; /** *

max idle conns

*/ @NameInMap("maxIdleConns") public Number maxIdleConns; /** *

user agent

*/ @NameInMap("userAgent") public String userAgent; /** *

socks5 proxy

*/ @NameInMap("socks5Proxy") public String socks5Proxy; /** *

socks5 network

*/ @NameInMap("socks5NetWork") public String socks5NetWork; /** *

长链接最大空闲时长

*/ @NameInMap("maxIdleTimeMillis") public Number maxIdleTimeMillis; /** *

长链接最大连接时长

*/ @NameInMap("keepAliveDurationMillis") public Number keepAliveDurationMillis; /** *

最大连接数(长链接最大总数)

*/ @NameInMap("maxRequests") public Number maxRequests; /** *

每个目标主机的最大连接数(分主机域名的长链接最大总数

*/ @NameInMap("maxRequestsPerHost") public Number maxRequestsPerHost; public static Config build(java.util.Map map) throws Exception { Config self = new Config(); return TeaModel.build(map, self); } public Config setAccessKeyId(String accessKeyId) { this.accessKeyId = accessKeyId; return this; } public String getAccessKeyId() { return this.accessKeyId; } public Config setAccessKeySecret(String accessKeySecret) { this.accessKeySecret = accessKeySecret; return this; } public String getAccessKeySecret() { return this.accessKeySecret; } public Config setSecurityToken(String securityToken) { this.securityToken = securityToken; return this; } public String getSecurityToken() { return this.securityToken; } public Config setProtocol(String protocol) { this.protocol = protocol; return this; } public String getProtocol() { return this.protocol; } public Config setReadTimeout(Number readTimeout) { this.readTimeout = readTimeout; return this; } public Number getReadTimeout() { return this.readTimeout; } public Config setConnectTimeout(Number connectTimeout) { this.connectTimeout = connectTimeout; return this; } public Number getConnectTimeout() { return this.connectTimeout; } public Config setHttpProxy(String httpProxy) { this.httpProxy = httpProxy; return this; } public String getHttpProxy() { return this.httpProxy; } public Config setHttpsProxy(String httpsProxy) { this.httpsProxy = httpsProxy; return this; } public String getHttpsProxy() { return this.httpsProxy; } public Config setEndpoint(String endpoint) { this.endpoint = endpoint; return this; } public String getEndpoint() { return this.endpoint; } public Config setNoProxy(String noProxy) { this.noProxy = noProxy; return this; } public String getNoProxy() { return this.noProxy; } public Config setMaxIdleConns(Number maxIdleConns) { this.maxIdleConns = maxIdleConns; return this; } public Number getMaxIdleConns() { return this.maxIdleConns; } public Config setUserAgent(String userAgent) { this.userAgent = userAgent; return this; } public String getUserAgent() { return this.userAgent; } public Config setSocks5Proxy(String socks5Proxy) { this.socks5Proxy = socks5Proxy; return this; } public String getSocks5Proxy() { return this.socks5Proxy; } public Config setSocks5NetWork(String socks5NetWork) { this.socks5NetWork = socks5NetWork; return this; } public String getSocks5NetWork() { return this.socks5NetWork; } public Config setMaxIdleTimeMillis(Number maxIdleTimeMillis) { this.maxIdleTimeMillis = maxIdleTimeMillis; return this; } public Number getMaxIdleTimeMillis() { return this.maxIdleTimeMillis; } public Config setKeepAliveDurationMillis(Number keepAliveDurationMillis) { this.keepAliveDurationMillis = keepAliveDurationMillis; return this; } public Number getKeepAliveDurationMillis() { return this.keepAliveDurationMillis; } public Config setMaxRequests(Number maxRequests) { this.maxRequests = maxRequests; return this; } public Number getMaxRequests() { return this.maxRequests; } public Config setMaxRequestsPerHost(Number maxRequestsPerHost) { this.maxRequestsPerHost = maxRequestsPerHost; return this; } public Number getMaxRequestsPerHost() { return this.maxRequestsPerHost; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy