com.aliyun.eventbridge.models.Config Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eventbridge-client Show documentation
Show all versions of eventbridge-client Show documentation
Alibaba Cloud eventbridge SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.eventbridge.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;
// region id
@NameInMap("regionId")
@Validation(pattern = "^[a-zA-Z0-9_-]+$")
public String regionId;
// read timeout
@NameInMap("readTimeout")
public Integer readTimeout;
// connect timeout
@NameInMap("connectTimeout")
public Integer connectTimeout;
// http proxy
@NameInMap("httpProxy")
public String httpProxy;
// https proxy
@NameInMap("httpsProxy")
public String httpsProxy;
// credential
@NameInMap("credential")
public com.aliyun.credentials.Client credential;
// endpoint
@NameInMap("endpoint")
public String endpoint;
// proxy white list
@NameInMap("noProxy")
public String noProxy;
// max idle conns
@NameInMap("maxIdleConns")
public Integer maxIdleConns;
public static Config build(java.util.Map map) {
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 setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public Config setReadTimeout(Integer readTimeout) {
this.readTimeout = readTimeout;
return this;
}
public Integer getReadTimeout() {
return this.readTimeout;
}
public Config setConnectTimeout(Integer connectTimeout) {
this.connectTimeout = connectTimeout;
return this;
}
public Integer 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 setCredential(com.aliyun.credentials.Client credential) {
this.credential = credential;
return this;
}
public com.aliyun.credentials.Client getCredential() {
return this.credential;
}
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(Integer maxIdleConns) {
this.maxIdleConns = maxIdleConns;
return this;
}
public Integer getMaxIdleConns() {
return this.maxIdleConns;
}
}