index
int64 | repo_id
string | file_path
string | content
string |
|---|---|---|---|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/AttachCommonBandwidthPackageToLoadBalancerRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class AttachCommonBandwidthPackageToLoadBalancerRequest extends RpcAcsRequest<AttachCommonBandwidthPackageToLoadBalancerResponse> {
private String clientToken;
private String bandwidthPackageId;
private Boolean dryRun;
private String loadBalancerId;
public AttachCommonBandwidthPackageToLoadBalancerRequest() {
super("Alb", "2020-06-16", "AttachCommonBandwidthPackageToLoadBalancer", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public String getBandwidthPackageId() {
return this.bandwidthPackageId;
}
public void setBandwidthPackageId(String bandwidthPackageId) {
this.bandwidthPackageId = bandwidthPackageId;
if(bandwidthPackageId != null){
putQueryParameter("BandwidthPackageId", bandwidthPackageId);
}
}
public Boolean getDryRun() {
return this.dryRun;
}
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("DryRun", dryRun.toString());
}
}
public String getLoadBalancerId() {
return this.loadBalancerId;
}
public void setLoadBalancerId(String loadBalancerId) {
this.loadBalancerId = loadBalancerId;
if(loadBalancerId != null){
putQueryParameter("LoadBalancerId", loadBalancerId);
}
}
@Override
public Class<AttachCommonBandwidthPackageToLoadBalancerResponse> getResponseClass() {
return AttachCommonBandwidthPackageToLoadBalancerResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/AttachCommonBandwidthPackageToLoadBalancerResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.AttachCommonBandwidthPackageToLoadBalancerResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class AttachCommonBandwidthPackageToLoadBalancerResponse extends AcsResponse {
private String requestId;
private String jobId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getJobId() {
return this.jobId;
}
public void setJobId(String jobId) {
this.jobId = jobId;
}
@Override
public AttachCommonBandwidthPackageToLoadBalancerResponse getInstance(UnmarshallerContext context) {
return AttachCommonBandwidthPackageToLoadBalancerResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/CancelShiftLoadBalancerZonesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class CancelShiftLoadBalancerZonesRequest extends RpcAcsRequest<CancelShiftLoadBalancerZonesResponse> {
private String clientToken;
private Boolean dryRun;
private List<ZoneMappings> zoneMappings;
private String loadBalancerId;
public CancelShiftLoadBalancerZonesRequest() {
super("Alb", "2020-06-16", "CancelShiftLoadBalancerZones", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public Boolean getDryRun() {
return this.dryRun;
}
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("DryRun", dryRun.toString());
}
}
public List<ZoneMappings> getZoneMappings() {
return this.zoneMappings;
}
public void setZoneMappings(List<ZoneMappings> zoneMappings) {
this.zoneMappings = zoneMappings;
if (zoneMappings != null) {
for (int depth1 = 0; depth1 < zoneMappings.size(); depth1++) {
if (zoneMappings.get(depth1) != null) {
putQueryParameter("ZoneMappings." + (depth1 + 1) + ".VSwitchId" , zoneMappings.get(depth1).getVSwitchId());
putQueryParameter("ZoneMappings." + (depth1 + 1) + ".ZoneId" , zoneMappings.get(depth1).getZoneId());
}
}
}
}
public String getLoadBalancerId() {
return this.loadBalancerId;
}
public void setLoadBalancerId(String loadBalancerId) {
this.loadBalancerId = loadBalancerId;
if(loadBalancerId != null){
putQueryParameter("LoadBalancerId", loadBalancerId);
}
}
public static class ZoneMappings {
private String vSwitchId;
private String zoneId;
public String getVSwitchId() {
return this.vSwitchId;
}
public void setVSwitchId(String vSwitchId) {
this.vSwitchId = vSwitchId;
}
public String getZoneId() {
return this.zoneId;
}
public void setZoneId(String zoneId) {
this.zoneId = zoneId;
}
}
@Override
public Class<CancelShiftLoadBalancerZonesResponse> getResponseClass() {
return CancelShiftLoadBalancerZonesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/CancelShiftLoadBalancerZonesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.CancelShiftLoadBalancerZonesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CancelShiftLoadBalancerZonesResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public CancelShiftLoadBalancerZonesResponse getInstance(UnmarshallerContext context) {
return CancelShiftLoadBalancerZonesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/CreateAScriptsRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class CreateAScriptsRequest extends RpcAcsRequest<CreateAScriptsResponse> {
private String clientToken;
private String listenerId;
private List<AScripts> aScripts;
private Boolean dryRun;
public CreateAScriptsRequest() {
super("Alb", "2020-06-16", "CreateAScripts", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public String getListenerId() {
return this.listenerId;
}
public void setListenerId(String listenerId) {
this.listenerId = listenerId;
if(listenerId != null){
putQueryParameter("ListenerId", listenerId);
}
}
public List<AScripts> getAScripts() {
return this.aScripts;
}
public void setAScripts(List<AScripts> aScripts) {
this.aScripts = aScripts;
if (aScripts != null) {
for (int depth1 = 0; depth1 < aScripts.size(); depth1++) {
if (aScripts.get(depth1) != null) {
putQueryParameter("AScripts." + (depth1 + 1) + ".AScriptName" , aScripts.get(depth1).getAScriptName());
putQueryParameter("AScripts." + (depth1 + 1) + ".ExtAttributeEnabled" , aScripts.get(depth1).getExtAttributeEnabled());
putQueryParameter("AScripts." + (depth1 + 1) + ".Position" , aScripts.get(depth1).getPosition());
putQueryParameter("AScripts." + (depth1 + 1) + ".ScriptContent" , aScripts.get(depth1).getScriptContent());
if (aScripts.get(depth1).getExtAttributes() != null) {
for (int depth2 = 0; depth2 < aScripts.get(depth1).getExtAttributes().size(); depth2++) {
if (aScripts.get(depth1).getExtAttributes().get(depth2) != null) {
putQueryParameter("AScripts." + (depth1 + 1) + ".ExtAttributes." + (depth2 + 1) + ".AttributeValue" , aScripts.get(depth1).getExtAttributes().get(depth2).getAttributeValue());
putQueryParameter("AScripts." + (depth1 + 1) + ".ExtAttributes." + (depth2 + 1) + ".AttributeKey" , aScripts.get(depth1).getExtAttributes().get(depth2).getAttributeKey());
}
}
}
putQueryParameter("AScripts." + (depth1 + 1) + ".Enabled" , aScripts.get(depth1).getEnabled());
}
}
}
}
public Boolean getDryRun() {
return this.dryRun;
}
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("DryRun", dryRun.toString());
}
}
public static class AScripts {
private String aScriptName;
private Boolean extAttributeEnabled;
private String position;
private String scriptContent;
private List<ExtAttributesItem> extAttributes;
private Boolean enabled;
public String getAScriptName() {
return this.aScriptName;
}
public void setAScriptName(String aScriptName) {
this.aScriptName = aScriptName;
}
public Boolean getExtAttributeEnabled() {
return this.extAttributeEnabled;
}
public void setExtAttributeEnabled(Boolean extAttributeEnabled) {
this.extAttributeEnabled = extAttributeEnabled;
}
public String getPosition() {
return this.position;
}
public void setPosition(String position) {
this.position = position;
}
public String getScriptContent() {
return this.scriptContent;
}
public void setScriptContent(String scriptContent) {
this.scriptContent = scriptContent;
}
public List<ExtAttributesItem> getExtAttributes() {
return this.extAttributes;
}
public void setExtAttributes(List<ExtAttributesItem> extAttributes) {
this.extAttributes = extAttributes;
}
public Boolean getEnabled() {
return this.enabled;
}
public void setEnabled(Boolean enabled) {
this.enabled = enabled;
}
public static class ExtAttributesItem {
private String attributeValue;
private String attributeKey;
public String getAttributeValue() {
return this.attributeValue;
}
public void setAttributeValue(String attributeValue) {
this.attributeValue = attributeValue;
}
public String getAttributeKey() {
return this.attributeKey;
}
public void setAttributeKey(String attributeKey) {
this.attributeKey = attributeKey;
}
}
}
@Override
public Class<CreateAScriptsResponse> getResponseClass() {
return CreateAScriptsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/CreateAScriptsResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.CreateAScriptsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateAScriptsResponse extends AcsResponse {
private String jobId;
private String requestId;
private List<AScriptId> aScriptIds;
public String getJobId() {
return this.jobId;
}
public void setJobId(String jobId) {
this.jobId = jobId;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<AScriptId> getAScriptIds() {
return this.aScriptIds;
}
public void setAScriptIds(List<AScriptId> aScriptIds) {
this.aScriptIds = aScriptIds;
}
public static class AScriptId {
private String aScriptId;
public String getAScriptId() {
return this.aScriptId;
}
public void setAScriptId(String aScriptId) {
this.aScriptId = aScriptId;
}
}
@Override
public CreateAScriptsResponse getInstance(UnmarshallerContext context) {
return CreateAScriptsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/CreateAclRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class CreateAclRequest extends RpcAcsRequest<CreateAclResponse> {
private String aclName;
private String clientToken;
private String resourceGroupId;
private List<Tag> tag;
private Boolean dryRun;
public CreateAclRequest() {
super("Alb", "2020-06-16", "CreateAcl", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getAclName() {
return this.aclName;
}
public void setAclName(String aclName) {
this.aclName = aclName;
if(aclName != null){
putQueryParameter("AclName", aclName);
}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public void setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
if(resourceGroupId != null){
putQueryParameter("ResourceGroupId", resourceGroupId);
}
}
public List<Tag> getTag() {
return this.tag;
}
public void setTag(List<Tag> tag) {
this.tag = tag;
if (tag != null) {
for (int depth1 = 0; depth1 < tag.size(); depth1++) {
if (tag.get(depth1) != null) {
putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tag.get(depth1).getValue());
putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tag.get(depth1).getKey());
}
}
}
}
public Boolean getDryRun() {
return this.dryRun;
}
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("DryRun", dryRun.toString());
}
}
public static class Tag {
private String value;
private String key;
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
@Override
public Class<CreateAclResponse> getResponseClass() {
return CreateAclResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/CreateAclResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.CreateAclResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateAclResponse extends AcsResponse {
private String aclId;
private String jobId;
private String requestId;
public String getAclId() {
return this.aclId;
}
public void setAclId(String aclId) {
this.aclId = aclId;
}
public String getJobId() {
return this.jobId;
}
public void setJobId(String jobId) {
this.jobId = jobId;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public CreateAclResponse getInstance(UnmarshallerContext context) {
return CreateAclResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/CreateHealthCheckTemplateRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class CreateHealthCheckTemplateRequest extends RpcAcsRequest<CreateHealthCheckTemplateResponse> {
private Integer healthCheckTimeout;
private String clientToken;
private String healthCheckProtocol;
private Integer unhealthyThreshold;
private Integer healthyThreshold;
private String healthCheckPath;
private List<Tag> tag;
private List<String> healthCheckCodes;
private Boolean dryRun;
private String healthCheckMethod;
private String healthCheckHost;
private Integer healthCheckInterval;
private String healthCheckTemplateName;
private String healthCheckHttpVersion;
private Integer healthCheckConnectPort;
public CreateHealthCheckTemplateRequest() {
super("Alb", "2020-06-16", "CreateHealthCheckTemplate", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Integer getHealthCheckTimeout() {
return this.healthCheckTimeout;
}
public void setHealthCheckTimeout(Integer healthCheckTimeout) {
this.healthCheckTimeout = healthCheckTimeout;
if(healthCheckTimeout != null){
putQueryParameter("HealthCheckTimeout", healthCheckTimeout.toString());
}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public String getHealthCheckProtocol() {
return this.healthCheckProtocol;
}
public void setHealthCheckProtocol(String healthCheckProtocol) {
this.healthCheckProtocol = healthCheckProtocol;
if(healthCheckProtocol != null){
putQueryParameter("HealthCheckProtocol", healthCheckProtocol);
}
}
public Integer getUnhealthyThreshold() {
return this.unhealthyThreshold;
}
public void setUnhealthyThreshold(Integer unhealthyThreshold) {
this.unhealthyThreshold = unhealthyThreshold;
if(unhealthyThreshold != null){
putQueryParameter("UnhealthyThreshold", unhealthyThreshold.toString());
}
}
public Integer getHealthyThreshold() {
return this.healthyThreshold;
}
public void setHealthyThreshold(Integer healthyThreshold) {
this.healthyThreshold = healthyThreshold;
if(healthyThreshold != null){
putQueryParameter("HealthyThreshold", healthyThreshold.toString());
}
}
public String getHealthCheckPath() {
return this.healthCheckPath;
}
public void setHealthCheckPath(String healthCheckPath) {
this.healthCheckPath = healthCheckPath;
if(healthCheckPath != null){
putQueryParameter("HealthCheckPath", healthCheckPath);
}
}
public List<Tag> getTag() {
return this.tag;
}
public void setTag(List<Tag> tag) {
this.tag = tag;
if (tag != null) {
for (int depth1 = 0; depth1 < tag.size(); depth1++) {
if (tag.get(depth1) != null) {
putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tag.get(depth1).getValue());
putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tag.get(depth1).getKey());
}
}
}
}
public List<String> getHealthCheckCodes() {
return this.healthCheckCodes;
}
public void setHealthCheckCodes(List<String> healthCheckCodes) {
this.healthCheckCodes = healthCheckCodes;
if (healthCheckCodes != null) {
for (int depth1 = 0; depth1 < healthCheckCodes.size(); depth1++) {
putQueryParameter("HealthCheckCodes." + (depth1 + 1) , healthCheckCodes.get(depth1));
}
}
}
public Boolean getDryRun() {
return this.dryRun;
}
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("DryRun", dryRun.toString());
}
}
public String getHealthCheckMethod() {
return this.healthCheckMethod;
}
public void setHealthCheckMethod(String healthCheckMethod) {
this.healthCheckMethod = healthCheckMethod;
if(healthCheckMethod != null){
putQueryParameter("HealthCheckMethod", healthCheckMethod);
}
}
public String getHealthCheckHost() {
return this.healthCheckHost;
}
public void setHealthCheckHost(String healthCheckHost) {
this.healthCheckHost = healthCheckHost;
if(healthCheckHost != null){
putQueryParameter("HealthCheckHost", healthCheckHost);
}
}
public Integer getHealthCheckInterval() {
return this.healthCheckInterval;
}
public void setHealthCheckInterval(Integer healthCheckInterval) {
this.healthCheckInterval = healthCheckInterval;
if(healthCheckInterval != null){
putQueryParameter("HealthCheckInterval", healthCheckInterval.toString());
}
}
public String getHealthCheckTemplateName() {
return this.healthCheckTemplateName;
}
public void setHealthCheckTemplateName(String healthCheckTemplateName) {
this.healthCheckTemplateName = healthCheckTemplateName;
if(healthCheckTemplateName != null){
putQueryParameter("HealthCheckTemplateName", healthCheckTemplateName);
}
}
public String getHealthCheckHttpVersion() {
return this.healthCheckHttpVersion;
}
public void setHealthCheckHttpVersion(String healthCheckHttpVersion) {
this.healthCheckHttpVersion = healthCheckHttpVersion;
if(healthCheckHttpVersion != null){
putQueryParameter("HealthCheckHttpVersion", healthCheckHttpVersion);
}
}
public Integer getHealthCheckConnectPort() {
return this.healthCheckConnectPort;
}
public void setHealthCheckConnectPort(Integer healthCheckConnectPort) {
this.healthCheckConnectPort = healthCheckConnectPort;
if(healthCheckConnectPort != null){
putQueryParameter("HealthCheckConnectPort", healthCheckConnectPort.toString());
}
}
public static class Tag {
private String value;
private String key;
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
@Override
public Class<CreateHealthCheckTemplateResponse> getResponseClass() {
return CreateHealthCheckTemplateResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/CreateHealthCheckTemplateResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.CreateHealthCheckTemplateResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateHealthCheckTemplateResponse extends AcsResponse {
private String healthCheckTemplateId;
private String requestId;
public String getHealthCheckTemplateId() {
return this.healthCheckTemplateId;
}
public void setHealthCheckTemplateId(String healthCheckTemplateId) {
this.healthCheckTemplateId = healthCheckTemplateId;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public CreateHealthCheckTemplateResponse getInstance(UnmarshallerContext context) {
return CreateHealthCheckTemplateResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/CreateListenerRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class CreateListenerRequest extends RpcAcsRequest<CreateListenerResponse> {
private String clientToken;
private Boolean gzipEnabled;
private QuicConfig quicConfig;
private Boolean http2Enabled;
private List<Tag> tag;
private List<DefaultActions> defaultActions;
private Integer listenerPort;
private Boolean dryRun;
private Integer requestTimeout;
private List<CaCertificates> caCertificates;
private XForwardedForConfig xForwardedForConfig;
private String listenerProtocol;
private String securityPolicyId;
private Integer idleTimeout;
private String loadBalancerId;
private List<Certificates> certificates;
private String listenerDescription;
private Boolean caEnabled;
public CreateListenerRequest() {
super("Alb", "2020-06-16", "CreateListener", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public Boolean getGzipEnabled() {
return this.gzipEnabled;
}
public void setGzipEnabled(Boolean gzipEnabled) {
this.gzipEnabled = gzipEnabled;
if(gzipEnabled != null){
putQueryParameter("GzipEnabled", gzipEnabled.toString());
}
}
public QuicConfig getQuicConfig() {
return this.quicConfig;
}
public void setQuicConfig(QuicConfig quicConfig) {
this.quicConfig = quicConfig;
if (quicConfig != null) {
putQueryParameter("QuicConfig.QuicUpgradeEnabled" , quicConfig.getQuicUpgradeEnabled());
putQueryParameter("QuicConfig.QuicListenerId" , quicConfig.getQuicListenerId());
}
}
public Boolean getHttp2Enabled() {
return this.http2Enabled;
}
public void setHttp2Enabled(Boolean http2Enabled) {
this.http2Enabled = http2Enabled;
if(http2Enabled != null){
putQueryParameter("Http2Enabled", http2Enabled.toString());
}
}
public List<Tag> getTag() {
return this.tag;
}
public void setTag(List<Tag> tag) {
this.tag = tag;
if (tag != null) {
for (int depth1 = 0; depth1 < tag.size(); depth1++) {
if (tag.get(depth1) != null) {
putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tag.get(depth1).getValue());
putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tag.get(depth1).getKey());
}
}
}
}
public List<DefaultActions> getDefaultActions() {
return this.defaultActions;
}
public void setDefaultActions(List<DefaultActions> defaultActions) {
this.defaultActions = defaultActions;
if (defaultActions != null) {
for (int depth1 = 0; depth1 < defaultActions.size(); depth1++) {
if (defaultActions.get(depth1) != null) {
if (defaultActions.get(depth1).getForwardGroupConfig() != null) {
if (defaultActions.get(depth1).getForwardGroupConfig().getServerGroupTuples() != null) {
for (int depth2 = 0; depth2 < defaultActions.get(depth1).getForwardGroupConfig().getServerGroupTuples().size(); depth2++) {
if (defaultActions.get(depth1).getForwardGroupConfig().getServerGroupTuples().get(depth2) != null) {
putQueryParameter("DefaultActions." + (depth1 + 1) + ".ForwardGroupConfig.ServerGroupTuples." + (depth2 + 1) + ".ServerGroupId" , defaultActions.get(depth1).getForwardGroupConfig().getServerGroupTuples().get(depth2).getServerGroupId());
}
}
}
}
putQueryParameter("DefaultActions." + (depth1 + 1) + ".Type" , defaultActions.get(depth1).getType());
}
}
}
}
public Integer getListenerPort() {
return this.listenerPort;
}
public void setListenerPort(Integer listenerPort) {
this.listenerPort = listenerPort;
if(listenerPort != null){
putQueryParameter("ListenerPort", listenerPort.toString());
}
}
public Boolean getDryRun() {
return this.dryRun;
}
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("DryRun", dryRun.toString());
}
}
public Integer getRequestTimeout() {
return this.requestTimeout;
}
public void setRequestTimeout(Integer requestTimeout) {
this.requestTimeout = requestTimeout;
if(requestTimeout != null){
putQueryParameter("RequestTimeout", requestTimeout.toString());
}
}
public List<CaCertificates> getCaCertificates() {
return this.caCertificates;
}
public void setCaCertificates(List<CaCertificates> caCertificates) {
this.caCertificates = caCertificates;
if (caCertificates != null) {
for (int depth1 = 0; depth1 < caCertificates.size(); depth1++) {
if (caCertificates.get(depth1) != null) {
putQueryParameter("CaCertificates." + (depth1 + 1) + ".CertificateId" , caCertificates.get(depth1).getCertificateId());
}
}
}
}
public XForwardedForConfig getXForwardedForConfig() {
return this.xForwardedForConfig;
}
public void setXForwardedForConfig(XForwardedForConfig xForwardedForConfig) {
this.xForwardedForConfig = xForwardedForConfig;
if (xForwardedForConfig != null) {
putQueryParameter("XForwardedForConfig.XForwardedForClientSourceIpsTrusted" , xForwardedForConfig.getXForwardedForClientSourceIpsTrusted());
putQueryParameter("XForwardedForConfig.XForwardedForClientCertSubjectDNAlias" , xForwardedForConfig.getXForwardedForClientCertSubjectDNAlias());
putQueryParameter("XForwardedForConfig.XForwardedForClientSourceIpsEnabled" , xForwardedForConfig.getXForwardedForClientSourceIpsEnabled());
putQueryParameter("XForwardedForConfig.XForwardedForClientCertIssuerDNEnabled" , xForwardedForConfig.getXForwardedForClientCertIssuerDNEnabled());
putQueryParameter("XForwardedForConfig.XForwardedForHostEnabled" , xForwardedForConfig.getXForwardedForHostEnabled());
putQueryParameter("XForwardedForConfig.XForwardedForProcessingMode" , xForwardedForConfig.getXForwardedForProcessingMode());
putQueryParameter("XForwardedForConfig.XForwardedForClientCertFingerprintEnabled" , xForwardedForConfig.getXForwardedForClientCertFingerprintEnabled());
putQueryParameter("XForwardedForConfig.XForwardedForClientCertIssuerDNAlias" , xForwardedForConfig.getXForwardedForClientCertIssuerDNAlias());
putQueryParameter("XForwardedForConfig.XForwardedForProtoEnabled" , xForwardedForConfig.getXForwardedForProtoEnabled());
putQueryParameter("XForwardedForConfig.XForwardedForClientCertFingerprintAlias" , xForwardedForConfig.getXForwardedForClientCertFingerprintAlias());
putQueryParameter("XForwardedForConfig.XForwardedForClientCertClientVerifyEnabled" , xForwardedForConfig.getXForwardedForClientCertClientVerifyEnabled());
putQueryParameter("XForwardedForConfig.XForwardedForSLBPortEnabled" , xForwardedForConfig.getXForwardedForSLBPortEnabled());
putQueryParameter("XForwardedForConfig.XForwardedForClientCertSubjectDNEnabled" , xForwardedForConfig.getXForwardedForClientCertSubjectDNEnabled());
putQueryParameter("XForwardedForConfig.XForwardedForClientCertClientVerifyAlias" , xForwardedForConfig.getXForwardedForClientCertClientVerifyAlias());
putQueryParameter("XForwardedForConfig.XForwardedForClientSrcPortEnabled" , xForwardedForConfig.getXForwardedForClientSrcPortEnabled());
putQueryParameter("XForwardedForConfig.XForwardedForEnabled" , xForwardedForConfig.getXForwardedForEnabled());
putQueryParameter("XForwardedForConfig.XForwardedForSLBIdEnabled" , xForwardedForConfig.getXForwardedForSLBIdEnabled());
}
}
public String getListenerProtocol() {
return this.listenerProtocol;
}
public void setListenerProtocol(String listenerProtocol) {
this.listenerProtocol = listenerProtocol;
if(listenerProtocol != null){
putQueryParameter("ListenerProtocol", listenerProtocol);
}
}
public String getSecurityPolicyId() {
return this.securityPolicyId;
}
public void setSecurityPolicyId(String securityPolicyId) {
this.securityPolicyId = securityPolicyId;
if(securityPolicyId != null){
putQueryParameter("SecurityPolicyId", securityPolicyId);
}
}
public Integer getIdleTimeout() {
return this.idleTimeout;
}
public void setIdleTimeout(Integer idleTimeout) {
this.idleTimeout = idleTimeout;
if(idleTimeout != null){
putQueryParameter("IdleTimeout", idleTimeout.toString());
}
}
public String getLoadBalancerId() {
return this.loadBalancerId;
}
public void setLoadBalancerId(String loadBalancerId) {
this.loadBalancerId = loadBalancerId;
if(loadBalancerId != null){
putQueryParameter("LoadBalancerId", loadBalancerId);
}
}
public List<Certificates> getCertificates() {
return this.certificates;
}
public void setCertificates(List<Certificates> certificates) {
this.certificates = certificates;
if (certificates != null) {
for (int depth1 = 0; depth1 < certificates.size(); depth1++) {
if (certificates.get(depth1) != null) {
putQueryParameter("Certificates." + (depth1 + 1) + ".CertificateId" , certificates.get(depth1).getCertificateId());
}
}
}
}
public String getListenerDescription() {
return this.listenerDescription;
}
public void setListenerDescription(String listenerDescription) {
this.listenerDescription = listenerDescription;
if(listenerDescription != null){
putQueryParameter("ListenerDescription", listenerDescription);
}
}
public Boolean getCaEnabled() {
return this.caEnabled;
}
public void setCaEnabled(Boolean caEnabled) {
this.caEnabled = caEnabled;
if(caEnabled != null){
putQueryParameter("CaEnabled", caEnabled.toString());
}
}
public static class QuicConfig {
private Boolean quicUpgradeEnabled;
private String quicListenerId;
public Boolean getQuicUpgradeEnabled() {
return this.quicUpgradeEnabled;
}
public void setQuicUpgradeEnabled(Boolean quicUpgradeEnabled) {
this.quicUpgradeEnabled = quicUpgradeEnabled;
}
public String getQuicListenerId() {
return this.quicListenerId;
}
public void setQuicListenerId(String quicListenerId) {
this.quicListenerId = quicListenerId;
}
}
public static class Tag {
private String value;
private String key;
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
public static class DefaultActions {
private ForwardGroupConfig forwardGroupConfig;
private String type;
public ForwardGroupConfig getForwardGroupConfig() {
return this.forwardGroupConfig;
}
public void setForwardGroupConfig(ForwardGroupConfig forwardGroupConfig) {
this.forwardGroupConfig = forwardGroupConfig;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public static class ForwardGroupConfig {
private List<ServerGroupTuplesItem> serverGroupTuples;
public List<ServerGroupTuplesItem> getServerGroupTuples() {
return this.serverGroupTuples;
}
public void setServerGroupTuples(List<ServerGroupTuplesItem> serverGroupTuples) {
this.serverGroupTuples = serverGroupTuples;
}
public static class ServerGroupTuplesItem {
private String serverGroupId;
public String getServerGroupId() {
return this.serverGroupId;
}
public void setServerGroupId(String serverGroupId) {
this.serverGroupId = serverGroupId;
}
}
}
}
public static class CaCertificates {
private String certificateId;
public String getCertificateId() {
return this.certificateId;
}
public void setCertificateId(String certificateId) {
this.certificateId = certificateId;
}
}
public static class XForwardedForConfig {
private String xForwardedForClientSourceIpsTrusted;
private String xForwardedForClientCertSubjectDNAlias;
private Boolean xForwardedForClientSourceIpsEnabled;
private Boolean xForwardedForClientCertIssuerDNEnabled;
private Boolean xForwardedForHostEnabled;
private String xForwardedForProcessingMode;
private Boolean xForwardedForClientCertFingerprintEnabled;
private String xForwardedForClientCertIssuerDNAlias;
private Boolean xForwardedForProtoEnabled;
private String xForwardedForClientCertFingerprintAlias;
private Boolean xForwardedForClientCertClientVerifyEnabled;
private Boolean xForwardedForSLBPortEnabled;
private Boolean xForwardedForClientCertSubjectDNEnabled;
private String xForwardedForClientCertClientVerifyAlias;
private Boolean xForwardedForClientSrcPortEnabled;
private Boolean xForwardedForEnabled;
private Boolean xForwardedForSLBIdEnabled;
public String getXForwardedForClientSourceIpsTrusted() {
return this.xForwardedForClientSourceIpsTrusted;
}
public void setXForwardedForClientSourceIpsTrusted(String xForwardedForClientSourceIpsTrusted) {
this.xForwardedForClientSourceIpsTrusted = xForwardedForClientSourceIpsTrusted;
}
public String getXForwardedForClientCertSubjectDNAlias() {
return this.xForwardedForClientCertSubjectDNAlias;
}
public void setXForwardedForClientCertSubjectDNAlias(String xForwardedForClientCertSubjectDNAlias) {
this.xForwardedForClientCertSubjectDNAlias = xForwardedForClientCertSubjectDNAlias;
}
public Boolean getXForwardedForClientSourceIpsEnabled() {
return this.xForwardedForClientSourceIpsEnabled;
}
public void setXForwardedForClientSourceIpsEnabled(Boolean xForwardedForClientSourceIpsEnabled) {
this.xForwardedForClientSourceIpsEnabled = xForwardedForClientSourceIpsEnabled;
}
public Boolean getXForwardedForClientCertIssuerDNEnabled() {
return this.xForwardedForClientCertIssuerDNEnabled;
}
public void setXForwardedForClientCertIssuerDNEnabled(Boolean xForwardedForClientCertIssuerDNEnabled) {
this.xForwardedForClientCertIssuerDNEnabled = xForwardedForClientCertIssuerDNEnabled;
}
public Boolean getXForwardedForHostEnabled() {
return this.xForwardedForHostEnabled;
}
public void setXForwardedForHostEnabled(Boolean xForwardedForHostEnabled) {
this.xForwardedForHostEnabled = xForwardedForHostEnabled;
}
public String getXForwardedForProcessingMode() {
return this.xForwardedForProcessingMode;
}
public void setXForwardedForProcessingMode(String xForwardedForProcessingMode) {
this.xForwardedForProcessingMode = xForwardedForProcessingMode;
}
public Boolean getXForwardedForClientCertFingerprintEnabled() {
return this.xForwardedForClientCertFingerprintEnabled;
}
public void setXForwardedForClientCertFingerprintEnabled(Boolean xForwardedForClientCertFingerprintEnabled) {
this.xForwardedForClientCertFingerprintEnabled = xForwardedForClientCertFingerprintEnabled;
}
public String getXForwardedForClientCertIssuerDNAlias() {
return this.xForwardedForClientCertIssuerDNAlias;
}
public void setXForwardedForClientCertIssuerDNAlias(String xForwardedForClientCertIssuerDNAlias) {
this.xForwardedForClientCertIssuerDNAlias = xForwardedForClientCertIssuerDNAlias;
}
public Boolean getXForwardedForProtoEnabled() {
return this.xForwardedForProtoEnabled;
}
public void setXForwardedForProtoEnabled(Boolean xForwardedForProtoEnabled) {
this.xForwardedForProtoEnabled = xForwardedForProtoEnabled;
}
public String getXForwardedForClientCertFingerprintAlias() {
return this.xForwardedForClientCertFingerprintAlias;
}
public void setXForwardedForClientCertFingerprintAlias(String xForwardedForClientCertFingerprintAlias) {
this.xForwardedForClientCertFingerprintAlias = xForwardedForClientCertFingerprintAlias;
}
public Boolean getXForwardedForClientCertClientVerifyEnabled() {
return this.xForwardedForClientCertClientVerifyEnabled;
}
public void setXForwardedForClientCertClientVerifyEnabled(Boolean xForwardedForClientCertClientVerifyEnabled) {
this.xForwardedForClientCertClientVerifyEnabled = xForwardedForClientCertClientVerifyEnabled;
}
public Boolean getXForwardedForSLBPortEnabled() {
return this.xForwardedForSLBPortEnabled;
}
public void setXForwardedForSLBPortEnabled(Boolean xForwardedForSLBPortEnabled) {
this.xForwardedForSLBPortEnabled = xForwardedForSLBPortEnabled;
}
public Boolean getXForwardedForClientCertSubjectDNEnabled() {
return this.xForwardedForClientCertSubjectDNEnabled;
}
public void setXForwardedForClientCertSubjectDNEnabled(Boolean xForwardedForClientCertSubjectDNEnabled) {
this.xForwardedForClientCertSubjectDNEnabled = xForwardedForClientCertSubjectDNEnabled;
}
public String getXForwardedForClientCertClientVerifyAlias() {
return this.xForwardedForClientCertClientVerifyAlias;
}
public void setXForwardedForClientCertClientVerifyAlias(String xForwardedForClientCertClientVerifyAlias) {
this.xForwardedForClientCertClientVerifyAlias = xForwardedForClientCertClientVerifyAlias;
}
public Boolean getXForwardedForClientSrcPortEnabled() {
return this.xForwardedForClientSrcPortEnabled;
}
public void setXForwardedForClientSrcPortEnabled(Boolean xForwardedForClientSrcPortEnabled) {
this.xForwardedForClientSrcPortEnabled = xForwardedForClientSrcPortEnabled;
}
public Boolean getXForwardedForEnabled() {
return this.xForwardedForEnabled;
}
public void setXForwardedForEnabled(Boolean xForwardedForEnabled) {
this.xForwardedForEnabled = xForwardedForEnabled;
}
public Boolean getXForwardedForSLBIdEnabled() {
return this.xForwardedForSLBIdEnabled;
}
public void setXForwardedForSLBIdEnabled(Boolean xForwardedForSLBIdEnabled) {
this.xForwardedForSLBIdEnabled = xForwardedForSLBIdEnabled;
}
}
public static class Certificates {
private String certificateId;
public String getCertificateId() {
return this.certificateId;
}
public void setCertificateId(String certificateId) {
this.certificateId = certificateId;
}
}
@Override
public Class<CreateListenerResponse> getResponseClass() {
return CreateListenerResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/CreateListenerResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.CreateListenerResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateListenerResponse extends AcsResponse {
private String jobId;
private String listenerId;
private String requestId;
public String getJobId() {
return this.jobId;
}
public void setJobId(String jobId) {
this.jobId = jobId;
}
public String getListenerId() {
return this.listenerId;
}
public void setListenerId(String listenerId) {
this.listenerId = listenerId;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public CreateListenerResponse getInstance(UnmarshallerContext context) {
return CreateListenerResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/CreateLoadBalancerRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class CreateLoadBalancerRequest extends RpcAcsRequest<CreateLoadBalancerResponse> {
private String loadBalancerEdition;
private String clientToken;
private ModificationProtectionConfig modificationProtectionConfig;
private LoadBalancerBillingConfig loadBalancerBillingConfig;
private String addressIpVersion;
private Boolean deletionProtectionEnabled;
private String resourceGroupId;
private String loadBalancerName;
private String addressType;
private List<Tag> tag;
private String addressAllocatedMode;
private Boolean dryRun;
private List<ZoneMappings> zoneMappings;
private String vpcId;
public CreateLoadBalancerRequest() {
super("Alb", "2020-06-16", "CreateLoadBalancer", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getLoadBalancerEdition() {
return this.loadBalancerEdition;
}
public void setLoadBalancerEdition(String loadBalancerEdition) {
this.loadBalancerEdition = loadBalancerEdition;
if(loadBalancerEdition != null){
putQueryParameter("LoadBalancerEdition", loadBalancerEdition);
}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public ModificationProtectionConfig getModificationProtectionConfig() {
return this.modificationProtectionConfig;
}
public void setModificationProtectionConfig(ModificationProtectionConfig modificationProtectionConfig) {
this.modificationProtectionConfig = modificationProtectionConfig;
if (modificationProtectionConfig != null) {
putQueryParameter("ModificationProtectionConfig.Reason" , modificationProtectionConfig.getReason());
putQueryParameter("ModificationProtectionConfig.Status" , modificationProtectionConfig.getStatus());
}
}
public LoadBalancerBillingConfig getLoadBalancerBillingConfig() {
return this.loadBalancerBillingConfig;
}
public void setLoadBalancerBillingConfig(LoadBalancerBillingConfig loadBalancerBillingConfig) {
this.loadBalancerBillingConfig = loadBalancerBillingConfig;
if (loadBalancerBillingConfig != null) {
putQueryParameter("LoadBalancerBillingConfig.BandwidthPackageId" , loadBalancerBillingConfig.getBandwidthPackageId());
putQueryParameter("LoadBalancerBillingConfig.InternetChargeType" , loadBalancerBillingConfig.getInternetChargeType());
putQueryParameter("LoadBalancerBillingConfig.InternetBandwidth" , loadBalancerBillingConfig.getInternetBandwidth());
putQueryParameter("LoadBalancerBillingConfig.PayType" , loadBalancerBillingConfig.getPayType());
}
}
public String getAddressIpVersion() {
return this.addressIpVersion;
}
public void setAddressIpVersion(String addressIpVersion) {
this.addressIpVersion = addressIpVersion;
if(addressIpVersion != null){
putQueryParameter("AddressIpVersion", addressIpVersion);
}
}
public Boolean getDeletionProtectionEnabled() {
return this.deletionProtectionEnabled;
}
public void setDeletionProtectionEnabled(Boolean deletionProtectionEnabled) {
this.deletionProtectionEnabled = deletionProtectionEnabled;
if(deletionProtectionEnabled != null){
putQueryParameter("DeletionProtectionEnabled", deletionProtectionEnabled.toString());
}
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public void setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
if(resourceGroupId != null){
putQueryParameter("ResourceGroupId", resourceGroupId);
}
}
public String getLoadBalancerName() {
return this.loadBalancerName;
}
public void setLoadBalancerName(String loadBalancerName) {
this.loadBalancerName = loadBalancerName;
if(loadBalancerName != null){
putQueryParameter("LoadBalancerName", loadBalancerName);
}
}
public String getAddressType() {
return this.addressType;
}
public void setAddressType(String addressType) {
this.addressType = addressType;
if(addressType != null){
putQueryParameter("AddressType", addressType);
}
}
public List<Tag> getTag() {
return this.tag;
}
public void setTag(List<Tag> tag) {
this.tag = tag;
if (tag != null) {
for (int depth1 = 0; depth1 < tag.size(); depth1++) {
if (tag.get(depth1) != null) {
putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tag.get(depth1).getValue());
putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tag.get(depth1).getKey());
}
}
}
}
public String getAddressAllocatedMode() {
return this.addressAllocatedMode;
}
public void setAddressAllocatedMode(String addressAllocatedMode) {
this.addressAllocatedMode = addressAllocatedMode;
if(addressAllocatedMode != null){
putQueryParameter("AddressAllocatedMode", addressAllocatedMode);
}
}
public Boolean getDryRun() {
return this.dryRun;
}
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("DryRun", dryRun.toString());
}
}
public List<ZoneMappings> getZoneMappings() {
return this.zoneMappings;
}
public void setZoneMappings(List<ZoneMappings> zoneMappings) {
this.zoneMappings = zoneMappings;
if (zoneMappings != null) {
for (int depth1 = 0; depth1 < zoneMappings.size(); depth1++) {
if (zoneMappings.get(depth1) != null) {
putQueryParameter("ZoneMappings." + (depth1 + 1) + ".VSwitchId" , zoneMappings.get(depth1).getVSwitchId());
putQueryParameter("ZoneMappings." + (depth1 + 1) + ".EipType" , zoneMappings.get(depth1).getEipType());
putQueryParameter("ZoneMappings." + (depth1 + 1) + ".ZoneId" , zoneMappings.get(depth1).getZoneId());
putQueryParameter("ZoneMappings." + (depth1 + 1) + ".AllocationId" , zoneMappings.get(depth1).getAllocationId());
putQueryParameter("ZoneMappings." + (depth1 + 1) + ".IntranetAddress" , zoneMappings.get(depth1).getIntranetAddress());
}
}
}
}
public String getVpcId() {
return this.vpcId;
}
public void setVpcId(String vpcId) {
this.vpcId = vpcId;
if(vpcId != null){
putQueryParameter("VpcId", vpcId);
}
}
public static class ModificationProtectionConfig {
private String reason;
private String status;
public String getReason() {
return this.reason;
}
public void setReason(String reason) {
this.reason = reason;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
}
public static class LoadBalancerBillingConfig {
private String bandwidthPackageId;
private String internetChargeType;
private Integer internetBandwidth;
private String payType;
public String getBandwidthPackageId() {
return this.bandwidthPackageId;
}
public void setBandwidthPackageId(String bandwidthPackageId) {
this.bandwidthPackageId = bandwidthPackageId;
}
public String getInternetChargeType() {
return this.internetChargeType;
}
public void setInternetChargeType(String internetChargeType) {
this.internetChargeType = internetChargeType;
}
public Integer getInternetBandwidth() {
return this.internetBandwidth;
}
public void setInternetBandwidth(Integer internetBandwidth) {
this.internetBandwidth = internetBandwidth;
}
public String getPayType() {
return this.payType;
}
public void setPayType(String payType) {
this.payType = payType;
}
}
public static class Tag {
private String value;
private String key;
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
public static class ZoneMappings {
private String vSwitchId;
private String eipType;
private String zoneId;
private String allocationId;
private String intranetAddress;
public String getVSwitchId() {
return this.vSwitchId;
}
public void setVSwitchId(String vSwitchId) {
this.vSwitchId = vSwitchId;
}
public String getEipType() {
return this.eipType;
}
public void setEipType(String eipType) {
this.eipType = eipType;
}
public String getZoneId() {
return this.zoneId;
}
public void setZoneId(String zoneId) {
this.zoneId = zoneId;
}
public String getAllocationId() {
return this.allocationId;
}
public void setAllocationId(String allocationId) {
this.allocationId = allocationId;
}
public String getIntranetAddress() {
return this.intranetAddress;
}
public void setIntranetAddress(String intranetAddress) {
this.intranetAddress = intranetAddress;
}
}
@Override
public Class<CreateLoadBalancerResponse> getResponseClass() {
return CreateLoadBalancerResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/CreateLoadBalancerResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.CreateLoadBalancerResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateLoadBalancerResponse extends AcsResponse {
private String loadBalancerId;
private String requestId;
public String getLoadBalancerId() {
return this.loadBalancerId;
}
public void setLoadBalancerId(String loadBalancerId) {
this.loadBalancerId = loadBalancerId;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public CreateLoadBalancerResponse getInstance(UnmarshallerContext context) {
return CreateLoadBalancerResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/CreateRuleRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class CreateRuleRequest extends RpcAcsRequest<CreateRuleResponse> {
private String clientToken;
private String ruleName;
private String listenerId;
private List<Tag> tag;
private String direction;
private List<RuleActions> ruleActions;
private List<RuleConditions> ruleConditions;
private Boolean dryRun;
private Integer priority;
public CreateRuleRequest() {
super("Alb", "2020-06-16", "CreateRule", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public String getRuleName() {
return this.ruleName;
}
public void setRuleName(String ruleName) {
this.ruleName = ruleName;
if(ruleName != null){
putQueryParameter("RuleName", ruleName);
}
}
public String getListenerId() {
return this.listenerId;
}
public void setListenerId(String listenerId) {
this.listenerId = listenerId;
if(listenerId != null){
putQueryParameter("ListenerId", listenerId);
}
}
public List<Tag> getTag() {
return this.tag;
}
public void setTag(List<Tag> tag) {
this.tag = tag;
if (tag != null) {
for (int depth1 = 0; depth1 < tag.size(); depth1++) {
if (tag.get(depth1) != null) {
putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tag.get(depth1).getValue());
putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tag.get(depth1).getKey());
}
}
}
}
public String getDirection() {
return this.direction;
}
public void setDirection(String direction) {
this.direction = direction;
if(direction != null){
putQueryParameter("Direction", direction);
}
}
public List<RuleActions> getRuleActions() {
return this.ruleActions;
}
public void setRuleActions(List<RuleActions> ruleActions) {
this.ruleActions = ruleActions;
if (ruleActions != null) {
for (int depth1 = 0; depth1 < ruleActions.size(); depth1++) {
if (ruleActions.get(depth1) != null) {
if (ruleActions.get(depth1).getFixedResponseConfig() != null) {
putQueryParameter("RuleActions." + (depth1 + 1) + ".FixedResponseConfig.HttpCode" , ruleActions.get(depth1).getFixedResponseConfig().getHttpCode());
putQueryParameter("RuleActions." + (depth1 + 1) + ".FixedResponseConfig.Content" , ruleActions.get(depth1).getFixedResponseConfig().getContent());
putQueryParameter("RuleActions." + (depth1 + 1) + ".FixedResponseConfig.ContentType" , ruleActions.get(depth1).getFixedResponseConfig().getContentType());
}
if (ruleActions.get(depth1).getTrafficMirrorConfig() != null) {
if (ruleActions.get(depth1).getTrafficMirrorConfig().getMirrorGroupConfig() != null) {
if (ruleActions.get(depth1).getTrafficMirrorConfig().getMirrorGroupConfig().getServerGroupTuples() != null) {
for (int depth2 = 0; depth2 < ruleActions.get(depth1).getTrafficMirrorConfig().getMirrorGroupConfig().getServerGroupTuples().size(); depth2++) {
if (ruleActions.get(depth1).getTrafficMirrorConfig().getMirrorGroupConfig().getServerGroupTuples().get(depth2) != null) {
putQueryParameter("RuleActions." + (depth1 + 1) + ".TrafficMirrorConfig.MirrorGroupConfig.ServerGroupTuples." + (depth2 + 1) + ".ServerGroupId" , ruleActions.get(depth1).getTrafficMirrorConfig().getMirrorGroupConfig().getServerGroupTuples().get(depth2).getServerGroupId());
}
}
}
}
putQueryParameter("RuleActions." + (depth1 + 1) + ".TrafficMirrorConfig.TargetType" , ruleActions.get(depth1).getTrafficMirrorConfig().getTargetType());
}
if (ruleActions.get(depth1).getForwardGroupConfig() != null) {
if (ruleActions.get(depth1).getForwardGroupConfig().getServerGroupStickySession() != null) {
putQueryParameter("RuleActions." + (depth1 + 1) + ".ForwardGroupConfig.ServerGroupStickySession.Enabled" , ruleActions.get(depth1).getForwardGroupConfig().getServerGroupStickySession().getEnabled());
putQueryParameter("RuleActions." + (depth1 + 1) + ".ForwardGroupConfig.ServerGroupStickySession.Timeout" , ruleActions.get(depth1).getForwardGroupConfig().getServerGroupStickySession().getTimeout());
}
if (ruleActions.get(depth1).getForwardGroupConfig().getServerGroupTuples() != null) {
for (int depth2 = 0; depth2 < ruleActions.get(depth1).getForwardGroupConfig().getServerGroupTuples().size(); depth2++) {
if (ruleActions.get(depth1).getForwardGroupConfig().getServerGroupTuples().get(depth2) != null) {
putQueryParameter("RuleActions." + (depth1 + 1) + ".ForwardGroupConfig.ServerGroupTuples." + (depth2 + 1) + ".ServerGroupId" , ruleActions.get(depth1).getForwardGroupConfig().getServerGroupTuples().get(depth2).getServerGroupId());
putQueryParameter("RuleActions." + (depth1 + 1) + ".ForwardGroupConfig.ServerGroupTuples." + (depth2 + 1) + ".Weight" , ruleActions.get(depth1).getForwardGroupConfig().getServerGroupTuples().get(depth2).getWeight());
}
}
}
}
if (ruleActions.get(depth1).getRemoveHeaderConfig() != null) {
putQueryParameter("RuleActions." + (depth1 + 1) + ".RemoveHeaderConfig.Key" , ruleActions.get(depth1).getRemoveHeaderConfig().getKey());
}
if (ruleActions.get(depth1).getInsertHeaderConfig() != null) {
putQueryParameter("RuleActions." + (depth1 + 1) + ".InsertHeaderConfig.ValueType" , ruleActions.get(depth1).getInsertHeaderConfig().getValueType());
putQueryParameter("RuleActions." + (depth1 + 1) + ".InsertHeaderConfig.CoverEnabled" , ruleActions.get(depth1).getInsertHeaderConfig().getCoverEnabled());
putQueryParameter("RuleActions." + (depth1 + 1) + ".InsertHeaderConfig.Value" , ruleActions.get(depth1).getInsertHeaderConfig().getValue());
putQueryParameter("RuleActions." + (depth1 + 1) + ".InsertHeaderConfig.Key" , ruleActions.get(depth1).getInsertHeaderConfig().getKey());
}
if (ruleActions.get(depth1).getTrafficLimitConfig() != null) {
putQueryParameter("RuleActions." + (depth1 + 1) + ".TrafficLimitConfig.QPS" , ruleActions.get(depth1).getTrafficLimitConfig().getQPS());
putQueryParameter("RuleActions." + (depth1 + 1) + ".TrafficLimitConfig.PerIpQps" , ruleActions.get(depth1).getTrafficLimitConfig().getPerIpQps());
}
if (ruleActions.get(depth1).getCorsConfig() != null) {
putQueryParameter("RuleActions." + (depth1 + 1) + ".CorsConfig.AllowCredentials" , ruleActions.get(depth1).getCorsConfig().getAllowCredentials());
if (ruleActions.get(depth1).getCorsConfig().getAllowOrigin() != null) {
for (int depth2 = 0; depth2 < ruleActions.get(depth1).getCorsConfig().getAllowOrigin().size(); depth2++) {
putQueryParameter("RuleActions." + (depth1 + 1) + ".CorsConfig.AllowOrigin." + (depth2 + 1) , ruleActions.get(depth1).getCorsConfig().getAllowOrigin().get(depth2));
}
}
putQueryParameter("RuleActions." + (depth1 + 1) + ".CorsConfig.MaxAge" , ruleActions.get(depth1).getCorsConfig().getMaxAge());
if (ruleActions.get(depth1).getCorsConfig().getAllowMethods() != null) {
for (int depth2 = 0; depth2 < ruleActions.get(depth1).getCorsConfig().getAllowMethods().size(); depth2++) {
putQueryParameter("RuleActions." + (depth1 + 1) + ".CorsConfig.AllowMethods." + (depth2 + 1) , ruleActions.get(depth1).getCorsConfig().getAllowMethods().get(depth2));
}
}
if (ruleActions.get(depth1).getCorsConfig().getAllowHeaders() != null) {
for (int depth2 = 0; depth2 < ruleActions.get(depth1).getCorsConfig().getAllowHeaders().size(); depth2++) {
putQueryParameter("RuleActions." + (depth1 + 1) + ".CorsConfig.AllowHeaders." + (depth2 + 1) , ruleActions.get(depth1).getCorsConfig().getAllowHeaders().get(depth2));
}
}
if (ruleActions.get(depth1).getCorsConfig().getExposeHeaders() != null) {
for (int depth2 = 0; depth2 < ruleActions.get(depth1).getCorsConfig().getExposeHeaders().size(); depth2++) {
putQueryParameter("RuleActions." + (depth1 + 1) + ".CorsConfig.ExposeHeaders." + (depth2 + 1) , ruleActions.get(depth1).getCorsConfig().getExposeHeaders().get(depth2));
}
}
}
if (ruleActions.get(depth1).getRedirectConfig() != null) {
putQueryParameter("RuleActions." + (depth1 + 1) + ".RedirectConfig.Path" , ruleActions.get(depth1).getRedirectConfig().getPath());
putQueryParameter("RuleActions." + (depth1 + 1) + ".RedirectConfig.Protocol" , ruleActions.get(depth1).getRedirectConfig().getBizProtocol());
putQueryParameter("RuleActions." + (depth1 + 1) + ".RedirectConfig.Port" , ruleActions.get(depth1).getRedirectConfig().getPort());
putQueryParameter("RuleActions." + (depth1 + 1) + ".RedirectConfig.Query" , ruleActions.get(depth1).getRedirectConfig().getQuery());
putQueryParameter("RuleActions." + (depth1 + 1) + ".RedirectConfig.Host" , ruleActions.get(depth1).getRedirectConfig().getHost());
putQueryParameter("RuleActions." + (depth1 + 1) + ".RedirectConfig.HttpCode" , ruleActions.get(depth1).getRedirectConfig().getHttpCode());
}
putQueryParameter("RuleActions." + (depth1 + 1) + ".Type" , ruleActions.get(depth1).getType());
putQueryParameter("RuleActions." + (depth1 + 1) + ".Order" , ruleActions.get(depth1).getOrder());
if (ruleActions.get(depth1).getRewriteConfig() != null) {
putQueryParameter("RuleActions." + (depth1 + 1) + ".RewriteConfig.Path" , ruleActions.get(depth1).getRewriteConfig().getPath());
putQueryParameter("RuleActions." + (depth1 + 1) + ".RewriteConfig.Query" , ruleActions.get(depth1).getRewriteConfig().getQuery());
putQueryParameter("RuleActions." + (depth1 + 1) + ".RewriteConfig.Host" , ruleActions.get(depth1).getRewriteConfig().getHost());
}
}
}
}
}
public List<RuleConditions> getRuleConditions() {
return this.ruleConditions;
}
public void setRuleConditions(List<RuleConditions> ruleConditions) {
this.ruleConditions = ruleConditions;
if (ruleConditions != null) {
for (int depth1 = 0; depth1 < ruleConditions.size(); depth1++) {
if (ruleConditions.get(depth1) != null) {
if (ruleConditions.get(depth1).getMethodConfig() != null) {
if (ruleConditions.get(depth1).getMethodConfig().getValues() != null) {
for (int depth2 = 0; depth2 < ruleConditions.get(depth1).getMethodConfig().getValues().size(); depth2++) {
putQueryParameter("RuleConditions." + (depth1 + 1) + ".MethodConfig.Values." + (depth2 + 1) , ruleConditions.get(depth1).getMethodConfig().getValues().get(depth2));
}
}
}
if (ruleConditions.get(depth1).getSourceIpConfig() != null) {
if (ruleConditions.get(depth1).getSourceIpConfig().getValues() != null) {
for (int depth2 = 0; depth2 < ruleConditions.get(depth1).getSourceIpConfig().getValues().size(); depth2++) {
putQueryParameter("RuleConditions." + (depth1 + 1) + ".SourceIpConfig.Values." + (depth2 + 1) , ruleConditions.get(depth1).getSourceIpConfig().getValues().get(depth2));
}
}
}
if (ruleConditions.get(depth1).getHostConfig() != null) {
if (ruleConditions.get(depth1).getHostConfig().getValues() != null) {
for (int depth2 = 0; depth2 < ruleConditions.get(depth1).getHostConfig().getValues().size(); depth2++) {
putQueryParameter("RuleConditions." + (depth1 + 1) + ".HostConfig.Values." + (depth2 + 1) , ruleConditions.get(depth1).getHostConfig().getValues().get(depth2));
}
}
}
if (ruleConditions.get(depth1).getQueryStringConfig() != null) {
if (ruleConditions.get(depth1).getQueryStringConfig().getValues() != null) {
for (int depth2 = 0; depth2 < ruleConditions.get(depth1).getQueryStringConfig().getValues().size(); depth2++) {
if (ruleConditions.get(depth1).getQueryStringConfig().getValues().get(depth2) != null) {
putQueryParameter("RuleConditions." + (depth1 + 1) + ".QueryStringConfig.Values." + (depth2 + 1) + ".Value" , ruleConditions.get(depth1).getQueryStringConfig().getValues().get(depth2).getValue());
putQueryParameter("RuleConditions." + (depth1 + 1) + ".QueryStringConfig.Values." + (depth2 + 1) + ".Key" , ruleConditions.get(depth1).getQueryStringConfig().getValues().get(depth2).getKey());
}
}
}
}
if (ruleConditions.get(depth1).getResponseStatusCodeConfig() != null) {
if (ruleConditions.get(depth1).getResponseStatusCodeConfig().getValues() != null) {
for (int depth2 = 0; depth2 < ruleConditions.get(depth1).getResponseStatusCodeConfig().getValues().size(); depth2++) {
putQueryParameter("RuleConditions." + (depth1 + 1) + ".ResponseStatusCodeConfig.Values." + (depth2 + 1) , ruleConditions.get(depth1).getResponseStatusCodeConfig().getValues().get(depth2));
}
}
}
if (ruleConditions.get(depth1).getPathConfig() != null) {
if (ruleConditions.get(depth1).getPathConfig().getValues() != null) {
for (int depth2 = 0; depth2 < ruleConditions.get(depth1).getPathConfig().getValues().size(); depth2++) {
putQueryParameter("RuleConditions." + (depth1 + 1) + ".PathConfig.Values." + (depth2 + 1) , ruleConditions.get(depth1).getPathConfig().getValues().get(depth2));
}
}
}
if (ruleConditions.get(depth1).getCookieConfig() != null) {
if (ruleConditions.get(depth1).getCookieConfig().getValues() != null) {
for (int depth2 = 0; depth2 < ruleConditions.get(depth1).getCookieConfig().getValues().size(); depth2++) {
if (ruleConditions.get(depth1).getCookieConfig().getValues().get(depth2) != null) {
putQueryParameter("RuleConditions." + (depth1 + 1) + ".CookieConfig.Values." + (depth2 + 1) + ".Value" , ruleConditions.get(depth1).getCookieConfig().getValues().get(depth2).getValue());
putQueryParameter("RuleConditions." + (depth1 + 1) + ".CookieConfig.Values." + (depth2 + 1) + ".Key" , ruleConditions.get(depth1).getCookieConfig().getValues().get(depth2).getKey());
}
}
}
}
putQueryParameter("RuleConditions." + (depth1 + 1) + ".Type" , ruleConditions.get(depth1).getType());
if (ruleConditions.get(depth1).getHeaderConfig() != null) {
if (ruleConditions.get(depth1).getHeaderConfig().getValues() != null) {
for (int depth2 = 0; depth2 < ruleConditions.get(depth1).getHeaderConfig().getValues().size(); depth2++) {
putQueryParameter("RuleConditions." + (depth1 + 1) + ".HeaderConfig.Values." + (depth2 + 1) , ruleConditions.get(depth1).getHeaderConfig().getValues().get(depth2));
}
}
putQueryParameter("RuleConditions." + (depth1 + 1) + ".HeaderConfig.Key" , ruleConditions.get(depth1).getHeaderConfig().getKey());
}
if (ruleConditions.get(depth1).getResponseHeaderConfig() != null) {
if (ruleConditions.get(depth1).getResponseHeaderConfig().getValues() != null) {
for (int depth2 = 0; depth2 < ruleConditions.get(depth1).getResponseHeaderConfig().getValues().size(); depth2++) {
putQueryParameter("RuleConditions." + (depth1 + 1) + ".ResponseHeaderConfig.Values." + (depth2 + 1) , ruleConditions.get(depth1).getResponseHeaderConfig().getValues().get(depth2));
}
}
putQueryParameter("RuleConditions." + (depth1 + 1) + ".ResponseHeaderConfig.Key" , ruleConditions.get(depth1).getResponseHeaderConfig().getKey());
}
}
}
}
}
public Boolean getDryRun() {
return this.dryRun;
}
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("DryRun", dryRun.toString());
}
}
public Integer getPriority() {
return this.priority;
}
public void setPriority(Integer priority) {
this.priority = priority;
if(priority != null){
putQueryParameter("Priority", priority.toString());
}
}
public static class Tag {
private String value;
private String key;
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
public static class RuleActions {
private FixedResponseConfig fixedResponseConfig;
private TrafficMirrorConfig trafficMirrorConfig;
private ForwardGroupConfig forwardGroupConfig;
private RemoveHeaderConfig removeHeaderConfig;
private InsertHeaderConfig insertHeaderConfig;
private TrafficLimitConfig trafficLimitConfig;
private CorsConfig corsConfig;
private RedirectConfig redirectConfig;
private String type;
private Integer order;
private RewriteConfig rewriteConfig;
public FixedResponseConfig getFixedResponseConfig() {
return this.fixedResponseConfig;
}
public void setFixedResponseConfig(FixedResponseConfig fixedResponseConfig) {
this.fixedResponseConfig = fixedResponseConfig;
}
public TrafficMirrorConfig getTrafficMirrorConfig() {
return this.trafficMirrorConfig;
}
public void setTrafficMirrorConfig(TrafficMirrorConfig trafficMirrorConfig) {
this.trafficMirrorConfig = trafficMirrorConfig;
}
public ForwardGroupConfig getForwardGroupConfig() {
return this.forwardGroupConfig;
}
public void setForwardGroupConfig(ForwardGroupConfig forwardGroupConfig) {
this.forwardGroupConfig = forwardGroupConfig;
}
public RemoveHeaderConfig getRemoveHeaderConfig() {
return this.removeHeaderConfig;
}
public void setRemoveHeaderConfig(RemoveHeaderConfig removeHeaderConfig) {
this.removeHeaderConfig = removeHeaderConfig;
}
public InsertHeaderConfig getInsertHeaderConfig() {
return this.insertHeaderConfig;
}
public void setInsertHeaderConfig(InsertHeaderConfig insertHeaderConfig) {
this.insertHeaderConfig = insertHeaderConfig;
}
public TrafficLimitConfig getTrafficLimitConfig() {
return this.trafficLimitConfig;
}
public void setTrafficLimitConfig(TrafficLimitConfig trafficLimitConfig) {
this.trafficLimitConfig = trafficLimitConfig;
}
public CorsConfig getCorsConfig() {
return this.corsConfig;
}
public void setCorsConfig(CorsConfig corsConfig) {
this.corsConfig = corsConfig;
}
public RedirectConfig getRedirectConfig() {
return this.redirectConfig;
}
public void setRedirectConfig(RedirectConfig redirectConfig) {
this.redirectConfig = redirectConfig;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public Integer getOrder() {
return this.order;
}
public void setOrder(Integer order) {
this.order = order;
}
public RewriteConfig getRewriteConfig() {
return this.rewriteConfig;
}
public void setRewriteConfig(RewriteConfig rewriteConfig) {
this.rewriteConfig = rewriteConfig;
}
public static class FixedResponseConfig {
private String httpCode;
private String content;
private String contentType;
public String getHttpCode() {
return this.httpCode;
}
public void setHttpCode(String httpCode) {
this.httpCode = httpCode;
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
}
public String getContentType() {
return this.contentType;
}
public void setContentType(String contentType) {
this.contentType = contentType;
}
}
public static class TrafficMirrorConfig {
private MirrorGroupConfig mirrorGroupConfig;
private String targetType;
public MirrorGroupConfig getMirrorGroupConfig() {
return this.mirrorGroupConfig;
}
public void setMirrorGroupConfig(MirrorGroupConfig mirrorGroupConfig) {
this.mirrorGroupConfig = mirrorGroupConfig;
}
public String getTargetType() {
return this.targetType;
}
public void setTargetType(String targetType) {
this.targetType = targetType;
}
public static class MirrorGroupConfig {
private List<ServerGroupTuplesItem> serverGroupTuples;
public List<ServerGroupTuplesItem> getServerGroupTuples() {
return this.serverGroupTuples;
}
public void setServerGroupTuples(List<ServerGroupTuplesItem> serverGroupTuples) {
this.serverGroupTuples = serverGroupTuples;
}
public static class ServerGroupTuplesItem {
private String serverGroupId;
public String getServerGroupId() {
return this.serverGroupId;
}
public void setServerGroupId(String serverGroupId) {
this.serverGroupId = serverGroupId;
}
}
}
}
public static class ForwardGroupConfig {
private ServerGroupStickySession serverGroupStickySession;
private List<ServerGroupTuplesItem> serverGroupTuples;
public ServerGroupStickySession getServerGroupStickySession() {
return this.serverGroupStickySession;
}
public void setServerGroupStickySession(ServerGroupStickySession serverGroupStickySession) {
this.serverGroupStickySession = serverGroupStickySession;
}
public List<ServerGroupTuplesItem> getServerGroupTuples() {
return this.serverGroupTuples;
}
public void setServerGroupTuples(List<ServerGroupTuplesItem> serverGroupTuples) {
this.serverGroupTuples = serverGroupTuples;
}
public static class ServerGroupStickySession {
private Boolean enabled;
private Integer timeout;
public Boolean getEnabled() {
return this.enabled;
}
public void setEnabled(Boolean enabled) {
this.enabled = enabled;
}
public Integer getTimeout() {
return this.timeout;
}
public void setTimeout(Integer timeout) {
this.timeout = timeout;
}
}
public static class ServerGroupTuplesItem {
private String serverGroupId;
private Integer weight;
public String getServerGroupId() {
return this.serverGroupId;
}
public void setServerGroupId(String serverGroupId) {
this.serverGroupId = serverGroupId;
}
public Integer getWeight() {
return this.weight;
}
public void setWeight(Integer weight) {
this.weight = weight;
}
}
}
public static class RemoveHeaderConfig {
private String key;
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
public static class InsertHeaderConfig {
private String valueType;
private Boolean coverEnabled;
private String value;
private String key;
public String getValueType() {
return this.valueType;
}
public void setValueType(String valueType) {
this.valueType = valueType;
}
public Boolean getCoverEnabled() {
return this.coverEnabled;
}
public void setCoverEnabled(Boolean coverEnabled) {
this.coverEnabled = coverEnabled;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
public static class TrafficLimitConfig {
private Integer qPS;
private Integer perIpQps;
public Integer getQPS() {
return this.qPS;
}
public void setQPS(Integer qPS) {
this.qPS = qPS;
}
public Integer getPerIpQps() {
return this.perIpQps;
}
public void setPerIpQps(Integer perIpQps) {
this.perIpQps = perIpQps;
}
}
public static class CorsConfig {
private String allowCredentials;
private List<String> allowOrigin;
private Long maxAge;
private List<String> allowMethods;
private List<String> allowHeaders;
private List<String> exposeHeaders;
public String getAllowCredentials() {
return this.allowCredentials;
}
public void setAllowCredentials(String allowCredentials) {
this.allowCredentials = allowCredentials;
}
public List<String> getAllowOrigin() {
return this.allowOrigin;
}
public void setAllowOrigin(List<String> allowOrigin) {
this.allowOrigin = allowOrigin;
}
public Long getMaxAge() {
return this.maxAge;
}
public void setMaxAge(Long maxAge) {
this.maxAge = maxAge;
}
public List<String> getAllowMethods() {
return this.allowMethods;
}
public void setAllowMethods(List<String> allowMethods) {
this.allowMethods = allowMethods;
}
public List<String> getAllowHeaders() {
return this.allowHeaders;
}
public void setAllowHeaders(List<String> allowHeaders) {
this.allowHeaders = allowHeaders;
}
public List<String> getExposeHeaders() {
return this.exposeHeaders;
}
public void setExposeHeaders(List<String> exposeHeaders) {
this.exposeHeaders = exposeHeaders;
}
}
public static class RedirectConfig {
private String path;
private String protocol;
private String port;
private String query;
private String host;
private String httpCode;
public String getPath() {
return this.path;
}
public void setPath(String path) {
this.path = path;
}
public String getBizProtocol() {
return this.protocol;
}
public void setBizProtocol(String protocol) {
this.protocol = protocol;
}
public String getPort() {
return this.port;
}
public void setPort(String port) {
this.port = port;
}
public String getQuery() {
return this.query;
}
public void setQuery(String query) {
this.query = query;
}
public String getHost() {
return this.host;
}
public void setHost(String host) {
this.host = host;
}
public String getHttpCode() {
return this.httpCode;
}
public void setHttpCode(String httpCode) {
this.httpCode = httpCode;
}
}
public static class RewriteConfig {
private String path;
private String query;
private String host;
public String getPath() {
return this.path;
}
public void setPath(String path) {
this.path = path;
}
public String getQuery() {
return this.query;
}
public void setQuery(String query) {
this.query = query;
}
public String getHost() {
return this.host;
}
public void setHost(String host) {
this.host = host;
}
}
}
public static class RuleConditions {
private MethodConfig methodConfig;
private SourceIpConfig sourceIpConfig;
private HostConfig hostConfig;
private QueryStringConfig queryStringConfig;
private ResponseStatusCodeConfig responseStatusCodeConfig;
private PathConfig pathConfig;
private CookieConfig cookieConfig;
private String type;
private HeaderConfig headerConfig;
private ResponseHeaderConfig responseHeaderConfig;
public MethodConfig getMethodConfig() {
return this.methodConfig;
}
public void setMethodConfig(MethodConfig methodConfig) {
this.methodConfig = methodConfig;
}
public SourceIpConfig getSourceIpConfig() {
return this.sourceIpConfig;
}
public void setSourceIpConfig(SourceIpConfig sourceIpConfig) {
this.sourceIpConfig = sourceIpConfig;
}
public HostConfig getHostConfig() {
return this.hostConfig;
}
public void setHostConfig(HostConfig hostConfig) {
this.hostConfig = hostConfig;
}
public QueryStringConfig getQueryStringConfig() {
return this.queryStringConfig;
}
public void setQueryStringConfig(QueryStringConfig queryStringConfig) {
this.queryStringConfig = queryStringConfig;
}
public ResponseStatusCodeConfig getResponseStatusCodeConfig() {
return this.responseStatusCodeConfig;
}
public void setResponseStatusCodeConfig(ResponseStatusCodeConfig responseStatusCodeConfig) {
this.responseStatusCodeConfig = responseStatusCodeConfig;
}
public PathConfig getPathConfig() {
return this.pathConfig;
}
public void setPathConfig(PathConfig pathConfig) {
this.pathConfig = pathConfig;
}
public CookieConfig getCookieConfig() {
return this.cookieConfig;
}
public void setCookieConfig(CookieConfig cookieConfig) {
this.cookieConfig = cookieConfig;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public HeaderConfig getHeaderConfig() {
return this.headerConfig;
}
public void setHeaderConfig(HeaderConfig headerConfig) {
this.headerConfig = headerConfig;
}
public ResponseHeaderConfig getResponseHeaderConfig() {
return this.responseHeaderConfig;
}
public void setResponseHeaderConfig(ResponseHeaderConfig responseHeaderConfig) {
this.responseHeaderConfig = responseHeaderConfig;
}
public static class MethodConfig {
private List<String> values;
public List<String> getValues() {
return this.values;
}
public void setValues(List<String> values) {
this.values = values;
}
}
public static class SourceIpConfig {
private List<String> values;
public List<String> getValues() {
return this.values;
}
public void setValues(List<String> values) {
this.values = values;
}
}
public static class HostConfig {
private List<String> values;
public List<String> getValues() {
return this.values;
}
public void setValues(List<String> values) {
this.values = values;
}
}
public static class QueryStringConfig {
private List<ValuesItem> values;
public List<ValuesItem> getValues() {
return this.values;
}
public void setValues(List<ValuesItem> values) {
this.values = values;
}
public static class ValuesItem {
private String value;
private String key;
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
}
public static class ResponseStatusCodeConfig {
private List<String> values;
public List<String> getValues() {
return this.values;
}
public void setValues(List<String> values) {
this.values = values;
}
}
public static class PathConfig {
private List<String> values;
public List<String> getValues() {
return this.values;
}
public void setValues(List<String> values) {
this.values = values;
}
}
public static class CookieConfig {
private List<ValuesItem> values;
public List<ValuesItem> getValues() {
return this.values;
}
public void setValues(List<ValuesItem> values) {
this.values = values;
}
public static class ValuesItem {
private String value;
private String key;
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
}
public static class HeaderConfig {
private List<String> values;
private String key;
public List<String> getValues() {
return this.values;
}
public void setValues(List<String> values) {
this.values = values;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
public static class ResponseHeaderConfig {
private List<String> values;
private String key;
public List<String> getValues() {
return this.values;
}
public void setValues(List<String> values) {
this.values = values;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
}
@Override
public Class<CreateRuleResponse> getResponseClass() {
return CreateRuleResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/CreateRuleResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.CreateRuleResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateRuleResponse extends AcsResponse {
private String jobId;
private String requestId;
private String ruleId;
public String getJobId() {
return this.jobId;
}
public void setJobId(String jobId) {
this.jobId = jobId;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getRuleId() {
return this.ruleId;
}
public void setRuleId(String ruleId) {
this.ruleId = ruleId;
}
@Override
public CreateRuleResponse getInstance(UnmarshallerContext context) {
return CreateRuleResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/CreateRulesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class CreateRulesRequest extends RpcAcsRequest<CreateRulesResponse> {
private String clientToken;
private List<Rules> rules;
private String listenerId;
private Boolean dryRun;
public CreateRulesRequest() {
super("Alb", "2020-06-16", "CreateRules", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public List<Rules> getRules() {
return this.rules;
}
public void setRules(List<Rules> rules) {
this.rules = rules;
if (rules != null) {
for (int depth1 = 0; depth1 < rules.size(); depth1++) {
if (rules.get(depth1) != null) {
if (rules.get(depth1).getRuleConditions() != null) {
for (int depth2 = 0; depth2 < rules.get(depth1).getRuleConditions().size(); depth2++) {
if (rules.get(depth1).getRuleConditions().get(depth2) != null) {
if (rules.get(depth1).getRuleConditions().get(depth2).getMethodConfig() != null) {
if (rules.get(depth1).getRuleConditions().get(depth2).getMethodConfig().getValues() != null) {
for (int depth3 = 0; depth3 < rules.get(depth1).getRuleConditions().get(depth2).getMethodConfig().getValues().size(); depth3++) {
putBodyParameter("Rules." + (depth1 + 1) + ".RuleConditions." + (depth2 + 1) + ".MethodConfig.Values." + (depth3 + 1) , rules.get(depth1).getRuleConditions().get(depth2).getMethodConfig().getValues().get(depth3));
}
}
}
if (rules.get(depth1).getRuleConditions().get(depth2).getSourceIpConfig() != null) {
if (rules.get(depth1).getRuleConditions().get(depth2).getSourceIpConfig().getValues() != null) {
for (int depth3 = 0; depth3 < rules.get(depth1).getRuleConditions().get(depth2).getSourceIpConfig().getValues().size(); depth3++) {
putBodyParameter("Rules." + (depth1 + 1) + ".RuleConditions." + (depth2 + 1) + ".SourceIpConfig.Values." + (depth3 + 1) , rules.get(depth1).getRuleConditions().get(depth2).getSourceIpConfig().getValues().get(depth3));
}
}
}
if (rules.get(depth1).getRuleConditions().get(depth2).getHostConfig() != null) {
if (rules.get(depth1).getRuleConditions().get(depth2).getHostConfig().getValues() != null) {
for (int depth3 = 0; depth3 < rules.get(depth1).getRuleConditions().get(depth2).getHostConfig().getValues().size(); depth3++) {
putBodyParameter("Rules." + (depth1 + 1) + ".RuleConditions." + (depth2 + 1) + ".HostConfig.Values." + (depth3 + 1) , rules.get(depth1).getRuleConditions().get(depth2).getHostConfig().getValues().get(depth3));
}
}
}
if (rules.get(depth1).getRuleConditions().get(depth2).getQueryStringConfig() != null) {
if (rules.get(depth1).getRuleConditions().get(depth2).getQueryStringConfig().getValues() != null) {
for (int depth3 = 0; depth3 < rules.get(depth1).getRuleConditions().get(depth2).getQueryStringConfig().getValues().size(); depth3++) {
if (rules.get(depth1).getRuleConditions().get(depth2).getQueryStringConfig().getValues().get(depth3) != null) {
putBodyParameter("Rules." + (depth1 + 1) + ".RuleConditions." + (depth2 + 1) + ".QueryStringConfig.Values." + (depth3 + 1) + ".Value" , rules.get(depth1).getRuleConditions().get(depth2).getQueryStringConfig().getValues().get(depth3).getValue());
putBodyParameter("Rules." + (depth1 + 1) + ".RuleConditions." + (depth2 + 1) + ".QueryStringConfig.Values." + (depth3 + 1) + ".Key" , rules.get(depth1).getRuleConditions().get(depth2).getQueryStringConfig().getValues().get(depth3).getKey());
}
}
}
}
if (rules.get(depth1).getRuleConditions().get(depth2).getResponseStatusCodeConfig() != null) {
if (rules.get(depth1).getRuleConditions().get(depth2).getResponseStatusCodeConfig().getValues() != null) {
for (int depth3 = 0; depth3 < rules.get(depth1).getRuleConditions().get(depth2).getResponseStatusCodeConfig().getValues().size(); depth3++) {
putBodyParameter("Rules." + (depth1 + 1) + ".RuleConditions." + (depth2 + 1) + ".ResponseStatusCodeConfig.Values." + (depth3 + 1) , rules.get(depth1).getRuleConditions().get(depth2).getResponseStatusCodeConfig().getValues().get(depth3));
}
}
}
if (rules.get(depth1).getRuleConditions().get(depth2).getPathConfig() != null) {
if (rules.get(depth1).getRuleConditions().get(depth2).getPathConfig().getValues() != null) {
for (int depth3 = 0; depth3 < rules.get(depth1).getRuleConditions().get(depth2).getPathConfig().getValues().size(); depth3++) {
putBodyParameter("Rules." + (depth1 + 1) + ".RuleConditions." + (depth2 + 1) + ".PathConfig.Values." + (depth3 + 1) , rules.get(depth1).getRuleConditions().get(depth2).getPathConfig().getValues().get(depth3));
}
}
}
if (rules.get(depth1).getRuleConditions().get(depth2).getCookieConfig() != null) {
if (rules.get(depth1).getRuleConditions().get(depth2).getCookieConfig().getValues() != null) {
for (int depth3 = 0; depth3 < rules.get(depth1).getRuleConditions().get(depth2).getCookieConfig().getValues().size(); depth3++) {
if (rules.get(depth1).getRuleConditions().get(depth2).getCookieConfig().getValues().get(depth3) != null) {
putBodyParameter("Rules." + (depth1 + 1) + ".RuleConditions." + (depth2 + 1) + ".CookieConfig.Values." + (depth3 + 1) + ".Value" , rules.get(depth1).getRuleConditions().get(depth2).getCookieConfig().getValues().get(depth3).getValue());
putBodyParameter("Rules." + (depth1 + 1) + ".RuleConditions." + (depth2 + 1) + ".CookieConfig.Values." + (depth3 + 1) + ".Key" , rules.get(depth1).getRuleConditions().get(depth2).getCookieConfig().getValues().get(depth3).getKey());
}
}
}
}
putBodyParameter("Rules." + (depth1 + 1) + ".RuleConditions." + (depth2 + 1) + ".Type" , rules.get(depth1).getRuleConditions().get(depth2).getType());
if (rules.get(depth1).getRuleConditions().get(depth2).getHeaderConfig() != null) {
if (rules.get(depth1).getRuleConditions().get(depth2).getHeaderConfig().getValues() != null) {
for (int depth3 = 0; depth3 < rules.get(depth1).getRuleConditions().get(depth2).getHeaderConfig().getValues().size(); depth3++) {
putBodyParameter("Rules." + (depth1 + 1) + ".RuleConditions." + (depth2 + 1) + ".HeaderConfig.Values." + (depth3 + 1) , rules.get(depth1).getRuleConditions().get(depth2).getHeaderConfig().getValues().get(depth3));
}
}
putBodyParameter("Rules." + (depth1 + 1) + ".RuleConditions." + (depth2 + 1) + ".HeaderConfig.Key" , rules.get(depth1).getRuleConditions().get(depth2).getHeaderConfig().getKey());
}
if (rules.get(depth1).getRuleConditions().get(depth2).getResponseHeaderConfig() != null) {
if (rules.get(depth1).getRuleConditions().get(depth2).getResponseHeaderConfig().getValues() != null) {
for (int depth3 = 0; depth3 < rules.get(depth1).getRuleConditions().get(depth2).getResponseHeaderConfig().getValues().size(); depth3++) {
putBodyParameter("Rules." + (depth1 + 1) + ".RuleConditions." + (depth2 + 1) + ".ResponseHeaderConfig.Values." + (depth3 + 1) , rules.get(depth1).getRuleConditions().get(depth2).getResponseHeaderConfig().getValues().get(depth3));
}
}
putBodyParameter("Rules." + (depth1 + 1) + ".RuleConditions." + (depth2 + 1) + ".ResponseHeaderConfig.Key" , rules.get(depth1).getRuleConditions().get(depth2).getResponseHeaderConfig().getKey());
}
}
}
}
putBodyParameter("Rules." + (depth1 + 1) + ".RuleName" , rules.get(depth1).getRuleName());
if (rules.get(depth1).getTag() != null) {
for (int depth2 = 0; depth2 < rules.get(depth1).getTag().size(); depth2++) {
if (rules.get(depth1).getTag().get(depth2) != null) {
putBodyParameter("Rules." + (depth1 + 1) + ".Tag." + (depth2 + 1) + ".Value" , rules.get(depth1).getTag().get(depth2).getValue());
putBodyParameter("Rules." + (depth1 + 1) + ".Tag." + (depth2 + 1) + ".Key" , rules.get(depth1).getTag().get(depth2).getKey());
}
}
}
putBodyParameter("Rules." + (depth1 + 1) + ".Priority" , rules.get(depth1).getPriority());
if (rules.get(depth1).getRuleActions() != null) {
for (int depth2 = 0; depth2 < rules.get(depth1).getRuleActions().size(); depth2++) {
if (rules.get(depth1).getRuleActions().get(depth2) != null) {
if (rules.get(depth1).getRuleActions().get(depth2).getFixedResponseConfig() != null) {
putBodyParameter("Rules." + (depth1 + 1) + ".RuleActions." + (depth2 + 1) + ".FixedResponseConfig.HttpCode" , rules.get(depth1).getRuleActions().get(depth2).getFixedResponseConfig().getHttpCode());
putBodyParameter("Rules." + (depth1 + 1) + ".RuleActions." + (depth2 + 1) + ".FixedResponseConfig.Content" , rules.get(depth1).getRuleActions().get(depth2).getFixedResponseConfig().getContent());
putBodyParameter("Rules." + (depth1 + 1) + ".RuleActions." + (depth2 + 1) + ".FixedResponseConfig.ContentType" , rules.get(depth1).getRuleActions().get(depth2).getFixedResponseConfig().getContentType());
}
if (rules.get(depth1).getRuleActions().get(depth2).getTrafficMirrorConfig() != null) {
if (rules.get(depth1).getRuleActions().get(depth2).getTrafficMirrorConfig().getMirrorGroupConfig() != null) {
if (rules.get(depth1).getRuleActions().get(depth2).getTrafficMirrorConfig().getMirrorGroupConfig().getServerGroupTuples() != null) {
for (int depth3 = 0; depth3 < rules.get(depth1).getRuleActions().get(depth2).getTrafficMirrorConfig().getMirrorGroupConfig().getServerGroupTuples().size(); depth3++) {
if (rules.get(depth1).getRuleActions().get(depth2).getTrafficMirrorConfig().getMirrorGroupConfig().getServerGroupTuples().get(depth3) != null) {
putBodyParameter("Rules." + (depth1 + 1) + ".RuleActions." + (depth2 + 1) + ".TrafficMirrorConfig.MirrorGroupConfig.ServerGroupTuples." + (depth3 + 1) + ".ServerGroupId" , rules.get(depth1).getRuleActions().get(depth2).getTrafficMirrorConfig().getMirrorGroupConfig().getServerGroupTuples().get(depth3).getServerGroupId());
}
}
}
}
putBodyParameter("Rules." + (depth1 + 1) + ".RuleActions." + (depth2 + 1) + ".TrafficMirrorConfig.TargetType" , rules.get(depth1).getRuleActions().get(depth2).getTrafficMirrorConfig().getTargetType());
}
if (rules.get(depth1).getRuleActions().get(depth2).getForwardGroupConfig() != null) {
if (rules.get(depth1).getRuleActions().get(depth2).getForwardGroupConfig().getServerGroupStickySession() != null) {
putBodyParameter("Rules." + (depth1 + 1) + ".RuleActions." + (depth2 + 1) + ".ForwardGroupConfig.ServerGroupStickySession.Enabled" , rules.get(depth1).getRuleActions().get(depth2).getForwardGroupConfig().getServerGroupStickySession().getEnabled());
putBodyParameter("Rules." + (depth1 + 1) + ".RuleActions." + (depth2 + 1) + ".ForwardGroupConfig.ServerGroupStickySession.Timeout" , rules.get(depth1).getRuleActions().get(depth2).getForwardGroupConfig().getServerGroupStickySession().getTimeout());
}
if (rules.get(depth1).getRuleActions().get(depth2).getForwardGroupConfig().getServerGroupTuples() != null) {
for (int depth3 = 0; depth3 < rules.get(depth1).getRuleActions().get(depth2).getForwardGroupConfig().getServerGroupTuples().size(); depth3++) {
if (rules.get(depth1).getRuleActions().get(depth2).getForwardGroupConfig().getServerGroupTuples().get(depth3) != null) {
putBodyParameter("Rules." + (depth1 + 1) + ".RuleActions." + (depth2 + 1) + ".ForwardGroupConfig.ServerGroupTuples." + (depth3 + 1) + ".ServerGroupId" , rules.get(depth1).getRuleActions().get(depth2).getForwardGroupConfig().getServerGroupTuples().get(depth3).getServerGroupId());
putBodyParameter("Rules." + (depth1 + 1) + ".RuleActions." + (depth2 + 1) + ".ForwardGroupConfig.ServerGroupTuples." + (depth3 + 1) + ".Weight" , rules.get(depth1).getRuleActions().get(depth2).getForwardGroupConfig().getServerGroupTuples().get(depth3).getWeight());
}
}
}
}
if (rules.get(depth1).getRuleActions().get(depth2).getRemoveHeaderConfig() != null) {
putBodyParameter("Rules." + (depth1 + 1) + ".RuleActions." + (depth2 + 1) + ".RemoveHeaderConfig.Key" , rules.get(depth1).getRuleActions().get(depth2).getRemoveHeaderConfig().getKey());
}
if (rules.get(depth1).getRuleActions().get(depth2).getInsertHeaderConfig() != null) {
putBodyParameter("Rules." + (depth1 + 1) + ".RuleActions." + (depth2 + 1) + ".InsertHeaderConfig.ValueType" , rules.get(depth1).getRuleActions().get(depth2).getInsertHeaderConfig().getValueType());
putBodyParameter("Rules." + (depth1 + 1) + ".RuleActions." + (depth2 + 1) + ".InsertHeaderConfig.CoverEnabled" , rules.get(depth1).getRuleActions().get(depth2).getInsertHeaderConfig().getCoverEnabled());
putBodyParameter("Rules." + (depth1 + 1) + ".RuleActions." + (depth2 + 1) + ".InsertHeaderConfig.Value" , rules.get(depth1).getRuleActions().get(depth2).getInsertHeaderConfig().getValue());
putBodyParameter("Rules." + (depth1 + 1) + ".RuleActions." + (depth2 + 1) + ".InsertHeaderConfig.Key" , rules.get(depth1).getRuleActions().get(depth2).getInsertHeaderConfig().getKey());
}
if (rules.get(depth1).getRuleActions().get(depth2).getTrafficLimitConfig() != null) {
putBodyParameter("Rules." + (depth1 + 1) + ".RuleActions." + (depth2 + 1) + ".TrafficLimitConfig.QPS" , rules.get(depth1).getRuleActions().get(depth2).getTrafficLimitConfig().getQPS());
putBodyParameter("Rules." + (depth1 + 1) + ".RuleActions." + (depth2 + 1) + ".TrafficLimitConfig.PerIpQps" , rules.get(depth1).getRuleActions().get(depth2).getTrafficLimitConfig().getPerIpQps());
}
if (rules.get(depth1).getRuleActions().get(depth2).getCorsConfig() != null) {
putBodyParameter("Rules." + (depth1 + 1) + ".RuleActions." + (depth2 + 1) + ".CorsConfig.AllowCredentials" , rules.get(depth1).getRuleActions().get(depth2).getCorsConfig().getAllowCredentials());
if (rules.get(depth1).getRuleActions().get(depth2).getCorsConfig().getAllowOrigin() != null) {
for (int depth3 = 0; depth3 < rules.get(depth1).getRuleActions().get(depth2).getCorsConfig().getAllowOrigin().size(); depth3++) {
putBodyParameter("Rules." + (depth1 + 1) + ".RuleActions." + (depth2 + 1) + ".CorsConfig.AllowOrigin." + (depth3 + 1) , rules.get(depth1).getRuleActions().get(depth2).getCorsConfig().getAllowOrigin().get(depth3));
}
}
putBodyParameter("Rules." + (depth1 + 1) + ".RuleActions." + (depth2 + 1) + ".CorsConfig.MaxAge" , rules.get(depth1).getRuleActions().get(depth2).getCorsConfig().getMaxAge());
if (rules.get(depth1).getRuleActions().get(depth2).getCorsConfig().getAllowMethods() != null) {
for (int depth3 = 0; depth3 < rules.get(depth1).getRuleActions().get(depth2).getCorsConfig().getAllowMethods().size(); depth3++) {
putBodyParameter("Rules." + (depth1 + 1) + ".RuleActions." + (depth2 + 1) + ".CorsConfig.AllowMethods." + (depth3 + 1) , rules.get(depth1).getRuleActions().get(depth2).getCorsConfig().getAllowMethods().get(depth3));
}
}
if (rules.get(depth1).getRuleActions().get(depth2).getCorsConfig().getAllowHeaders() != null) {
for (int depth3 = 0; depth3 < rules.get(depth1).getRuleActions().get(depth2).getCorsConfig().getAllowHeaders().size(); depth3++) {
putBodyParameter("Rules." + (depth1 + 1) + ".RuleActions." + (depth2 + 1) + ".CorsConfig.AllowHeaders." + (depth3 + 1) , rules.get(depth1).getRuleActions().get(depth2).getCorsConfig().getAllowHeaders().get(depth3));
}
}
if (rules.get(depth1).getRuleActions().get(depth2).getCorsConfig().getExposeHeaders() != null) {
for (int depth3 = 0; depth3 < rules.get(depth1).getRuleActions().get(depth2).getCorsConfig().getExposeHeaders().size(); depth3++) {
putBodyParameter("Rules." + (depth1 + 1) + ".RuleActions." + (depth2 + 1) + ".CorsConfig.ExposeHeaders." + (depth3 + 1) , rules.get(depth1).getRuleActions().get(depth2).getCorsConfig().getExposeHeaders().get(depth3));
}
}
}
if (rules.get(depth1).getRuleActions().get(depth2).getRedirectConfig() != null) {
putBodyParameter("Rules." + (depth1 + 1) + ".RuleActions." + (depth2 + 1) + ".RedirectConfig.Path" , rules.get(depth1).getRuleActions().get(depth2).getRedirectConfig().getPath());
putBodyParameter("Rules." + (depth1 + 1) + ".RuleActions." + (depth2 + 1) + ".RedirectConfig.Protocol" , rules.get(depth1).getRuleActions().get(depth2).getRedirectConfig().getBizProtocol());
putBodyParameter("Rules." + (depth1 + 1) + ".RuleActions." + (depth2 + 1) + ".RedirectConfig.Port" , rules.get(depth1).getRuleActions().get(depth2).getRedirectConfig().getPort());
putBodyParameter("Rules." + (depth1 + 1) + ".RuleActions." + (depth2 + 1) + ".RedirectConfig.Query" , rules.get(depth1).getRuleActions().get(depth2).getRedirectConfig().getQuery());
putBodyParameter("Rules." + (depth1 + 1) + ".RuleActions." + (depth2 + 1) + ".RedirectConfig.Host" , rules.get(depth1).getRuleActions().get(depth2).getRedirectConfig().getHost());
putBodyParameter("Rules." + (depth1 + 1) + ".RuleActions." + (depth2 + 1) + ".RedirectConfig.HttpCode" , rules.get(depth1).getRuleActions().get(depth2).getRedirectConfig().getHttpCode());
}
putBodyParameter("Rules." + (depth1 + 1) + ".RuleActions." + (depth2 + 1) + ".Type" , rules.get(depth1).getRuleActions().get(depth2).getType());
putBodyParameter("Rules." + (depth1 + 1) + ".RuleActions." + (depth2 + 1) + ".Order" , rules.get(depth1).getRuleActions().get(depth2).getOrder());
if (rules.get(depth1).getRuleActions().get(depth2).getRewriteConfig() != null) {
putBodyParameter("Rules." + (depth1 + 1) + ".RuleActions." + (depth2 + 1) + ".RewriteConfig.Path" , rules.get(depth1).getRuleActions().get(depth2).getRewriteConfig().getPath());
putBodyParameter("Rules." + (depth1 + 1) + ".RuleActions." + (depth2 + 1) + ".RewriteConfig.Query" , rules.get(depth1).getRuleActions().get(depth2).getRewriteConfig().getQuery());
putBodyParameter("Rules." + (depth1 + 1) + ".RuleActions." + (depth2 + 1) + ".RewriteConfig.Host" , rules.get(depth1).getRuleActions().get(depth2).getRewriteConfig().getHost());
}
}
}
}
putBodyParameter("Rules." + (depth1 + 1) + ".Direction" , rules.get(depth1).getDirection());
}
}
}
}
public String getListenerId() {
return this.listenerId;
}
public void setListenerId(String listenerId) {
this.listenerId = listenerId;
if(listenerId != null){
putQueryParameter("ListenerId", listenerId);
}
}
public Boolean getDryRun() {
return this.dryRun;
}
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("DryRun", dryRun.toString());
}
}
public static class Rules {
private List<RuleConditionsItem> ruleConditions;
private String ruleName;
private List<TagItem> tag;
private Integer priority;
private List<RuleActionsItem> ruleActions;
private String direction;
public List<RuleConditionsItem> getRuleConditions() {
return this.ruleConditions;
}
public void setRuleConditions(List<RuleConditionsItem> ruleConditions) {
this.ruleConditions = ruleConditions;
}
public String getRuleName() {
return this.ruleName;
}
public void setRuleName(String ruleName) {
this.ruleName = ruleName;
}
public List<TagItem> getTag() {
return this.tag;
}
public void setTag(List<TagItem> tag) {
this.tag = tag;
}
public Integer getPriority() {
return this.priority;
}
public void setPriority(Integer priority) {
this.priority = priority;
}
public List<RuleActionsItem> getRuleActions() {
return this.ruleActions;
}
public void setRuleActions(List<RuleActionsItem> ruleActions) {
this.ruleActions = ruleActions;
}
public String getDirection() {
return this.direction;
}
public void setDirection(String direction) {
this.direction = direction;
}
public static class RuleConditionsItem {
private MethodConfig methodConfig;
private SourceIpConfig sourceIpConfig;
private HostConfig hostConfig;
private QueryStringConfig queryStringConfig;
private ResponseStatusCodeConfig responseStatusCodeConfig;
private PathConfig pathConfig;
private CookieConfig cookieConfig;
private String type;
private HeaderConfig headerConfig;
private ResponseHeaderConfig responseHeaderConfig;
public MethodConfig getMethodConfig() {
return this.methodConfig;
}
public void setMethodConfig(MethodConfig methodConfig) {
this.methodConfig = methodConfig;
}
public SourceIpConfig getSourceIpConfig() {
return this.sourceIpConfig;
}
public void setSourceIpConfig(SourceIpConfig sourceIpConfig) {
this.sourceIpConfig = sourceIpConfig;
}
public HostConfig getHostConfig() {
return this.hostConfig;
}
public void setHostConfig(HostConfig hostConfig) {
this.hostConfig = hostConfig;
}
public QueryStringConfig getQueryStringConfig() {
return this.queryStringConfig;
}
public void setQueryStringConfig(QueryStringConfig queryStringConfig) {
this.queryStringConfig = queryStringConfig;
}
public ResponseStatusCodeConfig getResponseStatusCodeConfig() {
return this.responseStatusCodeConfig;
}
public void setResponseStatusCodeConfig(ResponseStatusCodeConfig responseStatusCodeConfig) {
this.responseStatusCodeConfig = responseStatusCodeConfig;
}
public PathConfig getPathConfig() {
return this.pathConfig;
}
public void setPathConfig(PathConfig pathConfig) {
this.pathConfig = pathConfig;
}
public CookieConfig getCookieConfig() {
return this.cookieConfig;
}
public void setCookieConfig(CookieConfig cookieConfig) {
this.cookieConfig = cookieConfig;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public HeaderConfig getHeaderConfig() {
return this.headerConfig;
}
public void setHeaderConfig(HeaderConfig headerConfig) {
this.headerConfig = headerConfig;
}
public ResponseHeaderConfig getResponseHeaderConfig() {
return this.responseHeaderConfig;
}
public void setResponseHeaderConfig(ResponseHeaderConfig responseHeaderConfig) {
this.responseHeaderConfig = responseHeaderConfig;
}
public static class MethodConfig {
private List<String> values;
public List<String> getValues() {
return this.values;
}
public void setValues(List<String> values) {
this.values = values;
}
}
public static class SourceIpConfig {
private List<String> values;
public List<String> getValues() {
return this.values;
}
public void setValues(List<String> values) {
this.values = values;
}
}
public static class HostConfig {
private List<String> values;
public List<String> getValues() {
return this.values;
}
public void setValues(List<String> values) {
this.values = values;
}
}
public static class QueryStringConfig {
private List<ValuesItem> values;
public List<ValuesItem> getValues() {
return this.values;
}
public void setValues(List<ValuesItem> values) {
this.values = values;
}
public static class ValuesItem {
private String value;
private String key;
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
}
public static class ResponseStatusCodeConfig {
private List<String> values;
public List<String> getValues() {
return this.values;
}
public void setValues(List<String> values) {
this.values = values;
}
}
public static class PathConfig {
private List<String> values;
public List<String> getValues() {
return this.values;
}
public void setValues(List<String> values) {
this.values = values;
}
}
public static class CookieConfig {
private List<ValuesItem> values;
public List<ValuesItem> getValues() {
return this.values;
}
public void setValues(List<ValuesItem> values) {
this.values = values;
}
public static class ValuesItem {
private String value;
private String key;
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
}
public static class HeaderConfig {
private List<String> values;
private String key;
public List<String> getValues() {
return this.values;
}
public void setValues(List<String> values) {
this.values = values;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
public static class ResponseHeaderConfig {
private List<String> values;
private String key;
public List<String> getValues() {
return this.values;
}
public void setValues(List<String> values) {
this.values = values;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
}
public static class TagItem {
private String value;
private String key;
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
public static class RuleActionsItem {
private FixedResponseConfig fixedResponseConfig;
private TrafficMirrorConfig trafficMirrorConfig;
private ForwardGroupConfig forwardGroupConfig;
private RemoveHeaderConfig removeHeaderConfig;
private InsertHeaderConfig insertHeaderConfig;
private TrafficLimitConfig trafficLimitConfig;
private CorsConfig corsConfig;
private RedirectConfig redirectConfig;
private String type;
private Integer order;
private RewriteConfig rewriteConfig;
public FixedResponseConfig getFixedResponseConfig() {
return this.fixedResponseConfig;
}
public void setFixedResponseConfig(FixedResponseConfig fixedResponseConfig) {
this.fixedResponseConfig = fixedResponseConfig;
}
public TrafficMirrorConfig getTrafficMirrorConfig() {
return this.trafficMirrorConfig;
}
public void setTrafficMirrorConfig(TrafficMirrorConfig trafficMirrorConfig) {
this.trafficMirrorConfig = trafficMirrorConfig;
}
public ForwardGroupConfig getForwardGroupConfig() {
return this.forwardGroupConfig;
}
public void setForwardGroupConfig(ForwardGroupConfig forwardGroupConfig) {
this.forwardGroupConfig = forwardGroupConfig;
}
public RemoveHeaderConfig getRemoveHeaderConfig() {
return this.removeHeaderConfig;
}
public void setRemoveHeaderConfig(RemoveHeaderConfig removeHeaderConfig) {
this.removeHeaderConfig = removeHeaderConfig;
}
public InsertHeaderConfig getInsertHeaderConfig() {
return this.insertHeaderConfig;
}
public void setInsertHeaderConfig(InsertHeaderConfig insertHeaderConfig) {
this.insertHeaderConfig = insertHeaderConfig;
}
public TrafficLimitConfig getTrafficLimitConfig() {
return this.trafficLimitConfig;
}
public void setTrafficLimitConfig(TrafficLimitConfig trafficLimitConfig) {
this.trafficLimitConfig = trafficLimitConfig;
}
public CorsConfig getCorsConfig() {
return this.corsConfig;
}
public void setCorsConfig(CorsConfig corsConfig) {
this.corsConfig = corsConfig;
}
public RedirectConfig getRedirectConfig() {
return this.redirectConfig;
}
public void setRedirectConfig(RedirectConfig redirectConfig) {
this.redirectConfig = redirectConfig;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public Integer getOrder() {
return this.order;
}
public void setOrder(Integer order) {
this.order = order;
}
public RewriteConfig getRewriteConfig() {
return this.rewriteConfig;
}
public void setRewriteConfig(RewriteConfig rewriteConfig) {
this.rewriteConfig = rewriteConfig;
}
public static class FixedResponseConfig {
private String httpCode;
private String content;
private String contentType;
public String getHttpCode() {
return this.httpCode;
}
public void setHttpCode(String httpCode) {
this.httpCode = httpCode;
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
}
public String getContentType() {
return this.contentType;
}
public void setContentType(String contentType) {
this.contentType = contentType;
}
}
public static class TrafficMirrorConfig {
private MirrorGroupConfig mirrorGroupConfig;
private String targetType;
public MirrorGroupConfig getMirrorGroupConfig() {
return this.mirrorGroupConfig;
}
public void setMirrorGroupConfig(MirrorGroupConfig mirrorGroupConfig) {
this.mirrorGroupConfig = mirrorGroupConfig;
}
public String getTargetType() {
return this.targetType;
}
public void setTargetType(String targetType) {
this.targetType = targetType;
}
public static class MirrorGroupConfig {
private List<ServerGroupTuplesItem> serverGroupTuples;
public List<ServerGroupTuplesItem> getServerGroupTuples() {
return this.serverGroupTuples;
}
public void setServerGroupTuples(List<ServerGroupTuplesItem> serverGroupTuples) {
this.serverGroupTuples = serverGroupTuples;
}
public static class ServerGroupTuplesItem {
private String serverGroupId;
public String getServerGroupId() {
return this.serverGroupId;
}
public void setServerGroupId(String serverGroupId) {
this.serverGroupId = serverGroupId;
}
}
}
}
public static class ForwardGroupConfig {
private ServerGroupStickySession serverGroupStickySession;
private List<ServerGroupTuplesItem> serverGroupTuples;
public ServerGroupStickySession getServerGroupStickySession() {
return this.serverGroupStickySession;
}
public void setServerGroupStickySession(ServerGroupStickySession serverGroupStickySession) {
this.serverGroupStickySession = serverGroupStickySession;
}
public List<ServerGroupTuplesItem> getServerGroupTuples() {
return this.serverGroupTuples;
}
public void setServerGroupTuples(List<ServerGroupTuplesItem> serverGroupTuples) {
this.serverGroupTuples = serverGroupTuples;
}
public static class ServerGroupStickySession {
private Boolean enabled;
private Integer timeout;
public Boolean getEnabled() {
return this.enabled;
}
public void setEnabled(Boolean enabled) {
this.enabled = enabled;
}
public Integer getTimeout() {
return this.timeout;
}
public void setTimeout(Integer timeout) {
this.timeout = timeout;
}
}
public static class ServerGroupTuplesItem {
private String serverGroupId;
private Integer weight;
public String getServerGroupId() {
return this.serverGroupId;
}
public void setServerGroupId(String serverGroupId) {
this.serverGroupId = serverGroupId;
}
public Integer getWeight() {
return this.weight;
}
public void setWeight(Integer weight) {
this.weight = weight;
}
}
}
public static class RemoveHeaderConfig {
private String key;
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
public static class InsertHeaderConfig {
private String valueType;
private Boolean coverEnabled;
private String value;
private String key;
public String getValueType() {
return this.valueType;
}
public void setValueType(String valueType) {
this.valueType = valueType;
}
public Boolean getCoverEnabled() {
return this.coverEnabled;
}
public void setCoverEnabled(Boolean coverEnabled) {
this.coverEnabled = coverEnabled;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
public static class TrafficLimitConfig {
private Integer qPS;
private Integer perIpQps;
public Integer getQPS() {
return this.qPS;
}
public void setQPS(Integer qPS) {
this.qPS = qPS;
}
public Integer getPerIpQps() {
return this.perIpQps;
}
public void setPerIpQps(Integer perIpQps) {
this.perIpQps = perIpQps;
}
}
public static class CorsConfig {
private String allowCredentials;
private List<String> allowOrigin;
private Long maxAge;
private List<String> allowMethods;
private List<String> allowHeaders;
private List<String> exposeHeaders;
public String getAllowCredentials() {
return this.allowCredentials;
}
public void setAllowCredentials(String allowCredentials) {
this.allowCredentials = allowCredentials;
}
public List<String> getAllowOrigin() {
return this.allowOrigin;
}
public void setAllowOrigin(List<String> allowOrigin) {
this.allowOrigin = allowOrigin;
}
public Long getMaxAge() {
return this.maxAge;
}
public void setMaxAge(Long maxAge) {
this.maxAge = maxAge;
}
public List<String> getAllowMethods() {
return this.allowMethods;
}
public void setAllowMethods(List<String> allowMethods) {
this.allowMethods = allowMethods;
}
public List<String> getAllowHeaders() {
return this.allowHeaders;
}
public void setAllowHeaders(List<String> allowHeaders) {
this.allowHeaders = allowHeaders;
}
public List<String> getExposeHeaders() {
return this.exposeHeaders;
}
public void setExposeHeaders(List<String> exposeHeaders) {
this.exposeHeaders = exposeHeaders;
}
}
public static class RedirectConfig {
private String path;
private String protocol;
private String port;
private String query;
private String host;
private String httpCode;
public String getPath() {
return this.path;
}
public void setPath(String path) {
this.path = path;
}
public String getBizProtocol() {
return this.protocol;
}
public void setBizProtocol(String protocol) {
this.protocol = protocol;
}
public String getPort() {
return this.port;
}
public void setPort(String port) {
this.port = port;
}
public String getQuery() {
return this.query;
}
public void setQuery(String query) {
this.query = query;
}
public String getHost() {
return this.host;
}
public void setHost(String host) {
this.host = host;
}
public String getHttpCode() {
return this.httpCode;
}
public void setHttpCode(String httpCode) {
this.httpCode = httpCode;
}
}
public static class RewriteConfig {
private String path;
private String query;
private String host;
public String getPath() {
return this.path;
}
public void setPath(String path) {
this.path = path;
}
public String getQuery() {
return this.query;
}
public void setQuery(String query) {
this.query = query;
}
public String getHost() {
return this.host;
}
public void setHost(String host) {
this.host = host;
}
}
}
}
@Override
public Class<CreateRulesResponse> getResponseClass() {
return CreateRulesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/CreateRulesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.CreateRulesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateRulesResponse extends AcsResponse {
private String jobId;
private String requestId;
private List<RuleId> ruleIds;
public String getJobId() {
return this.jobId;
}
public void setJobId(String jobId) {
this.jobId = jobId;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<RuleId> getRuleIds() {
return this.ruleIds;
}
public void setRuleIds(List<RuleId> ruleIds) {
this.ruleIds = ruleIds;
}
public static class RuleId {
private String ruleId;
private Integer priority;
public String getRuleId() {
return this.ruleId;
}
public void setRuleId(String ruleId) {
this.ruleId = ruleId;
}
public Integer getPriority() {
return this.priority;
}
public void setPriority(Integer priority) {
this.priority = priority;
}
}
@Override
public CreateRulesResponse getInstance(UnmarshallerContext context) {
return CreateRulesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/CreateSecurityPolicyRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class CreateSecurityPolicyRequest extends RpcAcsRequest<CreateSecurityPolicyResponse> {
private String clientToken;
private String resourceGroupId;
private List<String> ciphers;
private List<Tag> tag;
private List<String> tLSVersions;
private String securityPolicyName;
private Boolean dryRun;
public CreateSecurityPolicyRequest() {
super("Alb", "2020-06-16", "CreateSecurityPolicy", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public void setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
if(resourceGroupId != null){
putQueryParameter("ResourceGroupId", resourceGroupId);
}
}
public List<String> getCiphers() {
return this.ciphers;
}
public void setCiphers(List<String> ciphers) {
this.ciphers = ciphers;
if (ciphers != null) {
for (int depth1 = 0; depth1 < ciphers.size(); depth1++) {
putQueryParameter("Ciphers." + (depth1 + 1) , ciphers.get(depth1));
}
}
}
public List<Tag> getTag() {
return this.tag;
}
public void setTag(List<Tag> tag) {
this.tag = tag;
if (tag != null) {
for (int depth1 = 0; depth1 < tag.size(); depth1++) {
if (tag.get(depth1) != null) {
putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tag.get(depth1).getValue());
putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tag.get(depth1).getKey());
}
}
}
}
public List<String> getTLSVersions() {
return this.tLSVersions;
}
public void setTLSVersions(List<String> tLSVersions) {
this.tLSVersions = tLSVersions;
if (tLSVersions != null) {
for (int depth1 = 0; depth1 < tLSVersions.size(); depth1++) {
putQueryParameter("TLSVersions." + (depth1 + 1) , tLSVersions.get(depth1));
}
}
}
public String getSecurityPolicyName() {
return this.securityPolicyName;
}
public void setSecurityPolicyName(String securityPolicyName) {
this.securityPolicyName = securityPolicyName;
if(securityPolicyName != null){
putQueryParameter("SecurityPolicyName", securityPolicyName);
}
}
public Boolean getDryRun() {
return this.dryRun;
}
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("DryRun", dryRun.toString());
}
}
public static class Tag {
private String value;
private String key;
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
@Override
public Class<CreateSecurityPolicyResponse> getResponseClass() {
return CreateSecurityPolicyResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/CreateSecurityPolicyResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.CreateSecurityPolicyResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateSecurityPolicyResponse extends AcsResponse {
private String requestId;
private String securityPolicyId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getSecurityPolicyId() {
return this.securityPolicyId;
}
public void setSecurityPolicyId(String securityPolicyId) {
this.securityPolicyId = securityPolicyId;
}
@Override
public CreateSecurityPolicyResponse getInstance(UnmarshallerContext context) {
return CreateSecurityPolicyResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/CreateServerGroupRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class CreateServerGroupRequest extends RpcAcsRequest<CreateServerGroupResponse> {
private Boolean crossZoneEnabled;
private String serverGroupName;
private String clientToken;
private HealthCheckConfig healthCheckConfig;
private SlowStartConfig slowStartConfig;
private String scheduler;
private String resourceGroupId;
private String protocol;
private Boolean upstreamKeepaliveEnabled;
private String serviceName;
private List<Tag> tag;
private StickySessionConfig stickySessionConfig;
private Boolean dryRun;
private ConnectionDrainConfig connectionDrainConfig;
private String serverGroupType;
private String vpcId;
private UchConfig uchConfig;
public CreateServerGroupRequest() {
super("Alb", "2020-06-16", "CreateServerGroup", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Boolean getCrossZoneEnabled() {
return this.crossZoneEnabled;
}
public void setCrossZoneEnabled(Boolean crossZoneEnabled) {
this.crossZoneEnabled = crossZoneEnabled;
if(crossZoneEnabled != null){
putQueryParameter("CrossZoneEnabled", crossZoneEnabled.toString());
}
}
public String getServerGroupName() {
return this.serverGroupName;
}
public void setServerGroupName(String serverGroupName) {
this.serverGroupName = serverGroupName;
if(serverGroupName != null){
putQueryParameter("ServerGroupName", serverGroupName);
}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public HealthCheckConfig getHealthCheckConfig() {
return this.healthCheckConfig;
}
public void setHealthCheckConfig(HealthCheckConfig healthCheckConfig) {
this.healthCheckConfig = healthCheckConfig;
if (healthCheckConfig != null) {
if (healthCheckConfig.getHealthCheckCodes() != null) {
for (int depth1 = 0; depth1 < healthCheckConfig.getHealthCheckCodes().size(); depth1++) {
putQueryParameter("HealthCheckConfig.HealthCheckCodes." + (depth1 + 1) , healthCheckConfig.getHealthCheckCodes().get(depth1));
}
}
putQueryParameter("HealthCheckConfig.HealthCheckEnabled" , healthCheckConfig.getHealthCheckEnabled());
putQueryParameter("HealthCheckConfig.HealthCheckTimeout" , healthCheckConfig.getHealthCheckTimeout());
putQueryParameter("HealthCheckConfig.HealthCheckMethod" , healthCheckConfig.getHealthCheckMethod());
putQueryParameter("HealthCheckConfig.HealthCheckHost" , healthCheckConfig.getHealthCheckHost());
putQueryParameter("HealthCheckConfig.HealthCheckProtocol" , healthCheckConfig.getHealthCheckProtocol());
putQueryParameter("HealthCheckConfig.UnhealthyThreshold" , healthCheckConfig.getUnhealthyThreshold());
putQueryParameter("HealthCheckConfig.HealthyThreshold" , healthCheckConfig.getHealthyThreshold());
putQueryParameter("HealthCheckConfig.HealthCheckTcpFastCloseEnabled" , healthCheckConfig.getHealthCheckTcpFastCloseEnabled());
putQueryParameter("HealthCheckConfig.HealthCheckPath" , healthCheckConfig.getHealthCheckPath());
putQueryParameter("HealthCheckConfig.HealthCheckInterval" , healthCheckConfig.getHealthCheckInterval());
if (healthCheckConfig.getHealthCheckHttpCodes() != null) {
for (int depth1 = 0; depth1 < healthCheckConfig.getHealthCheckHttpCodes().size(); depth1++) {
putQueryParameter("HealthCheckConfig.HealthCheckHttpCodes." + (depth1 + 1) , healthCheckConfig.getHealthCheckHttpCodes().get(depth1));
}
}
putQueryParameter("HealthCheckConfig.HealthCheckHttpVersion" , healthCheckConfig.getHealthCheckHttpVersion());
putQueryParameter("HealthCheckConfig.HealthCheckConnectPort" , healthCheckConfig.getHealthCheckConnectPort());
}
}
public SlowStartConfig getSlowStartConfig() {
return this.slowStartConfig;
}
public void setSlowStartConfig(SlowStartConfig slowStartConfig) {
this.slowStartConfig = slowStartConfig;
if (slowStartConfig != null) {
putQueryParameter("SlowStartConfig.SlowStartDuration" , slowStartConfig.getSlowStartDuration());
putQueryParameter("SlowStartConfig.SlowStartEnabled" , slowStartConfig.getSlowStartEnabled());
}
}
public String getScheduler() {
return this.scheduler;
}
public void setScheduler(String scheduler) {
this.scheduler = scheduler;
if(scheduler != null){
putQueryParameter("Scheduler", scheduler);
}
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public void setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
if(resourceGroupId != null){
putQueryParameter("ResourceGroupId", resourceGroupId);
}
}
public String getBizProtocol() {
return this.protocol;
}
public void setBizProtocol(String protocol) {
this.protocol = protocol;
if(protocol != null){
putQueryParameter("Protocol", protocol);
}
}
public Boolean getUpstreamKeepaliveEnabled() {
return this.upstreamKeepaliveEnabled;
}
public void setUpstreamKeepaliveEnabled(Boolean upstreamKeepaliveEnabled) {
this.upstreamKeepaliveEnabled = upstreamKeepaliveEnabled;
if(upstreamKeepaliveEnabled != null){
putQueryParameter("UpstreamKeepaliveEnabled", upstreamKeepaliveEnabled.toString());
}
}
public String getServiceName() {
return this.serviceName;
}
public void setServiceName(String serviceName) {
this.serviceName = serviceName;
if(serviceName != null){
putQueryParameter("ServiceName", serviceName);
}
}
public List<Tag> getTag() {
return this.tag;
}
public void setTag(List<Tag> tag) {
this.tag = tag;
if (tag != null) {
for (int depth1 = 0; depth1 < tag.size(); depth1++) {
if (tag.get(depth1) != null) {
putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tag.get(depth1).getValue());
putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tag.get(depth1).getKey());
}
}
}
}
public StickySessionConfig getStickySessionConfig() {
return this.stickySessionConfig;
}
public void setStickySessionConfig(StickySessionConfig stickySessionConfig) {
this.stickySessionConfig = stickySessionConfig;
if (stickySessionConfig != null) {
putQueryParameter("StickySessionConfig.StickySessionEnabled" , stickySessionConfig.getStickySessionEnabled());
putQueryParameter("StickySessionConfig.Cookie" , stickySessionConfig.getCookie());
putQueryParameter("StickySessionConfig.CookieTimeout" , stickySessionConfig.getCookieTimeout());
putQueryParameter("StickySessionConfig.StickySessionType" , stickySessionConfig.getStickySessionType());
}
}
public Boolean getDryRun() {
return this.dryRun;
}
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("DryRun", dryRun.toString());
}
}
public ConnectionDrainConfig getConnectionDrainConfig() {
return this.connectionDrainConfig;
}
public void setConnectionDrainConfig(ConnectionDrainConfig connectionDrainConfig) {
this.connectionDrainConfig = connectionDrainConfig;
if (connectionDrainConfig != null) {
putQueryParameter("ConnectionDrainConfig.ConnectionDrainEnabled" , connectionDrainConfig.getConnectionDrainEnabled());
putQueryParameter("ConnectionDrainConfig.ConnectionDrainTimeout" , connectionDrainConfig.getConnectionDrainTimeout());
}
}
public String getServerGroupType() {
return this.serverGroupType;
}
public void setServerGroupType(String serverGroupType) {
this.serverGroupType = serverGroupType;
if(serverGroupType != null){
putQueryParameter("ServerGroupType", serverGroupType);
}
}
public String getVpcId() {
return this.vpcId;
}
public void setVpcId(String vpcId) {
this.vpcId = vpcId;
if(vpcId != null){
putQueryParameter("VpcId", vpcId);
}
}
public UchConfig getUchConfig() {
return this.uchConfig;
}
public void setUchConfig(UchConfig uchConfig) {
this.uchConfig = uchConfig;
if (uchConfig != null) {
putQueryParameter("UchConfig.Type" , uchConfig.getType());
putQueryParameter("UchConfig.Value" , uchConfig.getValue());
}
}
public static class HealthCheckConfig {
private List<String> healthCheckCodes;
private Boolean healthCheckEnabled;
private Integer healthCheckTimeout;
private String healthCheckMethod;
private String healthCheckHost;
private String healthCheckProtocol;
private Integer unhealthyThreshold;
private Integer healthyThreshold;
private Boolean healthCheckTcpFastCloseEnabled;
private String healthCheckPath;
private Integer healthCheckInterval;
private List<String> healthCheckHttpCodes;
private String healthCheckHttpVersion;
private Integer healthCheckConnectPort;
public List<String> getHealthCheckCodes() {
return this.healthCheckCodes;
}
public void setHealthCheckCodes(List<String> healthCheckCodes) {
this.healthCheckCodes = healthCheckCodes;
}
public Boolean getHealthCheckEnabled() {
return this.healthCheckEnabled;
}
public void setHealthCheckEnabled(Boolean healthCheckEnabled) {
this.healthCheckEnabled = healthCheckEnabled;
}
public Integer getHealthCheckTimeout() {
return this.healthCheckTimeout;
}
public void setHealthCheckTimeout(Integer healthCheckTimeout) {
this.healthCheckTimeout = healthCheckTimeout;
}
public String getHealthCheckMethod() {
return this.healthCheckMethod;
}
public void setHealthCheckMethod(String healthCheckMethod) {
this.healthCheckMethod = healthCheckMethod;
}
public String getHealthCheckHost() {
return this.healthCheckHost;
}
public void setHealthCheckHost(String healthCheckHost) {
this.healthCheckHost = healthCheckHost;
}
public String getHealthCheckProtocol() {
return this.healthCheckProtocol;
}
public void setHealthCheckProtocol(String healthCheckProtocol) {
this.healthCheckProtocol = healthCheckProtocol;
}
public Integer getUnhealthyThreshold() {
return this.unhealthyThreshold;
}
public void setUnhealthyThreshold(Integer unhealthyThreshold) {
this.unhealthyThreshold = unhealthyThreshold;
}
public Integer getHealthyThreshold() {
return this.healthyThreshold;
}
public void setHealthyThreshold(Integer healthyThreshold) {
this.healthyThreshold = healthyThreshold;
}
public Boolean getHealthCheckTcpFastCloseEnabled() {
return this.healthCheckTcpFastCloseEnabled;
}
public void setHealthCheckTcpFastCloseEnabled(Boolean healthCheckTcpFastCloseEnabled) {
this.healthCheckTcpFastCloseEnabled = healthCheckTcpFastCloseEnabled;
}
public String getHealthCheckPath() {
return this.healthCheckPath;
}
public void setHealthCheckPath(String healthCheckPath) {
this.healthCheckPath = healthCheckPath;
}
public Integer getHealthCheckInterval() {
return this.healthCheckInterval;
}
public void setHealthCheckInterval(Integer healthCheckInterval) {
this.healthCheckInterval = healthCheckInterval;
}
public List<String> getHealthCheckHttpCodes() {
return this.healthCheckHttpCodes;
}
public void setHealthCheckHttpCodes(List<String> healthCheckHttpCodes) {
this.healthCheckHttpCodes = healthCheckHttpCodes;
}
public String getHealthCheckHttpVersion() {
return this.healthCheckHttpVersion;
}
public void setHealthCheckHttpVersion(String healthCheckHttpVersion) {
this.healthCheckHttpVersion = healthCheckHttpVersion;
}
public Integer getHealthCheckConnectPort() {
return this.healthCheckConnectPort;
}
public void setHealthCheckConnectPort(Integer healthCheckConnectPort) {
this.healthCheckConnectPort = healthCheckConnectPort;
}
}
public static class SlowStartConfig {
private Integer slowStartDuration;
private Boolean slowStartEnabled;
public Integer getSlowStartDuration() {
return this.slowStartDuration;
}
public void setSlowStartDuration(Integer slowStartDuration) {
this.slowStartDuration = slowStartDuration;
}
public Boolean getSlowStartEnabled() {
return this.slowStartEnabled;
}
public void setSlowStartEnabled(Boolean slowStartEnabled) {
this.slowStartEnabled = slowStartEnabled;
}
}
public static class Tag {
private String value;
private String key;
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
public static class StickySessionConfig {
private Boolean stickySessionEnabled;
private String cookie;
private Integer cookieTimeout;
private String stickySessionType;
public Boolean getStickySessionEnabled() {
return this.stickySessionEnabled;
}
public void setStickySessionEnabled(Boolean stickySessionEnabled) {
this.stickySessionEnabled = stickySessionEnabled;
}
public String getCookie() {
return this.cookie;
}
public void setCookie(String cookie) {
this.cookie = cookie;
}
public Integer getCookieTimeout() {
return this.cookieTimeout;
}
public void setCookieTimeout(Integer cookieTimeout) {
this.cookieTimeout = cookieTimeout;
}
public String getStickySessionType() {
return this.stickySessionType;
}
public void setStickySessionType(String stickySessionType) {
this.stickySessionType = stickySessionType;
}
}
public static class ConnectionDrainConfig {
private Boolean connectionDrainEnabled;
private Integer connectionDrainTimeout;
public Boolean getConnectionDrainEnabled() {
return this.connectionDrainEnabled;
}
public void setConnectionDrainEnabled(Boolean connectionDrainEnabled) {
this.connectionDrainEnabled = connectionDrainEnabled;
}
public Integer getConnectionDrainTimeout() {
return this.connectionDrainTimeout;
}
public void setConnectionDrainTimeout(Integer connectionDrainTimeout) {
this.connectionDrainTimeout = connectionDrainTimeout;
}
}
public static class UchConfig {
private String type;
private String value;
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
}
@Override
public Class<CreateServerGroupResponse> getResponseClass() {
return CreateServerGroupResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/CreateServerGroupResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.CreateServerGroupResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateServerGroupResponse extends AcsResponse {
private String jobId;
private String requestId;
private String serverGroupId;
public String getJobId() {
return this.jobId;
}
public void setJobId(String jobId) {
this.jobId = jobId;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getServerGroupId() {
return this.serverGroupId;
}
public void setServerGroupId(String serverGroupId) {
this.serverGroupId = serverGroupId;
}
@Override
public CreateServerGroupResponse getInstance(UnmarshallerContext context) {
return CreateServerGroupResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/DeleteAScriptsRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class DeleteAScriptsRequest extends RpcAcsRequest<DeleteAScriptsResponse> {
private String clientToken;
private Boolean dryRun;
private List<String> aScriptIdss;
public DeleteAScriptsRequest() {
super("Alb", "2020-06-16", "DeleteAScripts", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public Boolean getDryRun() {
return this.dryRun;
}
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("DryRun", dryRun.toString());
}
}
public List<String> getAScriptIdss() {
return this.aScriptIdss;
}
public void setAScriptIdss(List<String> aScriptIdss) {
this.aScriptIdss = aScriptIdss;
if (aScriptIdss != null) {
for (int i = 0; i < aScriptIdss.size(); i++) {
putQueryParameter("AScriptIds." + (i + 1) , aScriptIdss.get(i));
}
}
}
@Override
public Class<DeleteAScriptsResponse> getResponseClass() {
return DeleteAScriptsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/DeleteAScriptsResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.DeleteAScriptsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DeleteAScriptsResponse extends AcsResponse {
private String jobId;
private String requestId;
public String getJobId() {
return this.jobId;
}
public void setJobId(String jobId) {
this.jobId = jobId;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public DeleteAScriptsResponse getInstance(UnmarshallerContext context) {
return DeleteAScriptsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/DeleteAclRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class DeleteAclRequest extends RpcAcsRequest<DeleteAclResponse> {
private String clientToken;
private String aclId;
private Boolean dryRun;
public DeleteAclRequest() {
super("Alb", "2020-06-16", "DeleteAcl", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public String getAclId() {
return this.aclId;
}
public void setAclId(String aclId) {
this.aclId = aclId;
if(aclId != null){
putQueryParameter("AclId", aclId);
}
}
public Boolean getDryRun() {
return this.dryRun;
}
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("DryRun", dryRun.toString());
}
}
@Override
public Class<DeleteAclResponse> getResponseClass() {
return DeleteAclResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/DeleteAclResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.DeleteAclResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DeleteAclResponse extends AcsResponse {
private String jobId;
private String requestId;
public String getJobId() {
return this.jobId;
}
public void setJobId(String jobId) {
this.jobId = jobId;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public DeleteAclResponse getInstance(UnmarshallerContext context) {
return DeleteAclResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/DeleteHealthCheckTemplatesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class DeleteHealthCheckTemplatesRequest extends RpcAcsRequest<DeleteHealthCheckTemplatesResponse> {
private String clientToken;
private Boolean dryRun;
private List<String> healthCheckTemplateIds;
public DeleteHealthCheckTemplatesRequest() {
super("Alb", "2020-06-16", "DeleteHealthCheckTemplates", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public Boolean getDryRun() {
return this.dryRun;
}
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("DryRun", dryRun.toString());
}
}
public List<String> getHealthCheckTemplateIds() {
return this.healthCheckTemplateIds;
}
public void setHealthCheckTemplateIds(List<String> healthCheckTemplateIds) {
this.healthCheckTemplateIds = healthCheckTemplateIds;
if (healthCheckTemplateIds != null) {
for (int depth1 = 0; depth1 < healthCheckTemplateIds.size(); depth1++) {
putQueryParameter("HealthCheckTemplateIds." + (depth1 + 1) , healthCheckTemplateIds.get(depth1));
}
}
}
@Override
public Class<DeleteHealthCheckTemplatesResponse> getResponseClass() {
return DeleteHealthCheckTemplatesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/DeleteHealthCheckTemplatesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.DeleteHealthCheckTemplatesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DeleteHealthCheckTemplatesResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public DeleteHealthCheckTemplatesResponse getInstance(UnmarshallerContext context) {
return DeleteHealthCheckTemplatesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/DeleteListenerRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class DeleteListenerRequest extends RpcAcsRequest<DeleteListenerResponse> {
private String clientToken;
private String listenerId;
private Boolean dryRun;
public DeleteListenerRequest() {
super("Alb", "2020-06-16", "DeleteListener", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public String getListenerId() {
return this.listenerId;
}
public void setListenerId(String listenerId) {
this.listenerId = listenerId;
if(listenerId != null){
putQueryParameter("ListenerId", listenerId);
}
}
public Boolean getDryRun() {
return this.dryRun;
}
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("DryRun", dryRun.toString());
}
}
@Override
public Class<DeleteListenerResponse> getResponseClass() {
return DeleteListenerResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/DeleteListenerResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.DeleteListenerResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DeleteListenerResponse extends AcsResponse {
private String jobId;
private String requestId;
public String getJobId() {
return this.jobId;
}
public void setJobId(String jobId) {
this.jobId = jobId;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public DeleteListenerResponse getInstance(UnmarshallerContext context) {
return DeleteListenerResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/DeleteLoadBalancerRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class DeleteLoadBalancerRequest extends RpcAcsRequest<DeleteLoadBalancerResponse> {
private String clientToken;
private Boolean dryRun;
private String loadBalancerId;
public DeleteLoadBalancerRequest() {
super("Alb", "2020-06-16", "DeleteLoadBalancer", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public Boolean getDryRun() {
return this.dryRun;
}
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("DryRun", dryRun.toString());
}
}
public String getLoadBalancerId() {
return this.loadBalancerId;
}
public void setLoadBalancerId(String loadBalancerId) {
this.loadBalancerId = loadBalancerId;
if(loadBalancerId != null){
putQueryParameter("LoadBalancerId", loadBalancerId);
}
}
@Override
public Class<DeleteLoadBalancerResponse> getResponseClass() {
return DeleteLoadBalancerResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/DeleteLoadBalancerResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.DeleteLoadBalancerResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DeleteLoadBalancerResponse extends AcsResponse {
private String jobId;
private String requestId;
public String getJobId() {
return this.jobId;
}
public void setJobId(String jobId) {
this.jobId = jobId;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public DeleteLoadBalancerResponse getInstance(UnmarshallerContext context) {
return DeleteLoadBalancerResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/DeleteRuleRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class DeleteRuleRequest extends RpcAcsRequest<DeleteRuleResponse> {
private String clientToken;
private Boolean dryRun;
private String ruleId;
public DeleteRuleRequest() {
super("Alb", "2020-06-16", "DeleteRule", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public Boolean getDryRun() {
return this.dryRun;
}
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("DryRun", dryRun.toString());
}
}
public String getRuleId() {
return this.ruleId;
}
public void setRuleId(String ruleId) {
this.ruleId = ruleId;
if(ruleId != null){
putQueryParameter("RuleId", ruleId);
}
}
@Override
public Class<DeleteRuleResponse> getResponseClass() {
return DeleteRuleResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/DeleteRuleResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.DeleteRuleResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DeleteRuleResponse extends AcsResponse {
private String jobId;
private String requestId;
public String getJobId() {
return this.jobId;
}
public void setJobId(String jobId) {
this.jobId = jobId;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public DeleteRuleResponse getInstance(UnmarshallerContext context) {
return DeleteRuleResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/DeleteRulesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class DeleteRulesRequest extends RpcAcsRequest<DeleteRulesResponse> {
private String clientToken;
private Boolean dryRun;
private List<String> ruleIdss;
public DeleteRulesRequest() {
super("Alb", "2020-06-16", "DeleteRules", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public Boolean getDryRun() {
return this.dryRun;
}
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("DryRun", dryRun.toString());
}
}
public List<String> getRuleIdss() {
return this.ruleIdss;
}
public void setRuleIdss(List<String> ruleIdss) {
this.ruleIdss = ruleIdss;
if (ruleIdss != null) {
for (int i = 0; i < ruleIdss.size(); i++) {
putQueryParameter("RuleIds." + (i + 1) , ruleIdss.get(i));
}
}
}
@Override
public Class<DeleteRulesResponse> getResponseClass() {
return DeleteRulesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/DeleteRulesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.DeleteRulesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DeleteRulesResponse extends AcsResponse {
private String jobId;
private String requestId;
public String getJobId() {
return this.jobId;
}
public void setJobId(String jobId) {
this.jobId = jobId;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public DeleteRulesResponse getInstance(UnmarshallerContext context) {
return DeleteRulesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/DeleteSecurityPolicyRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class DeleteSecurityPolicyRequest extends RpcAcsRequest<DeleteSecurityPolicyResponse> {
private String clientToken;
private Boolean dryRun;
private String securityPolicyId;
public DeleteSecurityPolicyRequest() {
super("Alb", "2020-06-16", "DeleteSecurityPolicy", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public Boolean getDryRun() {
return this.dryRun;
}
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("DryRun", dryRun.toString());
}
}
public String getSecurityPolicyId() {
return this.securityPolicyId;
}
public void setSecurityPolicyId(String securityPolicyId) {
this.securityPolicyId = securityPolicyId;
if(securityPolicyId != null){
putQueryParameter("SecurityPolicyId", securityPolicyId);
}
}
@Override
public Class<DeleteSecurityPolicyResponse> getResponseClass() {
return DeleteSecurityPolicyResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/DeleteSecurityPolicyResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.DeleteSecurityPolicyResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DeleteSecurityPolicyResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public DeleteSecurityPolicyResponse getInstance(UnmarshallerContext context) {
return DeleteSecurityPolicyResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/DeleteServerGroupRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class DeleteServerGroupRequest extends RpcAcsRequest<DeleteServerGroupResponse> {
private String clientToken;
private String serverGroupId;
private Boolean dryRun;
public DeleteServerGroupRequest() {
super("Alb", "2020-06-16", "DeleteServerGroup", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public String getServerGroupId() {
return this.serverGroupId;
}
public void setServerGroupId(String serverGroupId) {
this.serverGroupId = serverGroupId;
if(serverGroupId != null){
putQueryParameter("ServerGroupId", serverGroupId);
}
}
public Boolean getDryRun() {
return this.dryRun;
}
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("DryRun", dryRun.toString());
}
}
@Override
public Class<DeleteServerGroupResponse> getResponseClass() {
return DeleteServerGroupResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/DeleteServerGroupResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.DeleteServerGroupResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DeleteServerGroupResponse extends AcsResponse {
private String jobId;
private String requestId;
public String getJobId() {
return this.jobId;
}
public void setJobId(String jobId) {
this.jobId = jobId;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public DeleteServerGroupResponse getInstance(UnmarshallerContext context) {
return DeleteServerGroupResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/DescribeRegionsRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeRegionsRequest extends RpcAcsRequest<DescribeRegionsResponse> {
private String acceptLanguage;
public DescribeRegionsRequest() {
super("Alb", "2020-06-16", "DescribeRegions", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getAcceptLanguage() {
return this.acceptLanguage;
}
public void setAcceptLanguage(String acceptLanguage) {
this.acceptLanguage = acceptLanguage;
if(acceptLanguage != null){
putQueryParameter("AcceptLanguage", acceptLanguage);
}
}
@Override
public Class<DescribeRegionsResponse> getResponseClass() {
return DescribeRegionsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/DescribeRegionsResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.DescribeRegionsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeRegionsResponse extends AcsResponse {
private String requestId;
private List<Region> regions;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<Region> getRegions() {
return this.regions;
}
public void setRegions(List<Region> regions) {
this.regions = regions;
}
public static class Region {
private String localName;
private String regionEndpoint;
private String regionId;
public String getLocalName() {
return this.localName;
}
public void setLocalName(String localName) {
this.localName = localName;
}
public String getRegionEndpoint() {
return this.regionEndpoint;
}
public void setRegionEndpoint(String regionEndpoint) {
this.regionEndpoint = regionEndpoint;
}
public String getRegionId() {
return this.regionId;
}
public void setRegionId(String regionId) {
this.regionId = regionId;
}
}
@Override
public DescribeRegionsResponse getInstance(UnmarshallerContext context) {
return DescribeRegionsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/DescribeZonesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeZonesRequest extends RpcAcsRequest<DescribeZonesResponse> {
private String acceptLanguage;
public DescribeZonesRequest() {
super("Alb", "2020-06-16", "DescribeZones", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getAcceptLanguage() {
return this.acceptLanguage;
}
public void setAcceptLanguage(String acceptLanguage) {
this.acceptLanguage = acceptLanguage;
if(acceptLanguage != null){
putQueryParameter("AcceptLanguage", acceptLanguage);
}
}
@Override
public Class<DescribeZonesResponse> getResponseClass() {
return DescribeZonesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/DescribeZonesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.DescribeZonesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeZonesResponse extends AcsResponse {
private String requestId;
private List<Zone> zones;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<Zone> getZones() {
return this.zones;
}
public void setZones(List<Zone> zones) {
this.zones = zones;
}
public static class Zone {
private String localName;
private String zoneId;
public String getLocalName() {
return this.localName;
}
public void setLocalName(String localName) {
this.localName = localName;
}
public String getZoneId() {
return this.zoneId;
}
public void setZoneId(String zoneId) {
this.zoneId = zoneId;
}
}
@Override
public DescribeZonesResponse getInstance(UnmarshallerContext context) {
return DescribeZonesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/DetachCommonBandwidthPackageFromLoadBalancerRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class DetachCommonBandwidthPackageFromLoadBalancerRequest extends RpcAcsRequest<DetachCommonBandwidthPackageFromLoadBalancerResponse> {
private String clientToken;
private String bandwidthPackageId;
private Boolean dryRun;
private String loadBalancerId;
public DetachCommonBandwidthPackageFromLoadBalancerRequest() {
super("Alb", "2020-06-16", "DetachCommonBandwidthPackageFromLoadBalancer", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public String getBandwidthPackageId() {
return this.bandwidthPackageId;
}
public void setBandwidthPackageId(String bandwidthPackageId) {
this.bandwidthPackageId = bandwidthPackageId;
if(bandwidthPackageId != null){
putQueryParameter("BandwidthPackageId", bandwidthPackageId);
}
}
public Boolean getDryRun() {
return this.dryRun;
}
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("DryRun", dryRun.toString());
}
}
public String getLoadBalancerId() {
return this.loadBalancerId;
}
public void setLoadBalancerId(String loadBalancerId) {
this.loadBalancerId = loadBalancerId;
if(loadBalancerId != null){
putQueryParameter("LoadBalancerId", loadBalancerId);
}
}
@Override
public Class<DetachCommonBandwidthPackageFromLoadBalancerResponse> getResponseClass() {
return DetachCommonBandwidthPackageFromLoadBalancerResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/DetachCommonBandwidthPackageFromLoadBalancerResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.DetachCommonBandwidthPackageFromLoadBalancerResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DetachCommonBandwidthPackageFromLoadBalancerResponse extends AcsResponse {
private String requestId;
private String jobId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getJobId() {
return this.jobId;
}
public void setJobId(String jobId) {
this.jobId = jobId;
}
@Override
public DetachCommonBandwidthPackageFromLoadBalancerResponse getInstance(UnmarshallerContext context) {
return DetachCommonBandwidthPackageFromLoadBalancerResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/DisableDeletionProtectionRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class DisableDeletionProtectionRequest extends RpcAcsRequest<DisableDeletionProtectionResponse> {
private String clientToken;
private String resourceId;
private Boolean dryRun;
public DisableDeletionProtectionRequest() {
super("Alb", "2020-06-16", "DisableDeletionProtection", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public String getResourceId() {
return this.resourceId;
}
public void setResourceId(String resourceId) {
this.resourceId = resourceId;
if(resourceId != null){
putQueryParameter("ResourceId", resourceId);
}
}
public Boolean getDryRun() {
return this.dryRun;
}
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("DryRun", dryRun.toString());
}
}
@Override
public Class<DisableDeletionProtectionResponse> getResponseClass() {
return DisableDeletionProtectionResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/DisableDeletionProtectionResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.DisableDeletionProtectionResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DisableDeletionProtectionResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public DisableDeletionProtectionResponse getInstance(UnmarshallerContext context) {
return DisableDeletionProtectionResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/DisableLoadBalancerAccessLogRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class DisableLoadBalancerAccessLogRequest extends RpcAcsRequest<DisableLoadBalancerAccessLogResponse> {
private String clientToken;
private Boolean dryRun;
private String loadBalancerId;
public DisableLoadBalancerAccessLogRequest() {
super("Alb", "2020-06-16", "DisableLoadBalancerAccessLog", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public Boolean getDryRun() {
return this.dryRun;
}
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("DryRun", dryRun.toString());
}
}
public String getLoadBalancerId() {
return this.loadBalancerId;
}
public void setLoadBalancerId(String loadBalancerId) {
this.loadBalancerId = loadBalancerId;
if(loadBalancerId != null){
putQueryParameter("LoadBalancerId", loadBalancerId);
}
}
@Override
public Class<DisableLoadBalancerAccessLogResponse> getResponseClass() {
return DisableLoadBalancerAccessLogResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/DisableLoadBalancerAccessLogResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.DisableLoadBalancerAccessLogResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DisableLoadBalancerAccessLogResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public DisableLoadBalancerAccessLogResponse getInstance(UnmarshallerContext context) {
return DisableLoadBalancerAccessLogResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/DisableLoadBalancerIpv6InternetRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class DisableLoadBalancerIpv6InternetRequest extends RpcAcsRequest<DisableLoadBalancerIpv6InternetResponse> {
private String clientToken;
private Boolean dryRun;
private String loadBalancerId;
public DisableLoadBalancerIpv6InternetRequest() {
super("Alb", "2020-06-16", "DisableLoadBalancerIpv6Internet", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public Boolean getDryRun() {
return this.dryRun;
}
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("DryRun", dryRun.toString());
}
}
public String getLoadBalancerId() {
return this.loadBalancerId;
}
public void setLoadBalancerId(String loadBalancerId) {
this.loadBalancerId = loadBalancerId;
if(loadBalancerId != null){
putQueryParameter("LoadBalancerId", loadBalancerId);
}
}
@Override
public Class<DisableLoadBalancerIpv6InternetResponse> getResponseClass() {
return DisableLoadBalancerIpv6InternetResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/DisableLoadBalancerIpv6InternetResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.DisableLoadBalancerIpv6InternetResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DisableLoadBalancerIpv6InternetResponse extends AcsResponse {
private String requestId;
private String jobId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getJobId() {
return this.jobId;
}
public void setJobId(String jobId) {
this.jobId = jobId;
}
@Override
public DisableLoadBalancerIpv6InternetResponse getInstance(UnmarshallerContext context) {
return DisableLoadBalancerIpv6InternetResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/DissociateAclsFromListenerRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class DissociateAclsFromListenerRequest extends RpcAcsRequest<DissociateAclsFromListenerResponse> {
private String clientToken;
private List<String> aclIds;
private String listenerId;
private Boolean dryRun;
public DissociateAclsFromListenerRequest() {
super("Alb", "2020-06-16", "DissociateAclsFromListener", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public List<String> getAclIds() {
return this.aclIds;
}
public void setAclIds(List<String> aclIds) {
this.aclIds = aclIds;
if (aclIds != null) {
for (int depth1 = 0; depth1 < aclIds.size(); depth1++) {
putQueryParameter("AclIds." + (depth1 + 1) , aclIds.get(depth1));
}
}
}
public String getListenerId() {
return this.listenerId;
}
public void setListenerId(String listenerId) {
this.listenerId = listenerId;
if(listenerId != null){
putQueryParameter("ListenerId", listenerId);
}
}
public Boolean getDryRun() {
return this.dryRun;
}
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("DryRun", dryRun.toString());
}
}
@Override
public Class<DissociateAclsFromListenerResponse> getResponseClass() {
return DissociateAclsFromListenerResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/DissociateAclsFromListenerResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.DissociateAclsFromListenerResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DissociateAclsFromListenerResponse extends AcsResponse {
private String jobId;
private String requestId;
public String getJobId() {
return this.jobId;
}
public void setJobId(String jobId) {
this.jobId = jobId;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public DissociateAclsFromListenerResponse getInstance(UnmarshallerContext context) {
return DissociateAclsFromListenerResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/DissociateAdditionalCertificatesFromListenerRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class DissociateAdditionalCertificatesFromListenerRequest extends RpcAcsRequest<DissociateAdditionalCertificatesFromListenerResponse> {
private String clientToken;
private String listenerId;
private Boolean dryRun;
private List<Certificates> certificates;
public DissociateAdditionalCertificatesFromListenerRequest() {
super("Alb", "2020-06-16", "DissociateAdditionalCertificatesFromListener", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public String getListenerId() {
return this.listenerId;
}
public void setListenerId(String listenerId) {
this.listenerId = listenerId;
if(listenerId != null){
putQueryParameter("ListenerId", listenerId);
}
}
public Boolean getDryRun() {
return this.dryRun;
}
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("DryRun", dryRun.toString());
}
}
public List<Certificates> getCertificates() {
return this.certificates;
}
public void setCertificates(List<Certificates> certificates) {
this.certificates = certificates;
if (certificates != null) {
for (int depth1 = 0; depth1 < certificates.size(); depth1++) {
if (certificates.get(depth1) != null) {
putQueryParameter("Certificates." + (depth1 + 1) + ".CertificateId" , certificates.get(depth1).getCertificateId());
}
}
}
}
public static class Certificates {
private String certificateId;
public String getCertificateId() {
return this.certificateId;
}
public void setCertificateId(String certificateId) {
this.certificateId = certificateId;
}
}
@Override
public Class<DissociateAdditionalCertificatesFromListenerResponse> getResponseClass() {
return DissociateAdditionalCertificatesFromListenerResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/DissociateAdditionalCertificatesFromListenerResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.DissociateAdditionalCertificatesFromListenerResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DissociateAdditionalCertificatesFromListenerResponse extends AcsResponse {
private String jobId;
private String requestId;
public String getJobId() {
return this.jobId;
}
public void setJobId(String jobId) {
this.jobId = jobId;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public DissociateAdditionalCertificatesFromListenerResponse getInstance(UnmarshallerContext context) {
return DissociateAdditionalCertificatesFromListenerResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/EnableDeletionProtectionRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class EnableDeletionProtectionRequest extends RpcAcsRequest<EnableDeletionProtectionResponse> {
private String clientToken;
private String resourceId;
private Boolean dryRun;
public EnableDeletionProtectionRequest() {
super("Alb", "2020-06-16", "EnableDeletionProtection", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public String getResourceId() {
return this.resourceId;
}
public void setResourceId(String resourceId) {
this.resourceId = resourceId;
if(resourceId != null){
putQueryParameter("ResourceId", resourceId);
}
}
public Boolean getDryRun() {
return this.dryRun;
}
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("DryRun", dryRun.toString());
}
}
@Override
public Class<EnableDeletionProtectionResponse> getResponseClass() {
return EnableDeletionProtectionResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/EnableDeletionProtectionResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.EnableDeletionProtectionResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class EnableDeletionProtectionResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public EnableDeletionProtectionResponse getInstance(UnmarshallerContext context) {
return EnableDeletionProtectionResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/EnableLoadBalancerAccessLogRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class EnableLoadBalancerAccessLogRequest extends RpcAcsRequest<EnableLoadBalancerAccessLogResponse> {
private String logProject;
private String clientToken;
private Boolean dryRun;
private String loadBalancerId;
private String logStore;
public EnableLoadBalancerAccessLogRequest() {
super("Alb", "2020-06-16", "EnableLoadBalancerAccessLog", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getLogProject() {
return this.logProject;
}
public void setLogProject(String logProject) {
this.logProject = logProject;
if(logProject != null){
putQueryParameter("LogProject", logProject);
}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public Boolean getDryRun() {
return this.dryRun;
}
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("DryRun", dryRun.toString());
}
}
public String getLoadBalancerId() {
return this.loadBalancerId;
}
public void setLoadBalancerId(String loadBalancerId) {
this.loadBalancerId = loadBalancerId;
if(loadBalancerId != null){
putQueryParameter("LoadBalancerId", loadBalancerId);
}
}
public String getLogStore() {
return this.logStore;
}
public void setLogStore(String logStore) {
this.logStore = logStore;
if(logStore != null){
putQueryParameter("LogStore", logStore);
}
}
@Override
public Class<EnableLoadBalancerAccessLogResponse> getResponseClass() {
return EnableLoadBalancerAccessLogResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/EnableLoadBalancerAccessLogResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.EnableLoadBalancerAccessLogResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class EnableLoadBalancerAccessLogResponse extends AcsResponse {
private String requestId;
private String jobId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getJobId() {
return this.jobId;
}
public void setJobId(String jobId) {
this.jobId = jobId;
}
@Override
public EnableLoadBalancerAccessLogResponse getInstance(UnmarshallerContext context) {
return EnableLoadBalancerAccessLogResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/EnableLoadBalancerIpv6InternetRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class EnableLoadBalancerIpv6InternetRequest extends RpcAcsRequest<EnableLoadBalancerIpv6InternetResponse> {
private String clientToken;
private Boolean dryRun;
private String loadBalancerId;
public EnableLoadBalancerIpv6InternetRequest() {
super("Alb", "2020-06-16", "EnableLoadBalancerIpv6Internet", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public Boolean getDryRun() {
return this.dryRun;
}
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("DryRun", dryRun.toString());
}
}
public String getLoadBalancerId() {
return this.loadBalancerId;
}
public void setLoadBalancerId(String loadBalancerId) {
this.loadBalancerId = loadBalancerId;
if(loadBalancerId != null){
putQueryParameter("LoadBalancerId", loadBalancerId);
}
}
@Override
public Class<EnableLoadBalancerIpv6InternetResponse> getResponseClass() {
return EnableLoadBalancerIpv6InternetResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/EnableLoadBalancerIpv6InternetResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.EnableLoadBalancerIpv6InternetResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class EnableLoadBalancerIpv6InternetResponse extends AcsResponse {
private String requestId;
private String jobId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getJobId() {
return this.jobId;
}
public void setJobId(String jobId) {
this.jobId = jobId;
}
@Override
public EnableLoadBalancerIpv6InternetResponse getInstance(UnmarshallerContext context) {
return EnableLoadBalancerIpv6InternetResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/GetHealthCheckTemplateAttributeRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class GetHealthCheckTemplateAttributeRequest extends RpcAcsRequest<GetHealthCheckTemplateAttributeResponse> {
private String healthCheckTemplateId;
public GetHealthCheckTemplateAttributeRequest() {
super("Alb", "2020-06-16", "GetHealthCheckTemplateAttribute", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getHealthCheckTemplateId() {
return this.healthCheckTemplateId;
}
public void setHealthCheckTemplateId(String healthCheckTemplateId) {
this.healthCheckTemplateId = healthCheckTemplateId;
if(healthCheckTemplateId != null){
putQueryParameter("HealthCheckTemplateId", healthCheckTemplateId);
}
}
@Override
public Class<GetHealthCheckTemplateAttributeResponse> getResponseClass() {
return GetHealthCheckTemplateAttributeResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/GetHealthCheckTemplateAttributeResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.GetHealthCheckTemplateAttributeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetHealthCheckTemplateAttributeResponse extends AcsResponse {
private Integer healthCheckConnectPort;
private String healthCheckHost;
private String healthCheckHttpVersion;
private String healthCheckTemplateId;
private Integer healthCheckInterval;
private String healthCheckMethod;
private String healthCheckPath;
private String healthCheckProtocol;
private String healthCheckTemplateName;
private Integer healthCheckTimeout;
private Integer healthyThreshold;
private String requestId;
private Integer unhealthyThreshold;
private Boolean healthCheckTcpFastCloseEnabled;
private Boolean serviceManagedEnabled;
private String serviceManagedMode;
private List<Tag> tags;
private List<String> healthCheckHttpCodes;
private List<String> healthCheckCodes;
public Integer getHealthCheckConnectPort() {
return this.healthCheckConnectPort;
}
public void setHealthCheckConnectPort(Integer healthCheckConnectPort) {
this.healthCheckConnectPort = healthCheckConnectPort;
}
public String getHealthCheckHost() {
return this.healthCheckHost;
}
public void setHealthCheckHost(String healthCheckHost) {
this.healthCheckHost = healthCheckHost;
}
public String getHealthCheckHttpVersion() {
return this.healthCheckHttpVersion;
}
public void setHealthCheckHttpVersion(String healthCheckHttpVersion) {
this.healthCheckHttpVersion = healthCheckHttpVersion;
}
public String getHealthCheckTemplateId() {
return this.healthCheckTemplateId;
}
public void setHealthCheckTemplateId(String healthCheckTemplateId) {
this.healthCheckTemplateId = healthCheckTemplateId;
}
public Integer getHealthCheckInterval() {
return this.healthCheckInterval;
}
public void setHealthCheckInterval(Integer healthCheckInterval) {
this.healthCheckInterval = healthCheckInterval;
}
public String getHealthCheckMethod() {
return this.healthCheckMethod;
}
public void setHealthCheckMethod(String healthCheckMethod) {
this.healthCheckMethod = healthCheckMethod;
}
public String getHealthCheckPath() {
return this.healthCheckPath;
}
public void setHealthCheckPath(String healthCheckPath) {
this.healthCheckPath = healthCheckPath;
}
public String getHealthCheckProtocol() {
return this.healthCheckProtocol;
}
public void setHealthCheckProtocol(String healthCheckProtocol) {
this.healthCheckProtocol = healthCheckProtocol;
}
public String getHealthCheckTemplateName() {
return this.healthCheckTemplateName;
}
public void setHealthCheckTemplateName(String healthCheckTemplateName) {
this.healthCheckTemplateName = healthCheckTemplateName;
}
public Integer getHealthCheckTimeout() {
return this.healthCheckTimeout;
}
public void setHealthCheckTimeout(Integer healthCheckTimeout) {
this.healthCheckTimeout = healthCheckTimeout;
}
public Integer getHealthyThreshold() {
return this.healthyThreshold;
}
public void setHealthyThreshold(Integer healthyThreshold) {
this.healthyThreshold = healthyThreshold;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Integer getUnhealthyThreshold() {
return this.unhealthyThreshold;
}
public void setUnhealthyThreshold(Integer unhealthyThreshold) {
this.unhealthyThreshold = unhealthyThreshold;
}
public Boolean getHealthCheckTcpFastCloseEnabled() {
return this.healthCheckTcpFastCloseEnabled;
}
public void setHealthCheckTcpFastCloseEnabled(Boolean healthCheckTcpFastCloseEnabled) {
this.healthCheckTcpFastCloseEnabled = healthCheckTcpFastCloseEnabled;
}
public Boolean getServiceManagedEnabled() {
return this.serviceManagedEnabled;
}
public void setServiceManagedEnabled(Boolean serviceManagedEnabled) {
this.serviceManagedEnabled = serviceManagedEnabled;
}
public String getServiceManagedMode() {
return this.serviceManagedMode;
}
public void setServiceManagedMode(String serviceManagedMode) {
this.serviceManagedMode = serviceManagedMode;
}
public List<Tag> getTags() {
return this.tags;
}
public void setTags(List<Tag> tags) {
this.tags = tags;
}
public List<String> getHealthCheckHttpCodes() {
return this.healthCheckHttpCodes;
}
public void setHealthCheckHttpCodes(List<String> healthCheckHttpCodes) {
this.healthCheckHttpCodes = healthCheckHttpCodes;
}
public List<String> getHealthCheckCodes() {
return this.healthCheckCodes;
}
public void setHealthCheckCodes(List<String> healthCheckCodes) {
this.healthCheckCodes = healthCheckCodes;
}
public static class Tag {
private String key;
private String value;
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
}
@Override
public GetHealthCheckTemplateAttributeResponse getInstance(UnmarshallerContext context) {
return GetHealthCheckTemplateAttributeResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/GetListenerAttributeRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class GetListenerAttributeRequest extends RpcAcsRequest<GetListenerAttributeResponse> {
private String listenerId;
public GetListenerAttributeRequest() {
super("Alb", "2020-06-16", "GetListenerAttribute", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getListenerId() {
return this.listenerId;
}
public void setListenerId(String listenerId) {
this.listenerId = listenerId;
if(listenerId != null){
putQueryParameter("ListenerId", listenerId);
}
}
@Override
public Class<GetListenerAttributeResponse> getResponseClass() {
return GetListenerAttributeResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/GetListenerAttributeResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.GetListenerAttributeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetListenerAttributeResponse extends AcsResponse {
private Boolean caEnabled;
private Boolean gzipEnabled;
private Boolean http2Enabled;
private Boolean serviceManagedEnabled;
private String serviceManagedMode;
private Integer idleTimeout;
private String listenerDescription;
private String listenerId;
private Integer listenerPort;
private String listenerProtocol;
private String listenerStatus;
private String loadBalancerId;
private String requestId;
private Integer requestTimeout;
private String securityPolicyId;
private List<Certificate> certificates;
private List<Certificate1> caCertificates;
private List<DefaultAction> defaultActions;
private List<Tag> tags;
private List<AssociatedResource> associatedResources;
private AclConfig aclConfig;
private LogConfig logConfig;
private QuicConfig quicConfig;
private XForwardedForConfig xForwardedForConfig;
public Boolean getCaEnabled() {
return this.caEnabled;
}
public void setCaEnabled(Boolean caEnabled) {
this.caEnabled = caEnabled;
}
public Boolean getGzipEnabled() {
return this.gzipEnabled;
}
public void setGzipEnabled(Boolean gzipEnabled) {
this.gzipEnabled = gzipEnabled;
}
public Boolean getHttp2Enabled() {
return this.http2Enabled;
}
public void setHttp2Enabled(Boolean http2Enabled) {
this.http2Enabled = http2Enabled;
}
public Boolean getServiceManagedEnabled() {
return this.serviceManagedEnabled;
}
public void setServiceManagedEnabled(Boolean serviceManagedEnabled) {
this.serviceManagedEnabled = serviceManagedEnabled;
}
public String getServiceManagedMode() {
return this.serviceManagedMode;
}
public void setServiceManagedMode(String serviceManagedMode) {
this.serviceManagedMode = serviceManagedMode;
}
public Integer getIdleTimeout() {
return this.idleTimeout;
}
public void setIdleTimeout(Integer idleTimeout) {
this.idleTimeout = idleTimeout;
}
public String getListenerDescription() {
return this.listenerDescription;
}
public void setListenerDescription(String listenerDescription) {
this.listenerDescription = listenerDescription;
}
public String getListenerId() {
return this.listenerId;
}
public void setListenerId(String listenerId) {
this.listenerId = listenerId;
}
public Integer getListenerPort() {
return this.listenerPort;
}
public void setListenerPort(Integer listenerPort) {
this.listenerPort = listenerPort;
}
public String getListenerProtocol() {
return this.listenerProtocol;
}
public void setListenerProtocol(String listenerProtocol) {
this.listenerProtocol = listenerProtocol;
}
public String getListenerStatus() {
return this.listenerStatus;
}
public void setListenerStatus(String listenerStatus) {
this.listenerStatus = listenerStatus;
}
public String getLoadBalancerId() {
return this.loadBalancerId;
}
public void setLoadBalancerId(String loadBalancerId) {
this.loadBalancerId = loadBalancerId;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Integer getRequestTimeout() {
return this.requestTimeout;
}
public void setRequestTimeout(Integer requestTimeout) {
this.requestTimeout = requestTimeout;
}
public String getSecurityPolicyId() {
return this.securityPolicyId;
}
public void setSecurityPolicyId(String securityPolicyId) {
this.securityPolicyId = securityPolicyId;
}
public List<Certificate> getCertificates() {
return this.certificates;
}
public void setCertificates(List<Certificate> certificates) {
this.certificates = certificates;
}
public List<Certificate1> getCaCertificates() {
return this.caCertificates;
}
public void setCaCertificates(List<Certificate1> caCertificates) {
this.caCertificates = caCertificates;
}
public List<DefaultAction> getDefaultActions() {
return this.defaultActions;
}
public void setDefaultActions(List<DefaultAction> defaultActions) {
this.defaultActions = defaultActions;
}
public List<Tag> getTags() {
return this.tags;
}
public void setTags(List<Tag> tags) {
this.tags = tags;
}
public List<AssociatedResource> getAssociatedResources() {
return this.associatedResources;
}
public void setAssociatedResources(List<AssociatedResource> associatedResources) {
this.associatedResources = associatedResources;
}
public AclConfig getAclConfig() {
return this.aclConfig;
}
public void setAclConfig(AclConfig aclConfig) {
this.aclConfig = aclConfig;
}
public LogConfig getLogConfig() {
return this.logConfig;
}
public void setLogConfig(LogConfig logConfig) {
this.logConfig = logConfig;
}
public QuicConfig getQuicConfig() {
return this.quicConfig;
}
public void setQuicConfig(QuicConfig quicConfig) {
this.quicConfig = quicConfig;
}
public XForwardedForConfig getXForwardedForConfig() {
return this.xForwardedForConfig;
}
public void setXForwardedForConfig(XForwardedForConfig xForwardedForConfig) {
this.xForwardedForConfig = xForwardedForConfig;
}
public static class Certificate {
private String certificateId;
public String getCertificateId() {
return this.certificateId;
}
public void setCertificateId(String certificateId) {
this.certificateId = certificateId;
}
}
public static class Certificate1 {
private String certificateId;
private String status;
private Boolean isDefault;
public String getCertificateId() {
return this.certificateId;
}
public void setCertificateId(String certificateId) {
this.certificateId = certificateId;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public Boolean getIsDefault() {
return this.isDefault;
}
public void setIsDefault(Boolean isDefault) {
this.isDefault = isDefault;
}
}
public static class DefaultAction {
private String type;
private ForwardGroupConfig forwardGroupConfig;
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public ForwardGroupConfig getForwardGroupConfig() {
return this.forwardGroupConfig;
}
public void setForwardGroupConfig(ForwardGroupConfig forwardGroupConfig) {
this.forwardGroupConfig = forwardGroupConfig;
}
public static class ForwardGroupConfig {
private List<ServerGroupTuple> serverGroupTuples;
public List<ServerGroupTuple> getServerGroupTuples() {
return this.serverGroupTuples;
}
public void setServerGroupTuples(List<ServerGroupTuple> serverGroupTuples) {
this.serverGroupTuples = serverGroupTuples;
}
public static class ServerGroupTuple {
private String serverGroupId;
public String getServerGroupId() {
return this.serverGroupId;
}
public void setServerGroupId(String serverGroupId) {
this.serverGroupId = serverGroupId;
}
}
}
}
public static class Tag {
private String key;
private String value;
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
}
public static class AssociatedResource {
private String associatedResourceType;
private String associatedResourceId;
private String policyId;
private String status;
private String associatedMode;
public String getAssociatedResourceType() {
return this.associatedResourceType;
}
public void setAssociatedResourceType(String associatedResourceType) {
this.associatedResourceType = associatedResourceType;
}
public String getAssociatedResourceId() {
return this.associatedResourceId;
}
public void setAssociatedResourceId(String associatedResourceId) {
this.associatedResourceId = associatedResourceId;
}
public String getPolicyId() {
return this.policyId;
}
public void setPolicyId(String policyId) {
this.policyId = policyId;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public String getAssociatedMode() {
return this.associatedMode;
}
public void setAssociatedMode(String associatedMode) {
this.associatedMode = associatedMode;
}
}
public static class AclConfig {
private String aclType;
private List<AclRelation> aclRelations;
public String getAclType() {
return this.aclType;
}
public void setAclType(String aclType) {
this.aclType = aclType;
}
public List<AclRelation> getAclRelations() {
return this.aclRelations;
}
public void setAclRelations(List<AclRelation> aclRelations) {
this.aclRelations = aclRelations;
}
public static class AclRelation {
private String aclId;
private String status;
public String getAclId() {
return this.aclId;
}
public void setAclId(String aclId) {
this.aclId = aclId;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
}
}
public static class LogConfig {
private Boolean accessLogRecordCustomizedHeadersEnabled;
private AccessLogTracingConfig accessLogTracingConfig;
public Boolean getAccessLogRecordCustomizedHeadersEnabled() {
return this.accessLogRecordCustomizedHeadersEnabled;
}
public void setAccessLogRecordCustomizedHeadersEnabled(Boolean accessLogRecordCustomizedHeadersEnabled) {
this.accessLogRecordCustomizedHeadersEnabled = accessLogRecordCustomizedHeadersEnabled;
}
public AccessLogTracingConfig getAccessLogTracingConfig() {
return this.accessLogTracingConfig;
}
public void setAccessLogTracingConfig(AccessLogTracingConfig accessLogTracingConfig) {
this.accessLogTracingConfig = accessLogTracingConfig;
}
public static class AccessLogTracingConfig {
private Boolean tracingEnabled;
private Integer tracingSample;
private String tracingType;
public Boolean getTracingEnabled() {
return this.tracingEnabled;
}
public void setTracingEnabled(Boolean tracingEnabled) {
this.tracingEnabled = tracingEnabled;
}
public Integer getTracingSample() {
return this.tracingSample;
}
public void setTracingSample(Integer tracingSample) {
this.tracingSample = tracingSample;
}
public String getTracingType() {
return this.tracingType;
}
public void setTracingType(String tracingType) {
this.tracingType = tracingType;
}
}
}
public static class QuicConfig {
private String quicListenerId;
private Boolean quicUpgradeEnabled;
public String getQuicListenerId() {
return this.quicListenerId;
}
public void setQuicListenerId(String quicListenerId) {
this.quicListenerId = quicListenerId;
}
public Boolean getQuicUpgradeEnabled() {
return this.quicUpgradeEnabled;
}
public void setQuicUpgradeEnabled(Boolean quicUpgradeEnabled) {
this.quicUpgradeEnabled = quicUpgradeEnabled;
}
}
public static class XForwardedForConfig {
private String xForwardedForClientCertClientVerifyAlias;
private Boolean xForwardedForClientCertClientVerifyEnabled;
private String xForwardedForClientCertFingerprintAlias;
private Boolean xForwardedForClientCertFingerprintEnabled;
private String xForwardedForClientCertIssuerDNAlias;
private Boolean xForwardedForClientCertIssuerDNEnabled;
private String xForwardedForClientCertSubjectDNAlias;
private Boolean xForwardedForClientCertSubjectDNEnabled;
private Boolean xForwardedForClientSrcPortEnabled;
private Boolean xForwardedForEnabled;
private String xForwardedForProcessingMode;
private Boolean xForwardedForProtoEnabled;
private Boolean xForwardedForSLBIdEnabled;
private Boolean xForwardedForSLBPortEnabled;
private Boolean xForwardedForClientSourceIpsEnabled;
private String xForwardedForClientSourceIpsTrusted;
private Boolean xForwardedForHostEnabled;
public String getXForwardedForClientCertClientVerifyAlias() {
return this.xForwardedForClientCertClientVerifyAlias;
}
public void setXForwardedForClientCertClientVerifyAlias(String xForwardedForClientCertClientVerifyAlias) {
this.xForwardedForClientCertClientVerifyAlias = xForwardedForClientCertClientVerifyAlias;
}
public Boolean getXForwardedForClientCertClientVerifyEnabled() {
return this.xForwardedForClientCertClientVerifyEnabled;
}
public void setXForwardedForClientCertClientVerifyEnabled(Boolean xForwardedForClientCertClientVerifyEnabled) {
this.xForwardedForClientCertClientVerifyEnabled = xForwardedForClientCertClientVerifyEnabled;
}
public String getXForwardedForClientCertFingerprintAlias() {
return this.xForwardedForClientCertFingerprintAlias;
}
public void setXForwardedForClientCertFingerprintAlias(String xForwardedForClientCertFingerprintAlias) {
this.xForwardedForClientCertFingerprintAlias = xForwardedForClientCertFingerprintAlias;
}
public Boolean getXForwardedForClientCertFingerprintEnabled() {
return this.xForwardedForClientCertFingerprintEnabled;
}
public void setXForwardedForClientCertFingerprintEnabled(Boolean xForwardedForClientCertFingerprintEnabled) {
this.xForwardedForClientCertFingerprintEnabled = xForwardedForClientCertFingerprintEnabled;
}
public String getXForwardedForClientCertIssuerDNAlias() {
return this.xForwardedForClientCertIssuerDNAlias;
}
public void setXForwardedForClientCertIssuerDNAlias(String xForwardedForClientCertIssuerDNAlias) {
this.xForwardedForClientCertIssuerDNAlias = xForwardedForClientCertIssuerDNAlias;
}
public Boolean getXForwardedForClientCertIssuerDNEnabled() {
return this.xForwardedForClientCertIssuerDNEnabled;
}
public void setXForwardedForClientCertIssuerDNEnabled(Boolean xForwardedForClientCertIssuerDNEnabled) {
this.xForwardedForClientCertIssuerDNEnabled = xForwardedForClientCertIssuerDNEnabled;
}
public String getXForwardedForClientCertSubjectDNAlias() {
return this.xForwardedForClientCertSubjectDNAlias;
}
public void setXForwardedForClientCertSubjectDNAlias(String xForwardedForClientCertSubjectDNAlias) {
this.xForwardedForClientCertSubjectDNAlias = xForwardedForClientCertSubjectDNAlias;
}
public Boolean getXForwardedForClientCertSubjectDNEnabled() {
return this.xForwardedForClientCertSubjectDNEnabled;
}
public void setXForwardedForClientCertSubjectDNEnabled(Boolean xForwardedForClientCertSubjectDNEnabled) {
this.xForwardedForClientCertSubjectDNEnabled = xForwardedForClientCertSubjectDNEnabled;
}
public Boolean getXForwardedForClientSrcPortEnabled() {
return this.xForwardedForClientSrcPortEnabled;
}
public void setXForwardedForClientSrcPortEnabled(Boolean xForwardedForClientSrcPortEnabled) {
this.xForwardedForClientSrcPortEnabled = xForwardedForClientSrcPortEnabled;
}
public Boolean getXForwardedForEnabled() {
return this.xForwardedForEnabled;
}
public void setXForwardedForEnabled(Boolean xForwardedForEnabled) {
this.xForwardedForEnabled = xForwardedForEnabled;
}
public String getXForwardedForProcessingMode() {
return this.xForwardedForProcessingMode;
}
public void setXForwardedForProcessingMode(String xForwardedForProcessingMode) {
this.xForwardedForProcessingMode = xForwardedForProcessingMode;
}
public Boolean getXForwardedForProtoEnabled() {
return this.xForwardedForProtoEnabled;
}
public void setXForwardedForProtoEnabled(Boolean xForwardedForProtoEnabled) {
this.xForwardedForProtoEnabled = xForwardedForProtoEnabled;
}
public Boolean getXForwardedForSLBIdEnabled() {
return this.xForwardedForSLBIdEnabled;
}
public void setXForwardedForSLBIdEnabled(Boolean xForwardedForSLBIdEnabled) {
this.xForwardedForSLBIdEnabled = xForwardedForSLBIdEnabled;
}
public Boolean getXForwardedForSLBPortEnabled() {
return this.xForwardedForSLBPortEnabled;
}
public void setXForwardedForSLBPortEnabled(Boolean xForwardedForSLBPortEnabled) {
this.xForwardedForSLBPortEnabled = xForwardedForSLBPortEnabled;
}
public Boolean getXForwardedForClientSourceIpsEnabled() {
return this.xForwardedForClientSourceIpsEnabled;
}
public void setXForwardedForClientSourceIpsEnabled(Boolean xForwardedForClientSourceIpsEnabled) {
this.xForwardedForClientSourceIpsEnabled = xForwardedForClientSourceIpsEnabled;
}
public String getXForwardedForClientSourceIpsTrusted() {
return this.xForwardedForClientSourceIpsTrusted;
}
public void setXForwardedForClientSourceIpsTrusted(String xForwardedForClientSourceIpsTrusted) {
this.xForwardedForClientSourceIpsTrusted = xForwardedForClientSourceIpsTrusted;
}
public Boolean getXForwardedForHostEnabled() {
return this.xForwardedForHostEnabled;
}
public void setXForwardedForHostEnabled(Boolean xForwardedForHostEnabled) {
this.xForwardedForHostEnabled = xForwardedForHostEnabled;
}
}
@Override
public GetListenerAttributeResponse getInstance(UnmarshallerContext context) {
return GetListenerAttributeResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/GetListenerHealthStatusRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class GetListenerHealthStatusRequest extends RpcAcsRequest<GetListenerHealthStatusResponse> {
private Boolean includeRule;
private String listenerId;
private String nextToken;
private Long maxResults;
public GetListenerHealthStatusRequest() {
super("Alb", "2020-06-16", "GetListenerHealthStatus", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Boolean getIncludeRule() {
return this.includeRule;
}
public void setIncludeRule(Boolean includeRule) {
this.includeRule = includeRule;
if(includeRule != null){
putQueryParameter("IncludeRule", includeRule.toString());
}
}
public String getListenerId() {
return this.listenerId;
}
public void setListenerId(String listenerId) {
this.listenerId = listenerId;
if(listenerId != null){
putQueryParameter("ListenerId", listenerId);
}
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
if(nextToken != null){
putQueryParameter("NextToken", nextToken);
}
}
public Long getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Long maxResults) {
this.maxResults = maxResults;
if(maxResults != null){
putQueryParameter("MaxResults", maxResults.toString());
}
}
@Override
public Class<GetListenerHealthStatusResponse> getResponseClass() {
return GetListenerHealthStatusResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/GetListenerHealthStatusResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.GetListenerHealthStatusResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetListenerHealthStatusResponse extends AcsResponse {
private String requestId;
private String nextToken;
private List<ListenerHealthStatusModel> listenerHealthStatus;
private List<RuleHealthStatusModel> ruleHealthStatus;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
}
public List<ListenerHealthStatusModel> getListenerHealthStatus() {
return this.listenerHealthStatus;
}
public void setListenerHealthStatus(List<ListenerHealthStatusModel> listenerHealthStatus) {
this.listenerHealthStatus = listenerHealthStatus;
}
public List<RuleHealthStatusModel> getRuleHealthStatus() {
return this.ruleHealthStatus;
}
public void setRuleHealthStatus(List<RuleHealthStatusModel> ruleHealthStatus) {
this.ruleHealthStatus = ruleHealthStatus;
}
public static class ListenerHealthStatusModel {
private String listenerId;
private Integer listenerPort;
private String listenerProtocol;
private List<ServerGroupHealthStatusModel> serverGroupInfos;
public String getListenerId() {
return this.listenerId;
}
public void setListenerId(String listenerId) {
this.listenerId = listenerId;
}
public Integer getListenerPort() {
return this.listenerPort;
}
public void setListenerPort(Integer listenerPort) {
this.listenerPort = listenerPort;
}
public String getListenerProtocol() {
return this.listenerProtocol;
}
public void setListenerProtocol(String listenerProtocol) {
this.listenerProtocol = listenerProtocol;
}
public List<ServerGroupHealthStatusModel> getServerGroupInfos() {
return this.serverGroupInfos;
}
public void setServerGroupInfos(List<ServerGroupHealthStatusModel> serverGroupInfos) {
this.serverGroupInfos = serverGroupInfos;
}
public static class ServerGroupHealthStatusModel {
private String healthCheckEnabled;
private String serverGroupId;
private String actionType;
private List<BackendServerHealthStatusModel> nonNormalServers;
public String getHealthCheckEnabled() {
return this.healthCheckEnabled;
}
public void setHealthCheckEnabled(String healthCheckEnabled) {
this.healthCheckEnabled = healthCheckEnabled;
}
public String getServerGroupId() {
return this.serverGroupId;
}
public void setServerGroupId(String serverGroupId) {
this.serverGroupId = serverGroupId;
}
public String getActionType() {
return this.actionType;
}
public void setActionType(String actionType) {
this.actionType = actionType;
}
public List<BackendServerHealthStatusModel> getNonNormalServers() {
return this.nonNormalServers;
}
public void setNonNormalServers(List<BackendServerHealthStatusModel> nonNormalServers) {
this.nonNormalServers = nonNormalServers;
}
public static class BackendServerHealthStatusModel {
private Integer port;
private String serverId;
private String serverIp;
private String status;
private Reason reason;
public Integer getPort() {
return this.port;
}
public void setPort(Integer port) {
this.port = port;
}
public String getServerId() {
return this.serverId;
}
public void setServerId(String serverId) {
this.serverId = serverId;
}
public String getServerIp() {
return this.serverIp;
}
public void setServerIp(String serverIp) {
this.serverIp = serverIp;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public Reason getReason() {
return this.reason;
}
public void setReason(Reason reason) {
this.reason = reason;
}
public static class Reason {
private String actualResponse;
private String expectedResponse;
private String reasonCode;
public String getActualResponse() {
return this.actualResponse;
}
public void setActualResponse(String actualResponse) {
this.actualResponse = actualResponse;
}
public String getExpectedResponse() {
return this.expectedResponse;
}
public void setExpectedResponse(String expectedResponse) {
this.expectedResponse = expectedResponse;
}
public String getReasonCode() {
return this.reasonCode;
}
public void setReasonCode(String reasonCode) {
this.reasonCode = reasonCode;
}
}
}
}
}
public static class RuleHealthStatusModel {
private String ruleId;
private List<ServerGroupHealthStatusModel2> serverGroupInfos1;
public String getRuleId() {
return this.ruleId;
}
public void setRuleId(String ruleId) {
this.ruleId = ruleId;
}
public List<ServerGroupHealthStatusModel2> getServerGroupInfos1() {
return this.serverGroupInfos1;
}
public void setServerGroupInfos1(List<ServerGroupHealthStatusModel2> serverGroupInfos1) {
this.serverGroupInfos1 = serverGroupInfos1;
}
public static class ServerGroupHealthStatusModel2 {
private String healthCheckEnabled;
private String serverGroupId;
private String actionType;
private List<NonNormalServer> nonNormalServers3;
public String getHealthCheckEnabled() {
return this.healthCheckEnabled;
}
public void setHealthCheckEnabled(String healthCheckEnabled) {
this.healthCheckEnabled = healthCheckEnabled;
}
public String getServerGroupId() {
return this.serverGroupId;
}
public void setServerGroupId(String serverGroupId) {
this.serverGroupId = serverGroupId;
}
public String getActionType() {
return this.actionType;
}
public void setActionType(String actionType) {
this.actionType = actionType;
}
public List<NonNormalServer> getNonNormalServers3() {
return this.nonNormalServers3;
}
public void setNonNormalServers3(List<NonNormalServer> nonNormalServers3) {
this.nonNormalServers3 = nonNormalServers3;
}
public static class NonNormalServer {
private Integer port;
private String serverId;
private String serverIp;
private String status;
private Reason4 reason4;
public Integer getPort() {
return this.port;
}
public void setPort(Integer port) {
this.port = port;
}
public String getServerId() {
return this.serverId;
}
public void setServerId(String serverId) {
this.serverId = serverId;
}
public String getServerIp() {
return this.serverIp;
}
public void setServerIp(String serverIp) {
this.serverIp = serverIp;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public Reason4 getReason4() {
return this.reason4;
}
public void setReason4(Reason4 reason4) {
this.reason4 = reason4;
}
public static class Reason4 {
private String actualResponse;
private String expectedResponse;
private String reasonCode;
public String getActualResponse() {
return this.actualResponse;
}
public void setActualResponse(String actualResponse) {
this.actualResponse = actualResponse;
}
public String getExpectedResponse() {
return this.expectedResponse;
}
public void setExpectedResponse(String expectedResponse) {
this.expectedResponse = expectedResponse;
}
public String getReasonCode() {
return this.reasonCode;
}
public void setReasonCode(String reasonCode) {
this.reasonCode = reasonCode;
}
}
}
}
}
@Override
public GetListenerHealthStatusResponse getInstance(UnmarshallerContext context) {
return GetListenerHealthStatusResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/GetLoadBalancerAttributeRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class GetLoadBalancerAttributeRequest extends RpcAcsRequest<GetLoadBalancerAttributeResponse> {
private String loadBalancerId;
public GetLoadBalancerAttributeRequest() {
super("Alb", "2020-06-16", "GetLoadBalancerAttribute", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getLoadBalancerId() {
return this.loadBalancerId;
}
public void setLoadBalancerId(String loadBalancerId) {
this.loadBalancerId = loadBalancerId;
if(loadBalancerId != null){
putQueryParameter("LoadBalancerId", loadBalancerId);
}
}
@Override
public Class<GetLoadBalancerAttributeResponse> getResponseClass() {
return GetLoadBalancerAttributeResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/GetLoadBalancerAttributeResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.GetLoadBalancerAttributeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetLoadBalancerAttributeResponse extends AcsResponse {
private String addressAllocatedMode;
private String addressType;
private Integer bandwidthCapacity;
private String bandwidthPackageId;
private String createTime;
private String dNSName;
private String loadBalancerBussinessStatus;
private String loadBalancerEdition;
private String loadBalancerId;
private String loadBalancerName;
private Boolean serviceManagedEnabled;
private String serviceManagedMode;
private String loadBalancerStatus;
private String regionId;
private String requestId;
private String resourceGroupId;
private String vpcId;
private Boolean configManagedEnabled;
private String addressIpVersion;
private String ipv6AddressType;
private Boolean backToOriginRouteEnabled;
private String loadBalancerVersion;
private String sysSecurityGroupId;
private List<LoadBalancerOperationLock> loadBalancerOperationLocks;
private List<Tag> tags;
private List<ZoneMapping> zoneMappings;
private List<AssociatedResource> associatedResources;
private List<String> featureLabels;
private List<String> securityGroupIds;
private AccessLogConfig accessLogConfig;
private DeletionProtectionConfig deletionProtectionConfig;
private LoadBalancerBillingConfig loadBalancerBillingConfig;
private ModificationProtectionConfig modificationProtectionConfig;
public String getAddressAllocatedMode() {
return this.addressAllocatedMode;
}
public void setAddressAllocatedMode(String addressAllocatedMode) {
this.addressAllocatedMode = addressAllocatedMode;
}
public String getAddressType() {
return this.addressType;
}
public void setAddressType(String addressType) {
this.addressType = addressType;
}
public Integer getBandwidthCapacity() {
return this.bandwidthCapacity;
}
public void setBandwidthCapacity(Integer bandwidthCapacity) {
this.bandwidthCapacity = bandwidthCapacity;
}
public String getBandwidthPackageId() {
return this.bandwidthPackageId;
}
public void setBandwidthPackageId(String bandwidthPackageId) {
this.bandwidthPackageId = bandwidthPackageId;
}
public String getCreateTime() {
return this.createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public String getDNSName() {
return this.dNSName;
}
public void setDNSName(String dNSName) {
this.dNSName = dNSName;
}
public String getLoadBalancerBussinessStatus() {
return this.loadBalancerBussinessStatus;
}
public void setLoadBalancerBussinessStatus(String loadBalancerBussinessStatus) {
this.loadBalancerBussinessStatus = loadBalancerBussinessStatus;
}
public String getLoadBalancerEdition() {
return this.loadBalancerEdition;
}
public void setLoadBalancerEdition(String loadBalancerEdition) {
this.loadBalancerEdition = loadBalancerEdition;
}
public String getLoadBalancerId() {
return this.loadBalancerId;
}
public void setLoadBalancerId(String loadBalancerId) {
this.loadBalancerId = loadBalancerId;
}
public String getLoadBalancerName() {
return this.loadBalancerName;
}
public void setLoadBalancerName(String loadBalancerName) {
this.loadBalancerName = loadBalancerName;
}
public Boolean getServiceManagedEnabled() {
return this.serviceManagedEnabled;
}
public void setServiceManagedEnabled(Boolean serviceManagedEnabled) {
this.serviceManagedEnabled = serviceManagedEnabled;
}
public String getServiceManagedMode() {
return this.serviceManagedMode;
}
public void setServiceManagedMode(String serviceManagedMode) {
this.serviceManagedMode = serviceManagedMode;
}
public String getLoadBalancerStatus() {
return this.loadBalancerStatus;
}
public void setLoadBalancerStatus(String loadBalancerStatus) {
this.loadBalancerStatus = loadBalancerStatus;
}
public String getRegionId() {
return this.regionId;
}
public void setRegionId(String regionId) {
this.regionId = regionId;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public void setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
}
public String getVpcId() {
return this.vpcId;
}
public void setVpcId(String vpcId) {
this.vpcId = vpcId;
}
public Boolean getConfigManagedEnabled() {
return this.configManagedEnabled;
}
public void setConfigManagedEnabled(Boolean configManagedEnabled) {
this.configManagedEnabled = configManagedEnabled;
}
public String getAddressIpVersion() {
return this.addressIpVersion;
}
public void setAddressIpVersion(String addressIpVersion) {
this.addressIpVersion = addressIpVersion;
}
public String getIpv6AddressType() {
return this.ipv6AddressType;
}
public void setIpv6AddressType(String ipv6AddressType) {
this.ipv6AddressType = ipv6AddressType;
}
public Boolean getBackToOriginRouteEnabled() {
return this.backToOriginRouteEnabled;
}
public void setBackToOriginRouteEnabled(Boolean backToOriginRouteEnabled) {
this.backToOriginRouteEnabled = backToOriginRouteEnabled;
}
public String getLoadBalancerVersion() {
return this.loadBalancerVersion;
}
public void setLoadBalancerVersion(String loadBalancerVersion) {
this.loadBalancerVersion = loadBalancerVersion;
}
public String getSysSecurityGroupId() {
return this.sysSecurityGroupId;
}
public void setSysSecurityGroupId(String sysSecurityGroupId) {
this.sysSecurityGroupId = sysSecurityGroupId;
}
public List<LoadBalancerOperationLock> getLoadBalancerOperationLocks() {
return this.loadBalancerOperationLocks;
}
public void setLoadBalancerOperationLocks(List<LoadBalancerOperationLock> loadBalancerOperationLocks) {
this.loadBalancerOperationLocks = loadBalancerOperationLocks;
}
public List<Tag> getTags() {
return this.tags;
}
public void setTags(List<Tag> tags) {
this.tags = tags;
}
public List<ZoneMapping> getZoneMappings() {
return this.zoneMappings;
}
public void setZoneMappings(List<ZoneMapping> zoneMappings) {
this.zoneMappings = zoneMappings;
}
public List<AssociatedResource> getAssociatedResources() {
return this.associatedResources;
}
public void setAssociatedResources(List<AssociatedResource> associatedResources) {
this.associatedResources = associatedResources;
}
public List<String> getFeatureLabels() {
return this.featureLabels;
}
public void setFeatureLabels(List<String> featureLabels) {
this.featureLabels = featureLabels;
}
public List<String> getSecurityGroupIds() {
return this.securityGroupIds;
}
public void setSecurityGroupIds(List<String> securityGroupIds) {
this.securityGroupIds = securityGroupIds;
}
public AccessLogConfig getAccessLogConfig() {
return this.accessLogConfig;
}
public void setAccessLogConfig(AccessLogConfig accessLogConfig) {
this.accessLogConfig = accessLogConfig;
}
public DeletionProtectionConfig getDeletionProtectionConfig() {
return this.deletionProtectionConfig;
}
public void setDeletionProtectionConfig(DeletionProtectionConfig deletionProtectionConfig) {
this.deletionProtectionConfig = deletionProtectionConfig;
}
public LoadBalancerBillingConfig getLoadBalancerBillingConfig() {
return this.loadBalancerBillingConfig;
}
public void setLoadBalancerBillingConfig(LoadBalancerBillingConfig loadBalancerBillingConfig) {
this.loadBalancerBillingConfig = loadBalancerBillingConfig;
}
public ModificationProtectionConfig getModificationProtectionConfig() {
return this.modificationProtectionConfig;
}
public void setModificationProtectionConfig(ModificationProtectionConfig modificationProtectionConfig) {
this.modificationProtectionConfig = modificationProtectionConfig;
}
public static class LoadBalancerOperationLock {
private String lockReason;
private String lockType;
public String getLockReason() {
return this.lockReason;
}
public void setLockReason(String lockReason) {
this.lockReason = lockReason;
}
public String getLockType() {
return this.lockType;
}
public void setLockType(String lockType) {
this.lockType = lockType;
}
}
public static class Tag {
private String key;
private String value;
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
}
public static class ZoneMapping {
private String vSwitchId;
private String zoneId;
private String allocationId;
private String eipType;
private String status;
private List<LoadBalancerAddress> loadBalancerAddresses;
public String getVSwitchId() {
return this.vSwitchId;
}
public void setVSwitchId(String vSwitchId) {
this.vSwitchId = vSwitchId;
}
public String getZoneId() {
return this.zoneId;
}
public void setZoneId(String zoneId) {
this.zoneId = zoneId;
}
public String getAllocationId() {
return this.allocationId;
}
public void setAllocationId(String allocationId) {
this.allocationId = allocationId;
}
public String getEipType() {
return this.eipType;
}
public void setEipType(String eipType) {
this.eipType = eipType;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public List<LoadBalancerAddress> getLoadBalancerAddresses() {
return this.loadBalancerAddresses;
}
public void setLoadBalancerAddresses(List<LoadBalancerAddress> loadBalancerAddresses) {
this.loadBalancerAddresses = loadBalancerAddresses;
}
public static class LoadBalancerAddress {
private String address;
private String ipv6Address;
private String intranetAddress;
private String allocationId;
private String eipType;
private String intranetAddressHcStatus;
private String ipv6AddressHcStatus;
private List<String> ipv4LocalAddresses;
private List<String> ipv6LocalAddresses;
public String getAddress() {
return this.address;
}
public void setAddress(String address) {
this.address = address;
}
public String getIpv6Address() {
return this.ipv6Address;
}
public void setIpv6Address(String ipv6Address) {
this.ipv6Address = ipv6Address;
}
public String getIntranetAddress() {
return this.intranetAddress;
}
public void setIntranetAddress(String intranetAddress) {
this.intranetAddress = intranetAddress;
}
public String getAllocationId() {
return this.allocationId;
}
public void setAllocationId(String allocationId) {
this.allocationId = allocationId;
}
public String getEipType() {
return this.eipType;
}
public void setEipType(String eipType) {
this.eipType = eipType;
}
public String getIntranetAddressHcStatus() {
return this.intranetAddressHcStatus;
}
public void setIntranetAddressHcStatus(String intranetAddressHcStatus) {
this.intranetAddressHcStatus = intranetAddressHcStatus;
}
public String getIpv6AddressHcStatus() {
return this.ipv6AddressHcStatus;
}
public void setIpv6AddressHcStatus(String ipv6AddressHcStatus) {
this.ipv6AddressHcStatus = ipv6AddressHcStatus;
}
public List<String> getIpv4LocalAddresses() {
return this.ipv4LocalAddresses;
}
public void setIpv4LocalAddresses(List<String> ipv4LocalAddresses) {
this.ipv4LocalAddresses = ipv4LocalAddresses;
}
public List<String> getIpv6LocalAddresses() {
return this.ipv6LocalAddresses;
}
public void setIpv6LocalAddresses(List<String> ipv6LocalAddresses) {
this.ipv6LocalAddresses = ipv6LocalAddresses;
}
}
}
public static class AssociatedResource {
private String associatedResourceType;
private String associatedResourceId;
private String policyId;
private String status;
private String associatedMode;
public String getAssociatedResourceType() {
return this.associatedResourceType;
}
public void setAssociatedResourceType(String associatedResourceType) {
this.associatedResourceType = associatedResourceType;
}
public String getAssociatedResourceId() {
return this.associatedResourceId;
}
public void setAssociatedResourceId(String associatedResourceId) {
this.associatedResourceId = associatedResourceId;
}
public String getPolicyId() {
return this.policyId;
}
public void setPolicyId(String policyId) {
this.policyId = policyId;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public String getAssociatedMode() {
return this.associatedMode;
}
public void setAssociatedMode(String associatedMode) {
this.associatedMode = associatedMode;
}
}
public static class AccessLogConfig {
private String logProject;
private String logStore;
public String getLogProject() {
return this.logProject;
}
public void setLogProject(String logProject) {
this.logProject = logProject;
}
public String getLogStore() {
return this.logStore;
}
public void setLogStore(String logStore) {
this.logStore = logStore;
}
}
public static class DeletionProtectionConfig {
private Boolean enabled;
private String enabledTime;
public Boolean getEnabled() {
return this.enabled;
}
public void setEnabled(Boolean enabled) {
this.enabled = enabled;
}
public String getEnabledTime() {
return this.enabledTime;
}
public void setEnabledTime(String enabledTime) {
this.enabledTime = enabledTime;
}
}
public static class LoadBalancerBillingConfig {
private Integer internetBandwidth;
private String internetChargeType;
private String payType;
public Integer getInternetBandwidth() {
return this.internetBandwidth;
}
public void setInternetBandwidth(Integer internetBandwidth) {
this.internetBandwidth = internetBandwidth;
}
public String getInternetChargeType() {
return this.internetChargeType;
}
public void setInternetChargeType(String internetChargeType) {
this.internetChargeType = internetChargeType;
}
public String getPayType() {
return this.payType;
}
public void setPayType(String payType) {
this.payType = payType;
}
}
public static class ModificationProtectionConfig {
private String reason;
private String status;
public String getReason() {
return this.reason;
}
public void setReason(String reason) {
this.reason = reason;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
}
@Override
public GetLoadBalancerAttributeResponse getInstance(UnmarshallerContext context) {
return GetLoadBalancerAttributeResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/ListAScriptsRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class ListAScriptsRequest extends RpcAcsRequest<ListAScriptsResponse> {
private String nextToken;
private List<String> aScriptNames;
private List<String> listenerIds;
private List<String> aScriptIds;
private Integer maxResults;
public ListAScriptsRequest() {
super("Alb", "2020-06-16", "ListAScripts", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
if(nextToken != null){
putQueryParameter("NextToken", nextToken);
}
}
public List<String> getAScriptNames() {
return this.aScriptNames;
}
public void setAScriptNames(List<String> aScriptNames) {
this.aScriptNames = aScriptNames;
if (aScriptNames != null) {
for (int depth1 = 0; depth1 < aScriptNames.size(); depth1++) {
putQueryParameter("AScriptNames." + (depth1 + 1) , aScriptNames.get(depth1));
}
}
}
public List<String> getListenerIds() {
return this.listenerIds;
}
public void setListenerIds(List<String> listenerIds) {
this.listenerIds = listenerIds;
if (listenerIds != null) {
for (int depth1 = 0; depth1 < listenerIds.size(); depth1++) {
putQueryParameter("ListenerIds." + (depth1 + 1) , listenerIds.get(depth1));
}
}
}
public List<String> getAScriptIds() {
return this.aScriptIds;
}
public void setAScriptIds(List<String> aScriptIds) {
this.aScriptIds = aScriptIds;
if (aScriptIds != null) {
for (int depth1 = 0; depth1 < aScriptIds.size(); depth1++) {
putQueryParameter("AScriptIds." + (depth1 + 1) , aScriptIds.get(depth1));
}
}
}
public Integer getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
if(maxResults != null){
putQueryParameter("MaxResults", maxResults.toString());
}
}
@Override
public Class<ListAScriptsResponse> getResponseClass() {
return ListAScriptsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/ListAScriptsResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.ListAScriptsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListAScriptsResponse extends AcsResponse {
private Integer totalCount;
private String requestId;
private String nextToken;
private Integer maxResults;
private List<AScript> aScripts;
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
}
public Integer getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
}
public List<AScript> getAScripts() {
return this.aScripts;
}
public void setAScripts(List<AScript> aScripts) {
this.aScripts = aScripts;
}
public static class AScript {
private String aScriptId;
private String aScriptName;
private Long priority;
private String position;
private Boolean enabled;
private String scriptContent;
private String aScriptStatus;
private String listenerId;
private String loadBalancerId;
private Boolean extAttributeEnabled;
private List<ExtAttribute> extAttributes;
public String getAScriptId() {
return this.aScriptId;
}
public void setAScriptId(String aScriptId) {
this.aScriptId = aScriptId;
}
public String getAScriptName() {
return this.aScriptName;
}
public void setAScriptName(String aScriptName) {
this.aScriptName = aScriptName;
}
public Long getPriority() {
return this.priority;
}
public void setPriority(Long priority) {
this.priority = priority;
}
public String getPosition() {
return this.position;
}
public void setPosition(String position) {
this.position = position;
}
public Boolean getEnabled() {
return this.enabled;
}
public void setEnabled(Boolean enabled) {
this.enabled = enabled;
}
public String getScriptContent() {
return this.scriptContent;
}
public void setScriptContent(String scriptContent) {
this.scriptContent = scriptContent;
}
public String getAScriptStatus() {
return this.aScriptStatus;
}
public void setAScriptStatus(String aScriptStatus) {
this.aScriptStatus = aScriptStatus;
}
public String getListenerId() {
return this.listenerId;
}
public void setListenerId(String listenerId) {
this.listenerId = listenerId;
}
public String getLoadBalancerId() {
return this.loadBalancerId;
}
public void setLoadBalancerId(String loadBalancerId) {
this.loadBalancerId = loadBalancerId;
}
public Boolean getExtAttributeEnabled() {
return this.extAttributeEnabled;
}
public void setExtAttributeEnabled(Boolean extAttributeEnabled) {
this.extAttributeEnabled = extAttributeEnabled;
}
public List<ExtAttribute> getExtAttributes() {
return this.extAttributes;
}
public void setExtAttributes(List<ExtAttribute> extAttributes) {
this.extAttributes = extAttributes;
}
public static class ExtAttribute {
private String attributeKey;
private String attributeValue;
public String getAttributeKey() {
return this.attributeKey;
}
public void setAttributeKey(String attributeKey) {
this.attributeKey = attributeKey;
}
public String getAttributeValue() {
return this.attributeValue;
}
public void setAttributeValue(String attributeValue) {
this.attributeValue = attributeValue;
}
}
}
@Override
public ListAScriptsResponse getInstance(UnmarshallerContext context) {
return ListAScriptsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/ListAclEntriesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class ListAclEntriesRequest extends RpcAcsRequest<ListAclEntriesResponse> {
private String nextToken;
private String aclId;
private Integer maxResults;
public ListAclEntriesRequest() {
super("Alb", "2020-06-16", "ListAclEntries", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
if(nextToken != null){
putQueryParameter("NextToken", nextToken);
}
}
public String getAclId() {
return this.aclId;
}
public void setAclId(String aclId) {
this.aclId = aclId;
if(aclId != null){
putQueryParameter("AclId", aclId);
}
}
public Integer getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
if(maxResults != null){
putQueryParameter("MaxResults", maxResults.toString());
}
}
@Override
public Class<ListAclEntriesResponse> getResponseClass() {
return ListAclEntriesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/ListAclEntriesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.ListAclEntriesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListAclEntriesResponse extends AcsResponse {
private Integer maxResults;
private String nextToken;
private String requestId;
private Integer totalCount;
private List<AclEntry> aclEntries;
public Integer getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
public List<AclEntry> getAclEntries() {
return this.aclEntries;
}
public void setAclEntries(List<AclEntry> aclEntries) {
this.aclEntries = aclEntries;
}
public static class AclEntry {
private String description;
private String entry;
private String status;
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public String getEntry() {
return this.entry;
}
public void setEntry(String entry) {
this.entry = entry;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
}
@Override
public ListAclEntriesResponse getInstance(UnmarshallerContext context) {
return ListAclEntriesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/ListAclRelationsRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class ListAclRelationsRequest extends RpcAcsRequest<ListAclRelationsResponse> {
private List<String> aclIds;
public ListAclRelationsRequest() {
super("Alb", "2020-06-16", "ListAclRelations", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public List<String> getAclIds() {
return this.aclIds;
}
public void setAclIds(List<String> aclIds) {
this.aclIds = aclIds;
if (aclIds != null) {
for (int depth1 = 0; depth1 < aclIds.size(); depth1++) {
putQueryParameter("AclIds." + (depth1 + 1) , aclIds.get(depth1));
}
}
}
@Override
public Class<ListAclRelationsResponse> getResponseClass() {
return ListAclRelationsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/ListAclRelationsResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.ListAclRelationsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListAclRelationsResponse extends AcsResponse {
private String requestId;
private List<AclRelation> aclRelations;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<AclRelation> getAclRelations() {
return this.aclRelations;
}
public void setAclRelations(List<AclRelation> aclRelations) {
this.aclRelations = aclRelations;
}
public static class AclRelation {
private String aclId;
private List<RelatedListener> relatedListeners;
public String getAclId() {
return this.aclId;
}
public void setAclId(String aclId) {
this.aclId = aclId;
}
public List<RelatedListener> getRelatedListeners() {
return this.relatedListeners;
}
public void setRelatedListeners(List<RelatedListener> relatedListeners) {
this.relatedListeners = relatedListeners;
}
public static class RelatedListener {
private String listenerId;
private Integer listenerPort;
private String listenerProtocol;
private String loadBalancerId;
private String status;
public String getListenerId() {
return this.listenerId;
}
public void setListenerId(String listenerId) {
this.listenerId = listenerId;
}
public Integer getListenerPort() {
return this.listenerPort;
}
public void setListenerPort(Integer listenerPort) {
this.listenerPort = listenerPort;
}
public String getListenerProtocol() {
return this.listenerProtocol;
}
public void setListenerProtocol(String listenerProtocol) {
this.listenerProtocol = listenerProtocol;
}
public String getLoadBalancerId() {
return this.loadBalancerId;
}
public void setLoadBalancerId(String loadBalancerId) {
this.loadBalancerId = loadBalancerId;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
}
}
@Override
public ListAclRelationsResponse getInstance(UnmarshallerContext context) {
return ListAclRelationsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/ListAclsRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class ListAclsRequest extends RpcAcsRequest<ListAclsResponse> {
private List<String> aclIds;
private String resourceGroupId;
private String nextToken;
private List<Tag> tag;
private List<String> aclNames;
private Integer maxResults;
public ListAclsRequest() {
super("Alb", "2020-06-16", "ListAcls", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public List<String> getAclIds() {
return this.aclIds;
}
public void setAclIds(List<String> aclIds) {
this.aclIds = aclIds;
if (aclIds != null) {
for (int depth1 = 0; depth1 < aclIds.size(); depth1++) {
putQueryParameter("AclIds." + (depth1 + 1) , aclIds.get(depth1));
}
}
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public void setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
if(resourceGroupId != null){
putQueryParameter("ResourceGroupId", resourceGroupId);
}
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
if(nextToken != null){
putQueryParameter("NextToken", nextToken);
}
}
public List<Tag> getTag() {
return this.tag;
}
public void setTag(List<Tag> tag) {
this.tag = tag;
if (tag != null) {
for (int depth1 = 0; depth1 < tag.size(); depth1++) {
if (tag.get(depth1) != null) {
putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tag.get(depth1).getValue());
putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tag.get(depth1).getKey());
}
}
}
}
public List<String> getAclNames() {
return this.aclNames;
}
public void setAclNames(List<String> aclNames) {
this.aclNames = aclNames;
if (aclNames != null) {
for (int depth1 = 0; depth1 < aclNames.size(); depth1++) {
putQueryParameter("AclNames." + (depth1 + 1) , aclNames.get(depth1));
}
}
}
public Integer getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
if(maxResults != null){
putQueryParameter("MaxResults", maxResults.toString());
}
}
public static class Tag {
private String value;
private String key;
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
@Override
public Class<ListAclsResponse> getResponseClass() {
return ListAclsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/ListAclsResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.ListAclsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListAclsResponse extends AcsResponse {
private Integer maxResults;
private String nextToken;
private String requestId;
private Integer totalCount;
private List<Acl> acls;
public Integer getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
public List<Acl> getAcls() {
return this.acls;
}
public void setAcls(List<Acl> acls) {
this.acls = acls;
}
public static class Acl {
private String aclId;
private String aclName;
private String aclStatus;
private String addressIPVersion;
private String resourceGroupId;
private Boolean serviceManagedEnabled;
private String serviceManagedMode;
private Boolean configManagedEnabled;
private String createTime;
private List<Tag> tags;
public String getAclId() {
return this.aclId;
}
public void setAclId(String aclId) {
this.aclId = aclId;
}
public String getAclName() {
return this.aclName;
}
public void setAclName(String aclName) {
this.aclName = aclName;
}
public String getAclStatus() {
return this.aclStatus;
}
public void setAclStatus(String aclStatus) {
this.aclStatus = aclStatus;
}
public String getAddressIPVersion() {
return this.addressIPVersion;
}
public void setAddressIPVersion(String addressIPVersion) {
this.addressIPVersion = addressIPVersion;
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public void setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
}
public Boolean getServiceManagedEnabled() {
return this.serviceManagedEnabled;
}
public void setServiceManagedEnabled(Boolean serviceManagedEnabled) {
this.serviceManagedEnabled = serviceManagedEnabled;
}
public String getServiceManagedMode() {
return this.serviceManagedMode;
}
public void setServiceManagedMode(String serviceManagedMode) {
this.serviceManagedMode = serviceManagedMode;
}
public Boolean getConfigManagedEnabled() {
return this.configManagedEnabled;
}
public void setConfigManagedEnabled(Boolean configManagedEnabled) {
this.configManagedEnabled = configManagedEnabled;
}
public String getCreateTime() {
return this.createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public List<Tag> getTags() {
return this.tags;
}
public void setTags(List<Tag> tags) {
this.tags = tags;
}
public static class Tag {
private String key;
private String value;
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
}
}
@Override
public ListAclsResponse getInstance(UnmarshallerContext context) {
return ListAclsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/ListAsynJobsRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class ListAsynJobsRequest extends RpcAcsRequest<ListAsynJobsResponse> {
private String nextToken;
private Long endTime;
private Long beginTime;
private String resourceType;
private String apiName;
private List<String> jobIds;
private Long maxResults;
private List<String> resourceIds;
public ListAsynJobsRequest() {
super("Alb", "2020-06-16", "ListAsynJobs", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
if(nextToken != null){
putQueryParameter("NextToken", nextToken);
}
}
public Long getEndTime() {
return this.endTime;
}
public void setEndTime(Long endTime) {
this.endTime = endTime;
if(endTime != null){
putQueryParameter("EndTime", endTime.toString());
}
}
public Long getBeginTime() {
return this.beginTime;
}
public void setBeginTime(Long beginTime) {
this.beginTime = beginTime;
if(beginTime != null){
putQueryParameter("BeginTime", beginTime.toString());
}
}
public String getResourceType() {
return this.resourceType;
}
public void setResourceType(String resourceType) {
this.resourceType = resourceType;
if(resourceType != null){
putQueryParameter("ResourceType", resourceType);
}
}
public String getApiName() {
return this.apiName;
}
public void setApiName(String apiName) {
this.apiName = apiName;
if(apiName != null){
putQueryParameter("ApiName", apiName);
}
}
public List<String> getJobIds() {
return this.jobIds;
}
public void setJobIds(List<String> jobIds) {
this.jobIds = jobIds;
if (jobIds != null) {
for (int depth1 = 0; depth1 < jobIds.size(); depth1++) {
putQueryParameter("JobIds." + (depth1 + 1) , jobIds.get(depth1));
}
}
}
public Long getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Long maxResults) {
this.maxResults = maxResults;
if(maxResults != null){
putQueryParameter("MaxResults", maxResults.toString());
}
}
public List<String> getResourceIds() {
return this.resourceIds;
}
public void setResourceIds(List<String> resourceIds) {
this.resourceIds = resourceIds;
if (resourceIds != null) {
for (int depth1 = 0; depth1 < resourceIds.size(); depth1++) {
putQueryParameter("ResourceIds." + (depth1 + 1) , resourceIds.get(depth1));
}
}
}
@Override
public Class<ListAsynJobsResponse> getResponseClass() {
return ListAsynJobsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/ListAsynJobsResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.ListAsynJobsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListAsynJobsResponse extends AcsResponse {
private Long maxResults;
private String nextToken;
private String requestId;
private Long totalCount;
private List<Job> jobs;
public Long getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Long maxResults) {
this.maxResults = maxResults;
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Long getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Long totalCount) {
this.totalCount = totalCount;
}
public List<Job> getJobs() {
return this.jobs;
}
public void setJobs(List<Job> jobs) {
this.jobs = jobs;
}
public static class Job {
private String apiName;
private Long createTime;
private String errorCode;
private String errorMessage;
private String id;
private Long modifyTime;
private String operateType;
private String resourceId;
private String resourceType;
private String status;
public String getApiName() {
return this.apiName;
}
public void setApiName(String apiName) {
this.apiName = apiName;
}
public Long getCreateTime() {
return this.createTime;
}
public void setCreateTime(Long createTime) {
this.createTime = createTime;
}
public String getErrorCode() {
return this.errorCode;
}
public void setErrorCode(String errorCode) {
this.errorCode = errorCode;
}
public String getErrorMessage() {
return this.errorMessage;
}
public void setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
}
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public Long getModifyTime() {
return this.modifyTime;
}
public void setModifyTime(Long modifyTime) {
this.modifyTime = modifyTime;
}
public String getOperateType() {
return this.operateType;
}
public void setOperateType(String operateType) {
this.operateType = operateType;
}
public String getResourceId() {
return this.resourceId;
}
public void setResourceId(String resourceId) {
this.resourceId = resourceId;
}
public String getResourceType() {
return this.resourceType;
}
public void setResourceType(String resourceType) {
this.resourceType = resourceType;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
}
@Override
public ListAsynJobsResponse getInstance(UnmarshallerContext context) {
return ListAsynJobsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/ListHealthCheckTemplatesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class ListHealthCheckTemplatesRequest extends RpcAcsRequest<ListHealthCheckTemplatesResponse> {
private String nextToken;
private List<Tag> tag;
private List<String> healthCheckTemplateNames;
private Integer maxResults;
private List<String> healthCheckTemplateIds;
public ListHealthCheckTemplatesRequest() {
super("Alb", "2020-06-16", "ListHealthCheckTemplates", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
if(nextToken != null){
putQueryParameter("NextToken", nextToken);
}
}
public List<Tag> getTag() {
return this.tag;
}
public void setTag(List<Tag> tag) {
this.tag = tag;
if (tag != null) {
for (int depth1 = 0; depth1 < tag.size(); depth1++) {
if (tag.get(depth1) != null) {
putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tag.get(depth1).getValue());
putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tag.get(depth1).getKey());
}
}
}
}
public List<String> getHealthCheckTemplateNames() {
return this.healthCheckTemplateNames;
}
public void setHealthCheckTemplateNames(List<String> healthCheckTemplateNames) {
this.healthCheckTemplateNames = healthCheckTemplateNames;
if (healthCheckTemplateNames != null) {
for (int depth1 = 0; depth1 < healthCheckTemplateNames.size(); depth1++) {
putQueryParameter("HealthCheckTemplateNames." + (depth1 + 1) , healthCheckTemplateNames.get(depth1));
}
}
}
public Integer getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
if(maxResults != null){
putQueryParameter("MaxResults", maxResults.toString());
}
}
public List<String> getHealthCheckTemplateIds() {
return this.healthCheckTemplateIds;
}
public void setHealthCheckTemplateIds(List<String> healthCheckTemplateIds) {
this.healthCheckTemplateIds = healthCheckTemplateIds;
if (healthCheckTemplateIds != null) {
for (int depth1 = 0; depth1 < healthCheckTemplateIds.size(); depth1++) {
putQueryParameter("HealthCheckTemplateIds." + (depth1 + 1) , healthCheckTemplateIds.get(depth1));
}
}
}
public static class Tag {
private String value;
private String key;
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
@Override
public Class<ListHealthCheckTemplatesResponse> getResponseClass() {
return ListHealthCheckTemplatesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/ListHealthCheckTemplatesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.ListHealthCheckTemplatesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListHealthCheckTemplatesResponse extends AcsResponse {
private Integer maxResults;
private String nextToken;
private String requestId;
private Integer totalCount;
private List<HealthCheckTemplate> healthCheckTemplates;
public Integer getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
public List<HealthCheckTemplate> getHealthCheckTemplates() {
return this.healthCheckTemplates;
}
public void setHealthCheckTemplates(List<HealthCheckTemplate> healthCheckTemplates) {
this.healthCheckTemplates = healthCheckTemplates;
}
public static class HealthCheckTemplate {
private Integer healthCheckConnectPort;
private String healthCheckHost;
private String healthCheckHttpVersion;
private Integer healthCheckInterval;
private String healthCheckMethod;
private String healthCheckPath;
private String healthCheckProtocol;
private String healthCheckTemplateId;
private String healthCheckTemplateName;
private Integer healthCheckTimeout;
private Integer healthyThreshold;
private Integer unhealthyThreshold;
private Boolean healthCheckTcpFastCloseEnabled;
private Boolean serviceManagedEnabled;
private String serviceManagedMode;
private List<Tag> tags;
private List<String> healthCheckHttpCodes;
private List<String> healthCheckCodes;
public Integer getHealthCheckConnectPort() {
return this.healthCheckConnectPort;
}
public void setHealthCheckConnectPort(Integer healthCheckConnectPort) {
this.healthCheckConnectPort = healthCheckConnectPort;
}
public String getHealthCheckHost() {
return this.healthCheckHost;
}
public void setHealthCheckHost(String healthCheckHost) {
this.healthCheckHost = healthCheckHost;
}
public String getHealthCheckHttpVersion() {
return this.healthCheckHttpVersion;
}
public void setHealthCheckHttpVersion(String healthCheckHttpVersion) {
this.healthCheckHttpVersion = healthCheckHttpVersion;
}
public Integer getHealthCheckInterval() {
return this.healthCheckInterval;
}
public void setHealthCheckInterval(Integer healthCheckInterval) {
this.healthCheckInterval = healthCheckInterval;
}
public String getHealthCheckMethod() {
return this.healthCheckMethod;
}
public void setHealthCheckMethod(String healthCheckMethod) {
this.healthCheckMethod = healthCheckMethod;
}
public String getHealthCheckPath() {
return this.healthCheckPath;
}
public void setHealthCheckPath(String healthCheckPath) {
this.healthCheckPath = healthCheckPath;
}
public String getHealthCheckProtocol() {
return this.healthCheckProtocol;
}
public void setHealthCheckProtocol(String healthCheckProtocol) {
this.healthCheckProtocol = healthCheckProtocol;
}
public String getHealthCheckTemplateId() {
return this.healthCheckTemplateId;
}
public void setHealthCheckTemplateId(String healthCheckTemplateId) {
this.healthCheckTemplateId = healthCheckTemplateId;
}
public String getHealthCheckTemplateName() {
return this.healthCheckTemplateName;
}
public void setHealthCheckTemplateName(String healthCheckTemplateName) {
this.healthCheckTemplateName = healthCheckTemplateName;
}
public Integer getHealthCheckTimeout() {
return this.healthCheckTimeout;
}
public void setHealthCheckTimeout(Integer healthCheckTimeout) {
this.healthCheckTimeout = healthCheckTimeout;
}
public Integer getHealthyThreshold() {
return this.healthyThreshold;
}
public void setHealthyThreshold(Integer healthyThreshold) {
this.healthyThreshold = healthyThreshold;
}
public Integer getUnhealthyThreshold() {
return this.unhealthyThreshold;
}
public void setUnhealthyThreshold(Integer unhealthyThreshold) {
this.unhealthyThreshold = unhealthyThreshold;
}
public Boolean getHealthCheckTcpFastCloseEnabled() {
return this.healthCheckTcpFastCloseEnabled;
}
public void setHealthCheckTcpFastCloseEnabled(Boolean healthCheckTcpFastCloseEnabled) {
this.healthCheckTcpFastCloseEnabled = healthCheckTcpFastCloseEnabled;
}
public Boolean getServiceManagedEnabled() {
return this.serviceManagedEnabled;
}
public void setServiceManagedEnabled(Boolean serviceManagedEnabled) {
this.serviceManagedEnabled = serviceManagedEnabled;
}
public String getServiceManagedMode() {
return this.serviceManagedMode;
}
public void setServiceManagedMode(String serviceManagedMode) {
this.serviceManagedMode = serviceManagedMode;
}
public List<Tag> getTags() {
return this.tags;
}
public void setTags(List<Tag> tags) {
this.tags = tags;
}
public List<String> getHealthCheckHttpCodes() {
return this.healthCheckHttpCodes;
}
public void setHealthCheckHttpCodes(List<String> healthCheckHttpCodes) {
this.healthCheckHttpCodes = healthCheckHttpCodes;
}
public List<String> getHealthCheckCodes() {
return this.healthCheckCodes;
}
public void setHealthCheckCodes(List<String> healthCheckCodes) {
this.healthCheckCodes = healthCheckCodes;
}
public static class Tag {
private String key;
private String value;
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
}
}
@Override
public ListHealthCheckTemplatesResponse getInstance(UnmarshallerContext context) {
return ListHealthCheckTemplatesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/ListListenerCertificatesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class ListListenerCertificatesRequest extends RpcAcsRequest<ListListenerCertificatesResponse> {
private String certificateType;
private String listenerId;
private List<String> certificateIds;
private String nextToken;
private Integer maxResults;
public ListListenerCertificatesRequest() {
super("Alb", "2020-06-16", "ListListenerCertificates", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getCertificateType() {
return this.certificateType;
}
public void setCertificateType(String certificateType) {
this.certificateType = certificateType;
if(certificateType != null){
putQueryParameter("CertificateType", certificateType);
}
}
public String getListenerId() {
return this.listenerId;
}
public void setListenerId(String listenerId) {
this.listenerId = listenerId;
if(listenerId != null){
putQueryParameter("ListenerId", listenerId);
}
}
public List<String> getCertificateIds() {
return this.certificateIds;
}
public void setCertificateIds(List<String> certificateIds) {
this.certificateIds = certificateIds;
if (certificateIds != null) {
for (int depth1 = 0; depth1 < certificateIds.size(); depth1++) {
putQueryParameter("CertificateIds." + (depth1 + 1) , certificateIds.get(depth1));
}
}
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
if(nextToken != null){
putQueryParameter("NextToken", nextToken);
}
}
public Integer getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
if(maxResults != null){
putQueryParameter("MaxResults", maxResults.toString());
}
}
@Override
public Class<ListListenerCertificatesResponse> getResponseClass() {
return ListListenerCertificatesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/ListListenerCertificatesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.ListListenerCertificatesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListListenerCertificatesResponse extends AcsResponse {
private Integer maxResults;
private String nextToken;
private String requestId;
private Integer totalCount;
private List<CertificateModel> certificates;
public Integer getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
public List<CertificateModel> getCertificates() {
return this.certificates;
}
public void setCertificates(List<CertificateModel> certificates) {
this.certificates = certificates;
}
public static class CertificateModel {
private String certificateId;
private Boolean isDefault;
private String status;
private String certificateType;
public String getCertificateId() {
return this.certificateId;
}
public void setCertificateId(String certificateId) {
this.certificateId = certificateId;
}
public Boolean getIsDefault() {
return this.isDefault;
}
public void setIsDefault(Boolean isDefault) {
this.isDefault = isDefault;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public String getCertificateType() {
return this.certificateType;
}
public void setCertificateType(String certificateType) {
this.certificateType = certificateType;
}
}
@Override
public ListListenerCertificatesResponse getInstance(UnmarshallerContext context) {
return ListListenerCertificatesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/ListListenersRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class ListListenersRequest extends RpcAcsRequest<ListListenersResponse> {
private List<String> loadBalancerIds;
private String nextToken;
private List<Tag> tag;
private String listenerProtocol;
private List<String> listenerIds;
private Integer maxResults;
public ListListenersRequest() {
super("Alb", "2020-06-16", "ListListeners", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public List<String> getLoadBalancerIds() {
return this.loadBalancerIds;
}
public void setLoadBalancerIds(List<String> loadBalancerIds) {
this.loadBalancerIds = loadBalancerIds;
if (loadBalancerIds != null) {
for (int depth1 = 0; depth1 < loadBalancerIds.size(); depth1++) {
putQueryParameter("LoadBalancerIds." + (depth1 + 1) , loadBalancerIds.get(depth1));
}
}
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
if(nextToken != null){
putQueryParameter("NextToken", nextToken);
}
}
public List<Tag> getTag() {
return this.tag;
}
public void setTag(List<Tag> tag) {
this.tag = tag;
if (tag != null) {
for (int depth1 = 0; depth1 < tag.size(); depth1++) {
if (tag.get(depth1) != null) {
putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tag.get(depth1).getValue());
putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tag.get(depth1).getKey());
}
}
}
}
public String getListenerProtocol() {
return this.listenerProtocol;
}
public void setListenerProtocol(String listenerProtocol) {
this.listenerProtocol = listenerProtocol;
if(listenerProtocol != null){
putQueryParameter("ListenerProtocol", listenerProtocol);
}
}
public List<String> getListenerIds() {
return this.listenerIds;
}
public void setListenerIds(List<String> listenerIds) {
this.listenerIds = listenerIds;
if (listenerIds != null) {
for (int depth1 = 0; depth1 < listenerIds.size(); depth1++) {
putQueryParameter("ListenerIds." + (depth1 + 1) , listenerIds.get(depth1));
}
}
}
public Integer getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
if(maxResults != null){
putQueryParameter("MaxResults", maxResults.toString());
}
}
public static class Tag {
private String value;
private String key;
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
@Override
public Class<ListListenersResponse> getResponseClass() {
return ListListenersResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/ListListenersResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.ListListenersResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListListenersResponse extends AcsResponse {
private Integer maxResults;
private String nextToken;
private String requestId;
private Integer totalCount;
private List<Listener> listeners;
public Integer getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
public List<Listener> getListeners() {
return this.listeners;
}
public void setListeners(List<Listener> listeners) {
this.listeners = listeners;
}
public static class Listener {
private Boolean gzipEnabled;
private Boolean http2Enabled;
private Integer idleTimeout;
private String listenerDescription;
private String listenerId;
private Integer listenerPort;
private String listenerProtocol;
private String listenerStatus;
private String loadBalancerId;
private Boolean serviceManagedEnabled;
private String serviceManagedMode;
private Integer requestTimeout;
private String securityPolicyId;
private List<DefaultAction> defaultActions;
private List<Tag> tags;
private List<AssociatedResource> associatedResources;
private LogConfig logConfig;
private QuicConfig quicConfig;
private XForwardedForConfig xForwardedForConfig;
public Boolean getGzipEnabled() {
return this.gzipEnabled;
}
public void setGzipEnabled(Boolean gzipEnabled) {
this.gzipEnabled = gzipEnabled;
}
public Boolean getHttp2Enabled() {
return this.http2Enabled;
}
public void setHttp2Enabled(Boolean http2Enabled) {
this.http2Enabled = http2Enabled;
}
public Integer getIdleTimeout() {
return this.idleTimeout;
}
public void setIdleTimeout(Integer idleTimeout) {
this.idleTimeout = idleTimeout;
}
public String getListenerDescription() {
return this.listenerDescription;
}
public void setListenerDescription(String listenerDescription) {
this.listenerDescription = listenerDescription;
}
public String getListenerId() {
return this.listenerId;
}
public void setListenerId(String listenerId) {
this.listenerId = listenerId;
}
public Integer getListenerPort() {
return this.listenerPort;
}
public void setListenerPort(Integer listenerPort) {
this.listenerPort = listenerPort;
}
public String getListenerProtocol() {
return this.listenerProtocol;
}
public void setListenerProtocol(String listenerProtocol) {
this.listenerProtocol = listenerProtocol;
}
public String getListenerStatus() {
return this.listenerStatus;
}
public void setListenerStatus(String listenerStatus) {
this.listenerStatus = listenerStatus;
}
public String getLoadBalancerId() {
return this.loadBalancerId;
}
public void setLoadBalancerId(String loadBalancerId) {
this.loadBalancerId = loadBalancerId;
}
public Boolean getServiceManagedEnabled() {
return this.serviceManagedEnabled;
}
public void setServiceManagedEnabled(Boolean serviceManagedEnabled) {
this.serviceManagedEnabled = serviceManagedEnabled;
}
public String getServiceManagedMode() {
return this.serviceManagedMode;
}
public void setServiceManagedMode(String serviceManagedMode) {
this.serviceManagedMode = serviceManagedMode;
}
public Integer getRequestTimeout() {
return this.requestTimeout;
}
public void setRequestTimeout(Integer requestTimeout) {
this.requestTimeout = requestTimeout;
}
public String getSecurityPolicyId() {
return this.securityPolicyId;
}
public void setSecurityPolicyId(String securityPolicyId) {
this.securityPolicyId = securityPolicyId;
}
public List<DefaultAction> getDefaultActions() {
return this.defaultActions;
}
public void setDefaultActions(List<DefaultAction> defaultActions) {
this.defaultActions = defaultActions;
}
public List<Tag> getTags() {
return this.tags;
}
public void setTags(List<Tag> tags) {
this.tags = tags;
}
public List<AssociatedResource> getAssociatedResources() {
return this.associatedResources;
}
public void setAssociatedResources(List<AssociatedResource> associatedResources) {
this.associatedResources = associatedResources;
}
public LogConfig getLogConfig() {
return this.logConfig;
}
public void setLogConfig(LogConfig logConfig) {
this.logConfig = logConfig;
}
public QuicConfig getQuicConfig() {
return this.quicConfig;
}
public void setQuicConfig(QuicConfig quicConfig) {
this.quicConfig = quicConfig;
}
public XForwardedForConfig getXForwardedForConfig() {
return this.xForwardedForConfig;
}
public void setXForwardedForConfig(XForwardedForConfig xForwardedForConfig) {
this.xForwardedForConfig = xForwardedForConfig;
}
public static class DefaultAction {
private String type;
private ForwardGroupConfig forwardGroupConfig;
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public ForwardGroupConfig getForwardGroupConfig() {
return this.forwardGroupConfig;
}
public void setForwardGroupConfig(ForwardGroupConfig forwardGroupConfig) {
this.forwardGroupConfig = forwardGroupConfig;
}
public static class ForwardGroupConfig {
private List<ServerGroupTuple> serverGroupTuples;
public List<ServerGroupTuple> getServerGroupTuples() {
return this.serverGroupTuples;
}
public void setServerGroupTuples(List<ServerGroupTuple> serverGroupTuples) {
this.serverGroupTuples = serverGroupTuples;
}
public static class ServerGroupTuple {
private String serverGroupId;
public String getServerGroupId() {
return this.serverGroupId;
}
public void setServerGroupId(String serverGroupId) {
this.serverGroupId = serverGroupId;
}
}
}
}
public static class Tag {
private String key;
private String value;
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
}
public static class AssociatedResource {
private String associatedResourceType;
private String associatedResourceId;
private String policyId;
private String status;
private String associatedMode;
public String getAssociatedResourceType() {
return this.associatedResourceType;
}
public void setAssociatedResourceType(String associatedResourceType) {
this.associatedResourceType = associatedResourceType;
}
public String getAssociatedResourceId() {
return this.associatedResourceId;
}
public void setAssociatedResourceId(String associatedResourceId) {
this.associatedResourceId = associatedResourceId;
}
public String getPolicyId() {
return this.policyId;
}
public void setPolicyId(String policyId) {
this.policyId = policyId;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public String getAssociatedMode() {
return this.associatedMode;
}
public void setAssociatedMode(String associatedMode) {
this.associatedMode = associatedMode;
}
}
public static class LogConfig {
private Boolean accessLogRecordCustomizedHeadersEnabled;
private AccessLogTracingConfig accessLogTracingConfig;
public Boolean getAccessLogRecordCustomizedHeadersEnabled() {
return this.accessLogRecordCustomizedHeadersEnabled;
}
public void setAccessLogRecordCustomizedHeadersEnabled(Boolean accessLogRecordCustomizedHeadersEnabled) {
this.accessLogRecordCustomizedHeadersEnabled = accessLogRecordCustomizedHeadersEnabled;
}
public AccessLogTracingConfig getAccessLogTracingConfig() {
return this.accessLogTracingConfig;
}
public void setAccessLogTracingConfig(AccessLogTracingConfig accessLogTracingConfig) {
this.accessLogTracingConfig = accessLogTracingConfig;
}
public static class AccessLogTracingConfig {
private Boolean tracingEnabled;
private Integer tracingSample;
private String tracingType;
public Boolean getTracingEnabled() {
return this.tracingEnabled;
}
public void setTracingEnabled(Boolean tracingEnabled) {
this.tracingEnabled = tracingEnabled;
}
public Integer getTracingSample() {
return this.tracingSample;
}
public void setTracingSample(Integer tracingSample) {
this.tracingSample = tracingSample;
}
public String getTracingType() {
return this.tracingType;
}
public void setTracingType(String tracingType) {
this.tracingType = tracingType;
}
}
}
public static class QuicConfig {
private String quicListenerId;
private Boolean quicUpgradeEnabled;
public String getQuicListenerId() {
return this.quicListenerId;
}
public void setQuicListenerId(String quicListenerId) {
this.quicListenerId = quicListenerId;
}
public Boolean getQuicUpgradeEnabled() {
return this.quicUpgradeEnabled;
}
public void setQuicUpgradeEnabled(Boolean quicUpgradeEnabled) {
this.quicUpgradeEnabled = quicUpgradeEnabled;
}
}
public static class XForwardedForConfig {
private String xForwardedForClientCertClientVerifyAlias;
private Boolean xForwardedForClientCertClientVerifyEnabled;
private String xForwardedForClientCertFingerprintAlias;
private Boolean xForwardedForClientCertFingerprintEnabled;
private String xForwardedForClientCertIssuerDNAlias;
private Boolean xForwardedForClientCertIssuerDNEnabled;
private String xForwardedForClientCertSubjectDNAlias;
private Boolean xForwardedForClientCertSubjectDNEnabled;
private Boolean xForwardedForClientSrcPortEnabled;
private Boolean xForwardedForEnabled;
private String xForwardedForProcessingMode;
private Boolean xForwardedForProtoEnabled;
private Boolean xForwardedForSLBIdEnabled;
private Boolean xForwardedForSLBPortEnabled;
private Boolean xForwardedForClientSourceIpsEnabled;
private String xForwardedForClientSourceIpsTrusted;
private Boolean xForwardedForHostEnabled;
public String getXForwardedForClientCertClientVerifyAlias() {
return this.xForwardedForClientCertClientVerifyAlias;
}
public void setXForwardedForClientCertClientVerifyAlias(String xForwardedForClientCertClientVerifyAlias) {
this.xForwardedForClientCertClientVerifyAlias = xForwardedForClientCertClientVerifyAlias;
}
public Boolean getXForwardedForClientCertClientVerifyEnabled() {
return this.xForwardedForClientCertClientVerifyEnabled;
}
public void setXForwardedForClientCertClientVerifyEnabled(Boolean xForwardedForClientCertClientVerifyEnabled) {
this.xForwardedForClientCertClientVerifyEnabled = xForwardedForClientCertClientVerifyEnabled;
}
public String getXForwardedForClientCertFingerprintAlias() {
return this.xForwardedForClientCertFingerprintAlias;
}
public void setXForwardedForClientCertFingerprintAlias(String xForwardedForClientCertFingerprintAlias) {
this.xForwardedForClientCertFingerprintAlias = xForwardedForClientCertFingerprintAlias;
}
public Boolean getXForwardedForClientCertFingerprintEnabled() {
return this.xForwardedForClientCertFingerprintEnabled;
}
public void setXForwardedForClientCertFingerprintEnabled(Boolean xForwardedForClientCertFingerprintEnabled) {
this.xForwardedForClientCertFingerprintEnabled = xForwardedForClientCertFingerprintEnabled;
}
public String getXForwardedForClientCertIssuerDNAlias() {
return this.xForwardedForClientCertIssuerDNAlias;
}
public void setXForwardedForClientCertIssuerDNAlias(String xForwardedForClientCertIssuerDNAlias) {
this.xForwardedForClientCertIssuerDNAlias = xForwardedForClientCertIssuerDNAlias;
}
public Boolean getXForwardedForClientCertIssuerDNEnabled() {
return this.xForwardedForClientCertIssuerDNEnabled;
}
public void setXForwardedForClientCertIssuerDNEnabled(Boolean xForwardedForClientCertIssuerDNEnabled) {
this.xForwardedForClientCertIssuerDNEnabled = xForwardedForClientCertIssuerDNEnabled;
}
public String getXForwardedForClientCertSubjectDNAlias() {
return this.xForwardedForClientCertSubjectDNAlias;
}
public void setXForwardedForClientCertSubjectDNAlias(String xForwardedForClientCertSubjectDNAlias) {
this.xForwardedForClientCertSubjectDNAlias = xForwardedForClientCertSubjectDNAlias;
}
public Boolean getXForwardedForClientCertSubjectDNEnabled() {
return this.xForwardedForClientCertSubjectDNEnabled;
}
public void setXForwardedForClientCertSubjectDNEnabled(Boolean xForwardedForClientCertSubjectDNEnabled) {
this.xForwardedForClientCertSubjectDNEnabled = xForwardedForClientCertSubjectDNEnabled;
}
public Boolean getXForwardedForClientSrcPortEnabled() {
return this.xForwardedForClientSrcPortEnabled;
}
public void setXForwardedForClientSrcPortEnabled(Boolean xForwardedForClientSrcPortEnabled) {
this.xForwardedForClientSrcPortEnabled = xForwardedForClientSrcPortEnabled;
}
public Boolean getXForwardedForEnabled() {
return this.xForwardedForEnabled;
}
public void setXForwardedForEnabled(Boolean xForwardedForEnabled) {
this.xForwardedForEnabled = xForwardedForEnabled;
}
public String getXForwardedForProcessingMode() {
return this.xForwardedForProcessingMode;
}
public void setXForwardedForProcessingMode(String xForwardedForProcessingMode) {
this.xForwardedForProcessingMode = xForwardedForProcessingMode;
}
public Boolean getXForwardedForProtoEnabled() {
return this.xForwardedForProtoEnabled;
}
public void setXForwardedForProtoEnabled(Boolean xForwardedForProtoEnabled) {
this.xForwardedForProtoEnabled = xForwardedForProtoEnabled;
}
public Boolean getXForwardedForSLBIdEnabled() {
return this.xForwardedForSLBIdEnabled;
}
public void setXForwardedForSLBIdEnabled(Boolean xForwardedForSLBIdEnabled) {
this.xForwardedForSLBIdEnabled = xForwardedForSLBIdEnabled;
}
public Boolean getXForwardedForSLBPortEnabled() {
return this.xForwardedForSLBPortEnabled;
}
public void setXForwardedForSLBPortEnabled(Boolean xForwardedForSLBPortEnabled) {
this.xForwardedForSLBPortEnabled = xForwardedForSLBPortEnabled;
}
public Boolean getXForwardedForClientSourceIpsEnabled() {
return this.xForwardedForClientSourceIpsEnabled;
}
public void setXForwardedForClientSourceIpsEnabled(Boolean xForwardedForClientSourceIpsEnabled) {
this.xForwardedForClientSourceIpsEnabled = xForwardedForClientSourceIpsEnabled;
}
public String getXForwardedForClientSourceIpsTrusted() {
return this.xForwardedForClientSourceIpsTrusted;
}
public void setXForwardedForClientSourceIpsTrusted(String xForwardedForClientSourceIpsTrusted) {
this.xForwardedForClientSourceIpsTrusted = xForwardedForClientSourceIpsTrusted;
}
public Boolean getXForwardedForHostEnabled() {
return this.xForwardedForHostEnabled;
}
public void setXForwardedForHostEnabled(Boolean xForwardedForHostEnabled) {
this.xForwardedForHostEnabled = xForwardedForHostEnabled;
}
}
}
@Override
public ListListenersResponse getInstance(UnmarshallerContext context) {
return ListListenersResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/ListLoadBalancersRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class ListLoadBalancersRequest extends RpcAcsRequest<ListLoadBalancersResponse> {
private List<String> loadBalancerNames;
private List<String> loadBalancerIds;
private String addressIpVersion;
private String resourceGroupId;
private String nextToken;
private String loadBalancerBussinessStatus;
private String dNSName;
private String addressType;
private List<String> vpcIds;
private List<Tag> tag;
private String loadBalancerStatus;
private Integer maxResults;
private String zoneId;
private String ipv6AddressType;
private String payType;
public ListLoadBalancersRequest() {
super("Alb", "2020-06-16", "ListLoadBalancers", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public List<String> getLoadBalancerNames() {
return this.loadBalancerNames;
}
public void setLoadBalancerNames(List<String> loadBalancerNames) {
this.loadBalancerNames = loadBalancerNames;
if (loadBalancerNames != null) {
for (int depth1 = 0; depth1 < loadBalancerNames.size(); depth1++) {
putQueryParameter("LoadBalancerNames." + (depth1 + 1) , loadBalancerNames.get(depth1));
}
}
}
public List<String> getLoadBalancerIds() {
return this.loadBalancerIds;
}
public void setLoadBalancerIds(List<String> loadBalancerIds) {
this.loadBalancerIds = loadBalancerIds;
if (loadBalancerIds != null) {
for (int depth1 = 0; depth1 < loadBalancerIds.size(); depth1++) {
putQueryParameter("LoadBalancerIds." + (depth1 + 1) , loadBalancerIds.get(depth1));
}
}
}
public String getAddressIpVersion() {
return this.addressIpVersion;
}
public void setAddressIpVersion(String addressIpVersion) {
this.addressIpVersion = addressIpVersion;
if(addressIpVersion != null){
putQueryParameter("AddressIpVersion", addressIpVersion);
}
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public void setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
if(resourceGroupId != null){
putQueryParameter("ResourceGroupId", resourceGroupId);
}
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
if(nextToken != null){
putQueryParameter("NextToken", nextToken);
}
}
public String getLoadBalancerBussinessStatus() {
return this.loadBalancerBussinessStatus;
}
public void setLoadBalancerBussinessStatus(String loadBalancerBussinessStatus) {
this.loadBalancerBussinessStatus = loadBalancerBussinessStatus;
if(loadBalancerBussinessStatus != null){
putQueryParameter("LoadBalancerBussinessStatus", loadBalancerBussinessStatus);
}
}
public String getDNSName() {
return this.dNSName;
}
public void setDNSName(String dNSName) {
this.dNSName = dNSName;
if(dNSName != null){
putQueryParameter("DNSName", dNSName);
}
}
public String getAddressType() {
return this.addressType;
}
public void setAddressType(String addressType) {
this.addressType = addressType;
if(addressType != null){
putQueryParameter("AddressType", addressType);
}
}
public List<String> getVpcIds() {
return this.vpcIds;
}
public void setVpcIds(List<String> vpcIds) {
this.vpcIds = vpcIds;
if (vpcIds != null) {
for (int depth1 = 0; depth1 < vpcIds.size(); depth1++) {
putQueryParameter("VpcIds." + (depth1 + 1) , vpcIds.get(depth1));
}
}
}
public List<Tag> getTag() {
return this.tag;
}
public void setTag(List<Tag> tag) {
this.tag = tag;
if (tag != null) {
for (int depth1 = 0; depth1 < tag.size(); depth1++) {
if (tag.get(depth1) != null) {
putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tag.get(depth1).getValue());
putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tag.get(depth1).getKey());
}
}
}
}
public String getLoadBalancerStatus() {
return this.loadBalancerStatus;
}
public void setLoadBalancerStatus(String loadBalancerStatus) {
this.loadBalancerStatus = loadBalancerStatus;
if(loadBalancerStatus != null){
putQueryParameter("LoadBalancerStatus", loadBalancerStatus);
}
}
public Integer getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
if(maxResults != null){
putQueryParameter("MaxResults", maxResults.toString());
}
}
public String getZoneId() {
return this.zoneId;
}
public void setZoneId(String zoneId) {
this.zoneId = zoneId;
if(zoneId != null){
putQueryParameter("ZoneId", zoneId);
}
}
public String getIpv6AddressType() {
return this.ipv6AddressType;
}
public void setIpv6AddressType(String ipv6AddressType) {
this.ipv6AddressType = ipv6AddressType;
if(ipv6AddressType != null){
putQueryParameter("Ipv6AddressType", ipv6AddressType);
}
}
public String getPayType() {
return this.payType;
}
public void setPayType(String payType) {
this.payType = payType;
if(payType != null){
putQueryParameter("PayType", payType);
}
}
public static class Tag {
private String value;
private String key;
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
@Override
public Class<ListLoadBalancersResponse> getResponseClass() {
return ListLoadBalancersResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/ListLoadBalancersResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.ListLoadBalancersResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListLoadBalancersResponse extends AcsResponse {
private Integer maxResults;
private String nextToken;
private String requestId;
private Integer totalCount;
private List<LoadBalancer> loadBalancers;
public Integer getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
public List<LoadBalancer> getLoadBalancers() {
return this.loadBalancers;
}
public void setLoadBalancers(List<LoadBalancer> loadBalancers) {
this.loadBalancers = loadBalancers;
}
public static class LoadBalancer {
private String addressAllocatedMode;
private String addressType;
private Integer bandwidthCapacity;
private String bandwidthPackageId;
private String createTime;
private String dNSName;
private Boolean serviceManagedEnabled;
private String serviceManagedMode;
private String loadBalancerBussinessStatus;
private String loadBalancerEdition;
private String loadBalancerId;
private String loadBalancerName;
private String loadBalancerStatus;
private String resourceGroupId;
private String vpcId;
private Boolean configManagedEnabled;
private String addressIpVersion;
private String ipv6AddressType;
private List<LoadBalancerOperationLock> loadBalancerOperationLocks;
private List<Tag> tags;
private List<AssociatedResource> associatedResources;
private AccessLogConfig accessLogConfig;
private DeletionProtectionConfig deletionProtectionConfig;
private LoadBalancerBillingConfig loadBalancerBillingConfig;
private ModificationProtectionConfig modificationProtectionConfig;
public String getAddressAllocatedMode() {
return this.addressAllocatedMode;
}
public void setAddressAllocatedMode(String addressAllocatedMode) {
this.addressAllocatedMode = addressAllocatedMode;
}
public String getAddressType() {
return this.addressType;
}
public void setAddressType(String addressType) {
this.addressType = addressType;
}
public Integer getBandwidthCapacity() {
return this.bandwidthCapacity;
}
public void setBandwidthCapacity(Integer bandwidthCapacity) {
this.bandwidthCapacity = bandwidthCapacity;
}
public String getBandwidthPackageId() {
return this.bandwidthPackageId;
}
public void setBandwidthPackageId(String bandwidthPackageId) {
this.bandwidthPackageId = bandwidthPackageId;
}
public String getCreateTime() {
return this.createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public String getDNSName() {
return this.dNSName;
}
public void setDNSName(String dNSName) {
this.dNSName = dNSName;
}
public Boolean getServiceManagedEnabled() {
return this.serviceManagedEnabled;
}
public void setServiceManagedEnabled(Boolean serviceManagedEnabled) {
this.serviceManagedEnabled = serviceManagedEnabled;
}
public String getServiceManagedMode() {
return this.serviceManagedMode;
}
public void setServiceManagedMode(String serviceManagedMode) {
this.serviceManagedMode = serviceManagedMode;
}
public String getLoadBalancerBussinessStatus() {
return this.loadBalancerBussinessStatus;
}
public void setLoadBalancerBussinessStatus(String loadBalancerBussinessStatus) {
this.loadBalancerBussinessStatus = loadBalancerBussinessStatus;
}
public String getLoadBalancerEdition() {
return this.loadBalancerEdition;
}
public void setLoadBalancerEdition(String loadBalancerEdition) {
this.loadBalancerEdition = loadBalancerEdition;
}
public String getLoadBalancerId() {
return this.loadBalancerId;
}
public void setLoadBalancerId(String loadBalancerId) {
this.loadBalancerId = loadBalancerId;
}
public String getLoadBalancerName() {
return this.loadBalancerName;
}
public void setLoadBalancerName(String loadBalancerName) {
this.loadBalancerName = loadBalancerName;
}
public String getLoadBalancerStatus() {
return this.loadBalancerStatus;
}
public void setLoadBalancerStatus(String loadBalancerStatus) {
this.loadBalancerStatus = loadBalancerStatus;
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public void setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
}
public String getVpcId() {
return this.vpcId;
}
public void setVpcId(String vpcId) {
this.vpcId = vpcId;
}
public Boolean getConfigManagedEnabled() {
return this.configManagedEnabled;
}
public void setConfigManagedEnabled(Boolean configManagedEnabled) {
this.configManagedEnabled = configManagedEnabled;
}
public String getAddressIpVersion() {
return this.addressIpVersion;
}
public void setAddressIpVersion(String addressIpVersion) {
this.addressIpVersion = addressIpVersion;
}
public String getIpv6AddressType() {
return this.ipv6AddressType;
}
public void setIpv6AddressType(String ipv6AddressType) {
this.ipv6AddressType = ipv6AddressType;
}
public List<LoadBalancerOperationLock> getLoadBalancerOperationLocks() {
return this.loadBalancerOperationLocks;
}
public void setLoadBalancerOperationLocks(List<LoadBalancerOperationLock> loadBalancerOperationLocks) {
this.loadBalancerOperationLocks = loadBalancerOperationLocks;
}
public List<Tag> getTags() {
return this.tags;
}
public void setTags(List<Tag> tags) {
this.tags = tags;
}
public List<AssociatedResource> getAssociatedResources() {
return this.associatedResources;
}
public void setAssociatedResources(List<AssociatedResource> associatedResources) {
this.associatedResources = associatedResources;
}
public AccessLogConfig getAccessLogConfig() {
return this.accessLogConfig;
}
public void setAccessLogConfig(AccessLogConfig accessLogConfig) {
this.accessLogConfig = accessLogConfig;
}
public DeletionProtectionConfig getDeletionProtectionConfig() {
return this.deletionProtectionConfig;
}
public void setDeletionProtectionConfig(DeletionProtectionConfig deletionProtectionConfig) {
this.deletionProtectionConfig = deletionProtectionConfig;
}
public LoadBalancerBillingConfig getLoadBalancerBillingConfig() {
return this.loadBalancerBillingConfig;
}
public void setLoadBalancerBillingConfig(LoadBalancerBillingConfig loadBalancerBillingConfig) {
this.loadBalancerBillingConfig = loadBalancerBillingConfig;
}
public ModificationProtectionConfig getModificationProtectionConfig() {
return this.modificationProtectionConfig;
}
public void setModificationProtectionConfig(ModificationProtectionConfig modificationProtectionConfig) {
this.modificationProtectionConfig = modificationProtectionConfig;
}
public static class LoadBalancerOperationLock {
private String lockReason;
private String lockType;
public String getLockReason() {
return this.lockReason;
}
public void setLockReason(String lockReason) {
this.lockReason = lockReason;
}
public String getLockType() {
return this.lockType;
}
public void setLockType(String lockType) {
this.lockType = lockType;
}
}
public static class Tag {
private String key;
private String value;
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
}
public static class AssociatedResource {
private String associatedResourceType;
private String associatedResourceId;
private String policyId;
private String status;
private String associatedMode;
public String getAssociatedResourceType() {
return this.associatedResourceType;
}
public void setAssociatedResourceType(String associatedResourceType) {
this.associatedResourceType = associatedResourceType;
}
public String getAssociatedResourceId() {
return this.associatedResourceId;
}
public void setAssociatedResourceId(String associatedResourceId) {
this.associatedResourceId = associatedResourceId;
}
public String getPolicyId() {
return this.policyId;
}
public void setPolicyId(String policyId) {
this.policyId = policyId;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public String getAssociatedMode() {
return this.associatedMode;
}
public void setAssociatedMode(String associatedMode) {
this.associatedMode = associatedMode;
}
}
public static class AccessLogConfig {
private String logProject;
private String logStore;
public String getLogProject() {
return this.logProject;
}
public void setLogProject(String logProject) {
this.logProject = logProject;
}
public String getLogStore() {
return this.logStore;
}
public void setLogStore(String logStore) {
this.logStore = logStore;
}
}
public static class DeletionProtectionConfig {
private Boolean enabled;
private String enabledTime;
public Boolean getEnabled() {
return this.enabled;
}
public void setEnabled(Boolean enabled) {
this.enabled = enabled;
}
public String getEnabledTime() {
return this.enabledTime;
}
public void setEnabledTime(String enabledTime) {
this.enabledTime = enabledTime;
}
}
public static class LoadBalancerBillingConfig {
private Integer internetBandwidth;
private String internetChargeType;
private String payType;
public Integer getInternetBandwidth() {
return this.internetBandwidth;
}
public void setInternetBandwidth(Integer internetBandwidth) {
this.internetBandwidth = internetBandwidth;
}
public String getInternetChargeType() {
return this.internetChargeType;
}
public void setInternetChargeType(String internetChargeType) {
this.internetChargeType = internetChargeType;
}
public String getPayType() {
return this.payType;
}
public void setPayType(String payType) {
this.payType = payType;
}
}
public static class ModificationProtectionConfig {
private String reason;
private String status;
public String getReason() {
return this.reason;
}
public void setReason(String reason) {
this.reason = reason;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
}
}
@Override
public ListLoadBalancersResponse getInstance(UnmarshallerContext context) {
return ListLoadBalancersResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/ListRulesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class ListRulesRequest extends RpcAcsRequest<ListRulesResponse> {
private List<String> loadBalancerIds;
private String nextToken;
private List<Tag> tag;
private String direction;
private List<String> ruleIds;
private List<String> listenerIds;
private Integer maxResults;
public ListRulesRequest() {
super("Alb", "2020-06-16", "ListRules", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public List<String> getLoadBalancerIds() {
return this.loadBalancerIds;
}
public void setLoadBalancerIds(List<String> loadBalancerIds) {
this.loadBalancerIds = loadBalancerIds;
if (loadBalancerIds != null) {
for (int depth1 = 0; depth1 < loadBalancerIds.size(); depth1++) {
putQueryParameter("LoadBalancerIds." + (depth1 + 1) , loadBalancerIds.get(depth1));
}
}
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
if(nextToken != null){
putQueryParameter("NextToken", nextToken);
}
}
public List<Tag> getTag() {
return this.tag;
}
public void setTag(List<Tag> tag) {
this.tag = tag;
if (tag != null) {
for (int depth1 = 0; depth1 < tag.size(); depth1++) {
if (tag.get(depth1) != null) {
putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tag.get(depth1).getValue());
putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tag.get(depth1).getKey());
}
}
}
}
public String getDirection() {
return this.direction;
}
public void setDirection(String direction) {
this.direction = direction;
if(direction != null){
putQueryParameter("Direction", direction);
}
}
public List<String> getRuleIds() {
return this.ruleIds;
}
public void setRuleIds(List<String> ruleIds) {
this.ruleIds = ruleIds;
if (ruleIds != null) {
for (int depth1 = 0; depth1 < ruleIds.size(); depth1++) {
putQueryParameter("RuleIds." + (depth1 + 1) , ruleIds.get(depth1));
}
}
}
public List<String> getListenerIds() {
return this.listenerIds;
}
public void setListenerIds(List<String> listenerIds) {
this.listenerIds = listenerIds;
if (listenerIds != null) {
for (int depth1 = 0; depth1 < listenerIds.size(); depth1++) {
putQueryParameter("ListenerIds." + (depth1 + 1) , listenerIds.get(depth1));
}
}
}
public Integer getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
if(maxResults != null){
putQueryParameter("MaxResults", maxResults.toString());
}
}
public static class Tag {
private String value;
private String key;
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
@Override
public Class<ListRulesResponse> getResponseClass() {
return ListRulesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/ListRulesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.ListRulesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListRulesResponse extends AcsResponse {
private Integer maxResults;
private String nextToken;
private String requestId;
private Integer totalCount;
private List<Rule> rules;
public Integer getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
public List<Rule> getRules() {
return this.rules;
}
public void setRules(List<Rule> rules) {
this.rules = rules;
}
public static class Rule {
private String listenerId;
private String loadBalancerId;
private Integer priority;
private String ruleId;
private String ruleName;
private String ruleStatus;
private String direction;
private Boolean serviceManagedEnabled;
private String serviceManagedMode;
private List<Action> ruleActions;
private List<Condition> ruleConditions;
private List<Tag> tags;
public String getListenerId() {
return this.listenerId;
}
public void setListenerId(String listenerId) {
this.listenerId = listenerId;
}
public String getLoadBalancerId() {
return this.loadBalancerId;
}
public void setLoadBalancerId(String loadBalancerId) {
this.loadBalancerId = loadBalancerId;
}
public Integer getPriority() {
return this.priority;
}
public void setPriority(Integer priority) {
this.priority = priority;
}
public String getRuleId() {
return this.ruleId;
}
public void setRuleId(String ruleId) {
this.ruleId = ruleId;
}
public String getRuleName() {
return this.ruleName;
}
public void setRuleName(String ruleName) {
this.ruleName = ruleName;
}
public String getRuleStatus() {
return this.ruleStatus;
}
public void setRuleStatus(String ruleStatus) {
this.ruleStatus = ruleStatus;
}
public String getDirection() {
return this.direction;
}
public void setDirection(String direction) {
this.direction = direction;
}
public Boolean getServiceManagedEnabled() {
return this.serviceManagedEnabled;
}
public void setServiceManagedEnabled(Boolean serviceManagedEnabled) {
this.serviceManagedEnabled = serviceManagedEnabled;
}
public String getServiceManagedMode() {
return this.serviceManagedMode;
}
public void setServiceManagedMode(String serviceManagedMode) {
this.serviceManagedMode = serviceManagedMode;
}
public List<Action> getRuleActions() {
return this.ruleActions;
}
public void setRuleActions(List<Action> ruleActions) {
this.ruleActions = ruleActions;
}
public List<Condition> getRuleConditions() {
return this.ruleConditions;
}
public void setRuleConditions(List<Condition> ruleConditions) {
this.ruleConditions = ruleConditions;
}
public List<Tag> getTags() {
return this.tags;
}
public void setTags(List<Tag> tags) {
this.tags = tags;
}
public static class Action {
private Integer order;
private String type;
private FixedResponseConfig fixedResponseConfig;
private ForwardGroupConfig forwardGroupConfig;
private InsertHeaderConfig insertHeaderConfig;
private RedirectConfig redirectConfig;
private RemoveHeaderConfig removeHeaderConfig;
private RewriteConfig rewriteConfig;
private TrafficMirrorConfig trafficMirrorConfig;
private TrafficLimitConfig trafficLimitConfig;
private CorsConfig corsConfig;
public Integer getOrder() {
return this.order;
}
public void setOrder(Integer order) {
this.order = order;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public FixedResponseConfig getFixedResponseConfig() {
return this.fixedResponseConfig;
}
public void setFixedResponseConfig(FixedResponseConfig fixedResponseConfig) {
this.fixedResponseConfig = fixedResponseConfig;
}
public ForwardGroupConfig getForwardGroupConfig() {
return this.forwardGroupConfig;
}
public void setForwardGroupConfig(ForwardGroupConfig forwardGroupConfig) {
this.forwardGroupConfig = forwardGroupConfig;
}
public InsertHeaderConfig getInsertHeaderConfig() {
return this.insertHeaderConfig;
}
public void setInsertHeaderConfig(InsertHeaderConfig insertHeaderConfig) {
this.insertHeaderConfig = insertHeaderConfig;
}
public RedirectConfig getRedirectConfig() {
return this.redirectConfig;
}
public void setRedirectConfig(RedirectConfig redirectConfig) {
this.redirectConfig = redirectConfig;
}
public RemoveHeaderConfig getRemoveHeaderConfig() {
return this.removeHeaderConfig;
}
public void setRemoveHeaderConfig(RemoveHeaderConfig removeHeaderConfig) {
this.removeHeaderConfig = removeHeaderConfig;
}
public RewriteConfig getRewriteConfig() {
return this.rewriteConfig;
}
public void setRewriteConfig(RewriteConfig rewriteConfig) {
this.rewriteConfig = rewriteConfig;
}
public TrafficMirrorConfig getTrafficMirrorConfig() {
return this.trafficMirrorConfig;
}
public void setTrafficMirrorConfig(TrafficMirrorConfig trafficMirrorConfig) {
this.trafficMirrorConfig = trafficMirrorConfig;
}
public TrafficLimitConfig getTrafficLimitConfig() {
return this.trafficLimitConfig;
}
public void setTrafficLimitConfig(TrafficLimitConfig trafficLimitConfig) {
this.trafficLimitConfig = trafficLimitConfig;
}
public CorsConfig getCorsConfig() {
return this.corsConfig;
}
public void setCorsConfig(CorsConfig corsConfig) {
this.corsConfig = corsConfig;
}
public static class FixedResponseConfig {
private String content;
private String contentType;
private String httpCode;
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
}
public String getContentType() {
return this.contentType;
}
public void setContentType(String contentType) {
this.contentType = contentType;
}
public String getHttpCode() {
return this.httpCode;
}
public void setHttpCode(String httpCode) {
this.httpCode = httpCode;
}
}
public static class ForwardGroupConfig {
private List<ServerGroupTuple> serverGroupTuples;
private ServerGroupStickySession serverGroupStickySession;
public List<ServerGroupTuple> getServerGroupTuples() {
return this.serverGroupTuples;
}
public void setServerGroupTuples(List<ServerGroupTuple> serverGroupTuples) {
this.serverGroupTuples = serverGroupTuples;
}
public ServerGroupStickySession getServerGroupStickySession() {
return this.serverGroupStickySession;
}
public void setServerGroupStickySession(ServerGroupStickySession serverGroupStickySession) {
this.serverGroupStickySession = serverGroupStickySession;
}
public static class ServerGroupTuple {
private String serverGroupId;
private Integer weight;
public String getServerGroupId() {
return this.serverGroupId;
}
public void setServerGroupId(String serverGroupId) {
this.serverGroupId = serverGroupId;
}
public Integer getWeight() {
return this.weight;
}
public void setWeight(Integer weight) {
this.weight = weight;
}
}
public static class ServerGroupStickySession {
private Boolean enabled;
private Integer timeout;
public Boolean getEnabled() {
return this.enabled;
}
public void setEnabled(Boolean enabled) {
this.enabled = enabled;
}
public Integer getTimeout() {
return this.timeout;
}
public void setTimeout(Integer timeout) {
this.timeout = timeout;
}
}
}
public static class InsertHeaderConfig {
private Boolean coverEnabled;
private String key;
private String value;
private String valueType;
public Boolean getCoverEnabled() {
return this.coverEnabled;
}
public void setCoverEnabled(Boolean coverEnabled) {
this.coverEnabled = coverEnabled;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getValueType() {
return this.valueType;
}
public void setValueType(String valueType) {
this.valueType = valueType;
}
}
public static class RedirectConfig {
private String host;
private String httpCode;
private String path;
private String port;
private String protocol;
private String query;
public String getHost() {
return this.host;
}
public void setHost(String host) {
this.host = host;
}
public String getHttpCode() {
return this.httpCode;
}
public void setHttpCode(String httpCode) {
this.httpCode = httpCode;
}
public String getPath() {
return this.path;
}
public void setPath(String path) {
this.path = path;
}
public String getPort() {
return this.port;
}
public void setPort(String port) {
this.port = port;
}
public String getBizProtocol() {
return this.protocol;
}
public void setBizProtocol(String protocol) {
this.protocol = protocol;
}
public String getQuery() {
return this.query;
}
public void setQuery(String query) {
this.query = query;
}
}
public static class RemoveHeaderConfig {
private String key;
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
public static class RewriteConfig {
private String host;
private String path;
private String query;
public String getHost() {
return this.host;
}
public void setHost(String host) {
this.host = host;
}
public String getPath() {
return this.path;
}
public void setPath(String path) {
this.path = path;
}
public String getQuery() {
return this.query;
}
public void setQuery(String query) {
this.query = query;
}
}
public static class TrafficMirrorConfig {
private String targetType;
private MirrorGroupConfig mirrorGroupConfig;
public String getTargetType() {
return this.targetType;
}
public void setTargetType(String targetType) {
this.targetType = targetType;
}
public MirrorGroupConfig getMirrorGroupConfig() {
return this.mirrorGroupConfig;
}
public void setMirrorGroupConfig(MirrorGroupConfig mirrorGroupConfig) {
this.mirrorGroupConfig = mirrorGroupConfig;
}
public static class MirrorGroupConfig {
private List<ServerGroupTuple2> serverGroupTuples1;
public List<ServerGroupTuple2> getServerGroupTuples1() {
return this.serverGroupTuples1;
}
public void setServerGroupTuples1(List<ServerGroupTuple2> serverGroupTuples1) {
this.serverGroupTuples1 = serverGroupTuples1;
}
public static class ServerGroupTuple2 {
private String serverGroupId;
private Integer weight;
public String getServerGroupId() {
return this.serverGroupId;
}
public void setServerGroupId(String serverGroupId) {
this.serverGroupId = serverGroupId;
}
public Integer getWeight() {
return this.weight;
}
public void setWeight(Integer weight) {
this.weight = weight;
}
}
}
}
public static class TrafficLimitConfig {
private Integer qPS;
private Integer perIpQps;
public Integer getQPS() {
return this.qPS;
}
public void setQPS(Integer qPS) {
this.qPS = qPS;
}
public Integer getPerIpQps() {
return this.perIpQps;
}
public void setPerIpQps(Integer perIpQps) {
this.perIpQps = perIpQps;
}
}
public static class CorsConfig {
private String allowCredentials;
private Long maxAge;
private List<String> allowOrigin;
private List<String> allowMethods;
private List<String> allowHeaders;
private List<String> exposeHeaders;
public String getAllowCredentials() {
return this.allowCredentials;
}
public void setAllowCredentials(String allowCredentials) {
this.allowCredentials = allowCredentials;
}
public Long getMaxAge() {
return this.maxAge;
}
public void setMaxAge(Long maxAge) {
this.maxAge = maxAge;
}
public List<String> getAllowOrigin() {
return this.allowOrigin;
}
public void setAllowOrigin(List<String> allowOrigin) {
this.allowOrigin = allowOrigin;
}
public List<String> getAllowMethods() {
return this.allowMethods;
}
public void setAllowMethods(List<String> allowMethods) {
this.allowMethods = allowMethods;
}
public List<String> getAllowHeaders() {
return this.allowHeaders;
}
public void setAllowHeaders(List<String> allowHeaders) {
this.allowHeaders = allowHeaders;
}
public List<String> getExposeHeaders() {
return this.exposeHeaders;
}
public void setExposeHeaders(List<String> exposeHeaders) {
this.exposeHeaders = exposeHeaders;
}
}
}
public static class Condition {
private String type;
private CookieConfig cookieConfig;
private HeaderConfig headerConfig;
private HostConfig hostConfig;
private MethodConfig methodConfig;
private PathConfig pathConfig;
private QueryStringConfig queryStringConfig;
private SourceIpConfig sourceIpConfig;
private ResponseStatusCodeConfig responseStatusCodeConfig;
private ResponseHeaderConfig responseHeaderConfig;
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public CookieConfig getCookieConfig() {
return this.cookieConfig;
}
public void setCookieConfig(CookieConfig cookieConfig) {
this.cookieConfig = cookieConfig;
}
public HeaderConfig getHeaderConfig() {
return this.headerConfig;
}
public void setHeaderConfig(HeaderConfig headerConfig) {
this.headerConfig = headerConfig;
}
public HostConfig getHostConfig() {
return this.hostConfig;
}
public void setHostConfig(HostConfig hostConfig) {
this.hostConfig = hostConfig;
}
public MethodConfig getMethodConfig() {
return this.methodConfig;
}
public void setMethodConfig(MethodConfig methodConfig) {
this.methodConfig = methodConfig;
}
public PathConfig getPathConfig() {
return this.pathConfig;
}
public void setPathConfig(PathConfig pathConfig) {
this.pathConfig = pathConfig;
}
public QueryStringConfig getQueryStringConfig() {
return this.queryStringConfig;
}
public void setQueryStringConfig(QueryStringConfig queryStringConfig) {
this.queryStringConfig = queryStringConfig;
}
public SourceIpConfig getSourceIpConfig() {
return this.sourceIpConfig;
}
public void setSourceIpConfig(SourceIpConfig sourceIpConfig) {
this.sourceIpConfig = sourceIpConfig;
}
public ResponseStatusCodeConfig getResponseStatusCodeConfig() {
return this.responseStatusCodeConfig;
}
public void setResponseStatusCodeConfig(ResponseStatusCodeConfig responseStatusCodeConfig) {
this.responseStatusCodeConfig = responseStatusCodeConfig;
}
public ResponseHeaderConfig getResponseHeaderConfig() {
return this.responseHeaderConfig;
}
public void setResponseHeaderConfig(ResponseHeaderConfig responseHeaderConfig) {
this.responseHeaderConfig = responseHeaderConfig;
}
public static class CookieConfig {
private List<Value> values;
public List<Value> getValues() {
return this.values;
}
public void setValues(List<Value> values) {
this.values = values;
}
public static class Value {
private String key;
private String value;
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
}
}
public static class HeaderConfig {
private String key;
private List<String> values3;
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
public List<String> getValues3() {
return this.values3;
}
public void setValues3(List<String> values3) {
this.values3 = values3;
}
}
public static class HostConfig {
private List<String> values4;
public List<String> getValues4() {
return this.values4;
}
public void setValues4(List<String> values4) {
this.values4 = values4;
}
}
public static class MethodConfig {
private List<String> values5;
public List<String> getValues5() {
return this.values5;
}
public void setValues5(List<String> values5) {
this.values5 = values5;
}
}
public static class PathConfig {
private List<String> values6;
public List<String> getValues6() {
return this.values6;
}
public void setValues6(List<String> values6) {
this.values6 = values6;
}
}
public static class QueryStringConfig {
private List<Value8> values7;
public List<Value8> getValues7() {
return this.values7;
}
public void setValues7(List<Value8> values7) {
this.values7 = values7;
}
public static class Value8 {
private String key;
private String value;
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
}
}
public static class SourceIpConfig {
private List<String> values9;
public List<String> getValues9() {
return this.values9;
}
public void setValues9(List<String> values9) {
this.values9 = values9;
}
}
public static class ResponseStatusCodeConfig {
private List<String> values10;
public List<String> getValues10() {
return this.values10;
}
public void setValues10(List<String> values10) {
this.values10 = values10;
}
}
public static class ResponseHeaderConfig {
private String key;
private List<String> values11;
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
public List<String> getValues11() {
return this.values11;
}
public void setValues11(List<String> values11) {
this.values11 = values11;
}
}
}
public static class Tag {
private String key;
private String value;
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
}
}
@Override
public ListRulesResponse getInstance(UnmarshallerContext context) {
return ListRulesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/ListSecurityPoliciesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class ListSecurityPoliciesRequest extends RpcAcsRequest<ListSecurityPoliciesResponse> {
private List<String> securityPolicyNames;
private String resourceGroupId;
private String nextToken;
private List<Tag> tag;
private List<String> securityPolicyIds;
private Integer maxResults;
public ListSecurityPoliciesRequest() {
super("Alb", "2020-06-16", "ListSecurityPolicies", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public List<String> getSecurityPolicyNames() {
return this.securityPolicyNames;
}
public void setSecurityPolicyNames(List<String> securityPolicyNames) {
this.securityPolicyNames = securityPolicyNames;
if (securityPolicyNames != null) {
for (int depth1 = 0; depth1 < securityPolicyNames.size(); depth1++) {
putQueryParameter("SecurityPolicyNames." + (depth1 + 1) , securityPolicyNames.get(depth1));
}
}
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public void setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
if(resourceGroupId != null){
putQueryParameter("ResourceGroupId", resourceGroupId);
}
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
if(nextToken != null){
putQueryParameter("NextToken", nextToken);
}
}
public List<Tag> getTag() {
return this.tag;
}
public void setTag(List<Tag> tag) {
this.tag = tag;
if (tag != null) {
for (int depth1 = 0; depth1 < tag.size(); depth1++) {
if (tag.get(depth1) != null) {
putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tag.get(depth1).getValue());
putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tag.get(depth1).getKey());
}
}
}
}
public List<String> getSecurityPolicyIds() {
return this.securityPolicyIds;
}
public void setSecurityPolicyIds(List<String> securityPolicyIds) {
this.securityPolicyIds = securityPolicyIds;
if (securityPolicyIds != null) {
for (int depth1 = 0; depth1 < securityPolicyIds.size(); depth1++) {
putQueryParameter("SecurityPolicyIds." + (depth1 + 1) , securityPolicyIds.get(depth1));
}
}
}
public Integer getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
if(maxResults != null){
putQueryParameter("MaxResults", maxResults.toString());
}
}
public static class Tag {
private String value;
private String key;
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
@Override
public Class<ListSecurityPoliciesResponse> getResponseClass() {
return ListSecurityPoliciesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/ListSecurityPoliciesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.ListSecurityPoliciesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListSecurityPoliciesResponse extends AcsResponse {
private Integer maxResults;
private String nextToken;
private String requestId;
private Integer totalCount;
private List<SecurityPolicy> securityPolicies;
public Integer getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
public List<SecurityPolicy> getSecurityPolicies() {
return this.securityPolicies;
}
public void setSecurityPolicies(List<SecurityPolicy> securityPolicies) {
this.securityPolicies = securityPolicies;
}
public static class SecurityPolicy {
private String resourceGroupId;
private String securityPolicyId;
private String securityPolicyName;
private String securityPolicyStatus;
private Boolean serviceManagedEnabled;
private String serviceManagedMode;
private String createTime;
private List<Tag> tags;
private List<String> ciphers;
private List<String> tLSVersions;
public String getResourceGroupId() {
return this.resourceGroupId;
}
public void setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
}
public String getSecurityPolicyId() {
return this.securityPolicyId;
}
public void setSecurityPolicyId(String securityPolicyId) {
this.securityPolicyId = securityPolicyId;
}
public String getSecurityPolicyName() {
return this.securityPolicyName;
}
public void setSecurityPolicyName(String securityPolicyName) {
this.securityPolicyName = securityPolicyName;
}
public String getSecurityPolicyStatus() {
return this.securityPolicyStatus;
}
public void setSecurityPolicyStatus(String securityPolicyStatus) {
this.securityPolicyStatus = securityPolicyStatus;
}
public Boolean getServiceManagedEnabled() {
return this.serviceManagedEnabled;
}
public void setServiceManagedEnabled(Boolean serviceManagedEnabled) {
this.serviceManagedEnabled = serviceManagedEnabled;
}
public String getServiceManagedMode() {
return this.serviceManagedMode;
}
public void setServiceManagedMode(String serviceManagedMode) {
this.serviceManagedMode = serviceManagedMode;
}
public String getCreateTime() {
return this.createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public List<Tag> getTags() {
return this.tags;
}
public void setTags(List<Tag> tags) {
this.tags = tags;
}
public List<String> getCiphers() {
return this.ciphers;
}
public void setCiphers(List<String> ciphers) {
this.ciphers = ciphers;
}
public List<String> getTLSVersions() {
return this.tLSVersions;
}
public void setTLSVersions(List<String> tLSVersions) {
this.tLSVersions = tLSVersions;
}
public static class Tag {
private String key;
private String value;
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
}
}
@Override
public ListSecurityPoliciesResponse getInstance(UnmarshallerContext context) {
return ListSecurityPoliciesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/ListSecurityPolicyRelationsRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class ListSecurityPolicyRelationsRequest extends RpcAcsRequest<ListSecurityPolicyRelationsResponse> {
private List<String> securityPolicyIds;
public ListSecurityPolicyRelationsRequest() {
super("Alb", "2020-06-16", "ListSecurityPolicyRelations", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public List<String> getSecurityPolicyIds() {
return this.securityPolicyIds;
}
public void setSecurityPolicyIds(List<String> securityPolicyIds) {
this.securityPolicyIds = securityPolicyIds;
if (securityPolicyIds != null) {
for (int depth1 = 0; depth1 < securityPolicyIds.size(); depth1++) {
putQueryParameter("SecurityPolicyIds." + (depth1 + 1) , securityPolicyIds.get(depth1));
}
}
}
@Override
public Class<ListSecurityPolicyRelationsResponse> getResponseClass() {
return ListSecurityPolicyRelationsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/ListSecurityPolicyRelationsResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.ListSecurityPolicyRelationsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListSecurityPolicyRelationsResponse extends AcsResponse {
private String requestId;
private List<SecrityPolicyRelation> secrityPolicyRelations;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<SecrityPolicyRelation> getSecrityPolicyRelations() {
return this.secrityPolicyRelations;
}
public void setSecrityPolicyRelations(List<SecrityPolicyRelation> secrityPolicyRelations) {
this.secrityPolicyRelations = secrityPolicyRelations;
}
public static class SecrityPolicyRelation {
private String securityPolicyId;
private List<RelatedListener> relatedListeners;
public String getSecurityPolicyId() {
return this.securityPolicyId;
}
public void setSecurityPolicyId(String securityPolicyId) {
this.securityPolicyId = securityPolicyId;
}
public List<RelatedListener> getRelatedListeners() {
return this.relatedListeners;
}
public void setRelatedListeners(List<RelatedListener> relatedListeners) {
this.relatedListeners = relatedListeners;
}
public static class RelatedListener {
private String listenerId;
private Long listenerPort;
private String listenerProtocol;
private String loadBalancerId;
public String getListenerId() {
return this.listenerId;
}
public void setListenerId(String listenerId) {
this.listenerId = listenerId;
}
public Long getListenerPort() {
return this.listenerPort;
}
public void setListenerPort(Long listenerPort) {
this.listenerPort = listenerPort;
}
public String getListenerProtocol() {
return this.listenerProtocol;
}
public void setListenerProtocol(String listenerProtocol) {
this.listenerProtocol = listenerProtocol;
}
public String getLoadBalancerId() {
return this.loadBalancerId;
}
public void setLoadBalancerId(String loadBalancerId) {
this.loadBalancerId = loadBalancerId;
}
}
}
@Override
public ListSecurityPolicyRelationsResponse getInstance(UnmarshallerContext context) {
return ListSecurityPolicyRelationsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/ListServerGroupServersRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class ListServerGroupServersRequest extends RpcAcsRequest<ListServerGroupServersResponse> {
private String serverGroupId;
private String nextToken;
private List<Tag> tag;
private List<String> serverIds;
private Integer maxResults;
public ListServerGroupServersRequest() {
super("Alb", "2020-06-16", "ListServerGroupServers", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getServerGroupId() {
return this.serverGroupId;
}
public void setServerGroupId(String serverGroupId) {
this.serverGroupId = serverGroupId;
if(serverGroupId != null){
putQueryParameter("ServerGroupId", serverGroupId);
}
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
if(nextToken != null){
putQueryParameter("NextToken", nextToken);
}
}
public List<Tag> getTag() {
return this.tag;
}
public void setTag(List<Tag> tag) {
this.tag = tag;
if (tag != null) {
for (int depth1 = 0; depth1 < tag.size(); depth1++) {
if (tag.get(depth1) != null) {
putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tag.get(depth1).getValue());
putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tag.get(depth1).getKey());
}
}
}
}
public List<String> getServerIds() {
return this.serverIds;
}
public void setServerIds(List<String> serverIds) {
this.serverIds = serverIds;
if (serverIds != null) {
for (int depth1 = 0; depth1 < serverIds.size(); depth1++) {
putQueryParameter("ServerIds." + (depth1 + 1) , serverIds.get(depth1));
}
}
}
public Integer getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
if(maxResults != null){
putQueryParameter("MaxResults", maxResults.toString());
}
}
public static class Tag {
private String value;
private String key;
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
@Override
public Class<ListServerGroupServersResponse> getResponseClass() {
return ListServerGroupServersResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/ListServerGroupServersResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.ListServerGroupServersResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListServerGroupServersResponse extends AcsResponse {
private Integer maxResults;
private String nextToken;
private String requestId;
private Integer totalCount;
private List<BackendServer> servers;
public Integer getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
public List<BackendServer> getServers() {
return this.servers;
}
public void setServers(List<BackendServer> servers) {
this.servers = servers;
}
public static class BackendServer {
private String description;
private Integer port;
private String serverId;
private String serverIp;
private String serverType;
private String status;
private Integer weight;
private String serverGroupId;
private Boolean remoteIpEnabled;
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public Integer getPort() {
return this.port;
}
public void setPort(Integer port) {
this.port = port;
}
public String getServerId() {
return this.serverId;
}
public void setServerId(String serverId) {
this.serverId = serverId;
}
public String getServerIp() {
return this.serverIp;
}
public void setServerIp(String serverIp) {
this.serverIp = serverIp;
}
public String getServerType() {
return this.serverType;
}
public void setServerType(String serverType) {
this.serverType = serverType;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public Integer getWeight() {
return this.weight;
}
public void setWeight(Integer weight) {
this.weight = weight;
}
public String getServerGroupId() {
return this.serverGroupId;
}
public void setServerGroupId(String serverGroupId) {
this.serverGroupId = serverGroupId;
}
public Boolean getRemoteIpEnabled() {
return this.remoteIpEnabled;
}
public void setRemoteIpEnabled(Boolean remoteIpEnabled) {
this.remoteIpEnabled = remoteIpEnabled;
}
}
@Override
public ListServerGroupServersResponse getInstance(UnmarshallerContext context) {
return ListServerGroupServersResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/ListServerGroupsRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class ListServerGroupsRequest extends RpcAcsRequest<ListServerGroupsResponse> {
private List<String> serverGroupNames;
private String resourceGroupId;
private String nextToken;
private List<Tag> tag;
private List<String> serverGroupIds;
private String serverGroupType;
private String vpcId;
private Integer maxResults;
public ListServerGroupsRequest() {
super("Alb", "2020-06-16", "ListServerGroups", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public List<String> getServerGroupNames() {
return this.serverGroupNames;
}
public void setServerGroupNames(List<String> serverGroupNames) {
this.serverGroupNames = serverGroupNames;
if (serverGroupNames != null) {
for (int depth1 = 0; depth1 < serverGroupNames.size(); depth1++) {
putQueryParameter("ServerGroupNames." + (depth1 + 1) , serverGroupNames.get(depth1));
}
}
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public void setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
if(resourceGroupId != null){
putQueryParameter("ResourceGroupId", resourceGroupId);
}
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
if(nextToken != null){
putQueryParameter("NextToken", nextToken);
}
}
public List<Tag> getTag() {
return this.tag;
}
public void setTag(List<Tag> tag) {
this.tag = tag;
if (tag != null) {
for (int depth1 = 0; depth1 < tag.size(); depth1++) {
if (tag.get(depth1) != null) {
putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tag.get(depth1).getValue());
putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tag.get(depth1).getKey());
}
}
}
}
public List<String> getServerGroupIds() {
return this.serverGroupIds;
}
public void setServerGroupIds(List<String> serverGroupIds) {
this.serverGroupIds = serverGroupIds;
if (serverGroupIds != null) {
for (int depth1 = 0; depth1 < serverGroupIds.size(); depth1++) {
putQueryParameter("ServerGroupIds." + (depth1 + 1) , serverGroupIds.get(depth1));
}
}
}
public String getServerGroupType() {
return this.serverGroupType;
}
public void setServerGroupType(String serverGroupType) {
this.serverGroupType = serverGroupType;
if(serverGroupType != null){
putQueryParameter("ServerGroupType", serverGroupType);
}
}
public String getVpcId() {
return this.vpcId;
}
public void setVpcId(String vpcId) {
this.vpcId = vpcId;
if(vpcId != null){
putQueryParameter("VpcId", vpcId);
}
}
public Integer getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
if(maxResults != null){
putQueryParameter("MaxResults", maxResults.toString());
}
}
public static class Tag {
private String value;
private String key;
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
@Override
public Class<ListServerGroupsResponse> getResponseClass() {
return ListServerGroupsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/ListServerGroupsResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.ListServerGroupsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListServerGroupsResponse extends AcsResponse {
private Integer maxResults;
private String nextToken;
private String requestId;
private Integer totalCount;
private List<ServerGroup> serverGroups;
public Integer getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
public List<ServerGroup> getServerGroups() {
return this.serverGroups;
}
public void setServerGroups(List<ServerGroup> serverGroups) {
this.serverGroups = serverGroups;
}
public static class ServerGroup {
private String protocol;
private String resourceGroupId;
private String scheduler;
private String serverGroupId;
private String serverGroupName;
private String serverGroupStatus;
private String serverGroupType;
private String vpcId;
private Boolean serviceManagedEnabled;
private String serviceManagedMode;
private Boolean configManagedEnabled;
private Boolean upstreamKeepaliveEnabled;
private Boolean ipv6Enabled;
private Integer serverCount;
private String serviceName;
private String createTime;
private Boolean crossZoneEnabled;
private List<Tag> tags;
private List<String> relatedLoadBalancerIds;
private List<String> relatedListenerIds;
private List<String> relatedRuleIds;
private HealthCheckConfig healthCheckConfig;
private StickySessionConfig stickySessionConfig;
private UchConfig uchConfig;
private ConnectionDrainConfig connectionDrainConfig;
private SlowStartConfig slowStartConfig;
public String getBizProtocol() {
return this.protocol;
}
public void setBizProtocol(String protocol) {
this.protocol = protocol;
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public void setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
}
public String getScheduler() {
return this.scheduler;
}
public void setScheduler(String scheduler) {
this.scheduler = scheduler;
}
public String getServerGroupId() {
return this.serverGroupId;
}
public void setServerGroupId(String serverGroupId) {
this.serverGroupId = serverGroupId;
}
public String getServerGroupName() {
return this.serverGroupName;
}
public void setServerGroupName(String serverGroupName) {
this.serverGroupName = serverGroupName;
}
public String getServerGroupStatus() {
return this.serverGroupStatus;
}
public void setServerGroupStatus(String serverGroupStatus) {
this.serverGroupStatus = serverGroupStatus;
}
public String getServerGroupType() {
return this.serverGroupType;
}
public void setServerGroupType(String serverGroupType) {
this.serverGroupType = serverGroupType;
}
public String getVpcId() {
return this.vpcId;
}
public void setVpcId(String vpcId) {
this.vpcId = vpcId;
}
public Boolean getServiceManagedEnabled() {
return this.serviceManagedEnabled;
}
public void setServiceManagedEnabled(Boolean serviceManagedEnabled) {
this.serviceManagedEnabled = serviceManagedEnabled;
}
public String getServiceManagedMode() {
return this.serviceManagedMode;
}
public void setServiceManagedMode(String serviceManagedMode) {
this.serviceManagedMode = serviceManagedMode;
}
public Boolean getConfigManagedEnabled() {
return this.configManagedEnabled;
}
public void setConfigManagedEnabled(Boolean configManagedEnabled) {
this.configManagedEnabled = configManagedEnabled;
}
public Boolean getUpstreamKeepaliveEnabled() {
return this.upstreamKeepaliveEnabled;
}
public void setUpstreamKeepaliveEnabled(Boolean upstreamKeepaliveEnabled) {
this.upstreamKeepaliveEnabled = upstreamKeepaliveEnabled;
}
public Boolean getIpv6Enabled() {
return this.ipv6Enabled;
}
public void setIpv6Enabled(Boolean ipv6Enabled) {
this.ipv6Enabled = ipv6Enabled;
}
public Integer getServerCount() {
return this.serverCount;
}
public void setServerCount(Integer serverCount) {
this.serverCount = serverCount;
}
public String getServiceName() {
return this.serviceName;
}
public void setServiceName(String serviceName) {
this.serviceName = serviceName;
}
public String getCreateTime() {
return this.createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public Boolean getCrossZoneEnabled() {
return this.crossZoneEnabled;
}
public void setCrossZoneEnabled(Boolean crossZoneEnabled) {
this.crossZoneEnabled = crossZoneEnabled;
}
public List<Tag> getTags() {
return this.tags;
}
public void setTags(List<Tag> tags) {
this.tags = tags;
}
public List<String> getRelatedLoadBalancerIds() {
return this.relatedLoadBalancerIds;
}
public void setRelatedLoadBalancerIds(List<String> relatedLoadBalancerIds) {
this.relatedLoadBalancerIds = relatedLoadBalancerIds;
}
public List<String> getRelatedListenerIds() {
return this.relatedListenerIds;
}
public void setRelatedListenerIds(List<String> relatedListenerIds) {
this.relatedListenerIds = relatedListenerIds;
}
public List<String> getRelatedRuleIds() {
return this.relatedRuleIds;
}
public void setRelatedRuleIds(List<String> relatedRuleIds) {
this.relatedRuleIds = relatedRuleIds;
}
public HealthCheckConfig getHealthCheckConfig() {
return this.healthCheckConfig;
}
public void setHealthCheckConfig(HealthCheckConfig healthCheckConfig) {
this.healthCheckConfig = healthCheckConfig;
}
public StickySessionConfig getStickySessionConfig() {
return this.stickySessionConfig;
}
public void setStickySessionConfig(StickySessionConfig stickySessionConfig) {
this.stickySessionConfig = stickySessionConfig;
}
public UchConfig getUchConfig() {
return this.uchConfig;
}
public void setUchConfig(UchConfig uchConfig) {
this.uchConfig = uchConfig;
}
public ConnectionDrainConfig getConnectionDrainConfig() {
return this.connectionDrainConfig;
}
public void setConnectionDrainConfig(ConnectionDrainConfig connectionDrainConfig) {
this.connectionDrainConfig = connectionDrainConfig;
}
public SlowStartConfig getSlowStartConfig() {
return this.slowStartConfig;
}
public void setSlowStartConfig(SlowStartConfig slowStartConfig) {
this.slowStartConfig = slowStartConfig;
}
public static class Tag {
private String key;
private String value;
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
}
public static class HealthCheckConfig {
private Integer healthCheckConnectPort;
private Boolean healthCheckEnabled;
private String healthCheckHost;
private String healthCheckHttpVersion;
private Integer healthCheckInterval;
private String healthCheckMethod;
private String healthCheckPath;
private String healthCheckProtocol;
private Integer healthCheckTimeout;
private Integer healthyThreshold;
private Integer unhealthyThreshold;
private Boolean healthCheckTcpFastCloseEnabled;
private List<String> healthCheckHttpCodes;
private List<String> healthCheckCodes;
public Integer getHealthCheckConnectPort() {
return this.healthCheckConnectPort;
}
public void setHealthCheckConnectPort(Integer healthCheckConnectPort) {
this.healthCheckConnectPort = healthCheckConnectPort;
}
public Boolean getHealthCheckEnabled() {
return this.healthCheckEnabled;
}
public void setHealthCheckEnabled(Boolean healthCheckEnabled) {
this.healthCheckEnabled = healthCheckEnabled;
}
public String getHealthCheckHost() {
return this.healthCheckHost;
}
public void setHealthCheckHost(String healthCheckHost) {
this.healthCheckHost = healthCheckHost;
}
public String getHealthCheckHttpVersion() {
return this.healthCheckHttpVersion;
}
public void setHealthCheckHttpVersion(String healthCheckHttpVersion) {
this.healthCheckHttpVersion = healthCheckHttpVersion;
}
public Integer getHealthCheckInterval() {
return this.healthCheckInterval;
}
public void setHealthCheckInterval(Integer healthCheckInterval) {
this.healthCheckInterval = healthCheckInterval;
}
public String getHealthCheckMethod() {
return this.healthCheckMethod;
}
public void setHealthCheckMethod(String healthCheckMethod) {
this.healthCheckMethod = healthCheckMethod;
}
public String getHealthCheckPath() {
return this.healthCheckPath;
}
public void setHealthCheckPath(String healthCheckPath) {
this.healthCheckPath = healthCheckPath;
}
public String getHealthCheckProtocol() {
return this.healthCheckProtocol;
}
public void setHealthCheckProtocol(String healthCheckProtocol) {
this.healthCheckProtocol = healthCheckProtocol;
}
public Integer getHealthCheckTimeout() {
return this.healthCheckTimeout;
}
public void setHealthCheckTimeout(Integer healthCheckTimeout) {
this.healthCheckTimeout = healthCheckTimeout;
}
public Integer getHealthyThreshold() {
return this.healthyThreshold;
}
public void setHealthyThreshold(Integer healthyThreshold) {
this.healthyThreshold = healthyThreshold;
}
public Integer getUnhealthyThreshold() {
return this.unhealthyThreshold;
}
public void setUnhealthyThreshold(Integer unhealthyThreshold) {
this.unhealthyThreshold = unhealthyThreshold;
}
public Boolean getHealthCheckTcpFastCloseEnabled() {
return this.healthCheckTcpFastCloseEnabled;
}
public void setHealthCheckTcpFastCloseEnabled(Boolean healthCheckTcpFastCloseEnabled) {
this.healthCheckTcpFastCloseEnabled = healthCheckTcpFastCloseEnabled;
}
public List<String> getHealthCheckHttpCodes() {
return this.healthCheckHttpCodes;
}
public void setHealthCheckHttpCodes(List<String> healthCheckHttpCodes) {
this.healthCheckHttpCodes = healthCheckHttpCodes;
}
public List<String> getHealthCheckCodes() {
return this.healthCheckCodes;
}
public void setHealthCheckCodes(List<String> healthCheckCodes) {
this.healthCheckCodes = healthCheckCodes;
}
}
public static class StickySessionConfig {
private String cookie;
private Integer cookieTimeout;
private Boolean stickySessionEnabled;
private String stickySessionType;
public String getCookie() {
return this.cookie;
}
public void setCookie(String cookie) {
this.cookie = cookie;
}
public Integer getCookieTimeout() {
return this.cookieTimeout;
}
public void setCookieTimeout(Integer cookieTimeout) {
this.cookieTimeout = cookieTimeout;
}
public Boolean getStickySessionEnabled() {
return this.stickySessionEnabled;
}
public void setStickySessionEnabled(Boolean stickySessionEnabled) {
this.stickySessionEnabled = stickySessionEnabled;
}
public String getStickySessionType() {
return this.stickySessionType;
}
public void setStickySessionType(String stickySessionType) {
this.stickySessionType = stickySessionType;
}
}
public static class UchConfig {
private String type;
private String value;
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
}
public static class ConnectionDrainConfig {
private Boolean connectionDrainEnabled;
private Integer connectionDrainTimeout;
public Boolean getConnectionDrainEnabled() {
return this.connectionDrainEnabled;
}
public void setConnectionDrainEnabled(Boolean connectionDrainEnabled) {
this.connectionDrainEnabled = connectionDrainEnabled;
}
public Integer getConnectionDrainTimeout() {
return this.connectionDrainTimeout;
}
public void setConnectionDrainTimeout(Integer connectionDrainTimeout) {
this.connectionDrainTimeout = connectionDrainTimeout;
}
}
public static class SlowStartConfig {
private Boolean slowStartEnabled;
private Integer slowStartDuration;
public Boolean getSlowStartEnabled() {
return this.slowStartEnabled;
}
public void setSlowStartEnabled(Boolean slowStartEnabled) {
this.slowStartEnabled = slowStartEnabled;
}
public Integer getSlowStartDuration() {
return this.slowStartDuration;
}
public void setSlowStartDuration(Integer slowStartDuration) {
this.slowStartDuration = slowStartDuration;
}
}
}
@Override
public ListServerGroupsResponse getInstance(UnmarshallerContext context) {
return ListServerGroupsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/ListSystemSecurityPoliciesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.alb.Endpoint;
/**
* @author auto create
* @version
*/
public class ListSystemSecurityPoliciesRequest extends RpcAcsRequest<ListSystemSecurityPoliciesResponse> {
public ListSystemSecurityPoliciesRequest() {
super("Alb", "2020-06-16", "ListSystemSecurityPolicies", "alb");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
@Override
public Class<ListSystemSecurityPoliciesResponse> getResponseClass() {
return ListSystemSecurityPoliciesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/model/v20200616/ListSystemSecurityPoliciesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.alb.model.v20200616;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.alb.transform.v20200616.ListSystemSecurityPoliciesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListSystemSecurityPoliciesResponse extends AcsResponse {
private String requestId;
private List<SecurityPolicy> securityPolicies;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<SecurityPolicy> getSecurityPolicies() {
return this.securityPolicies;
}
public void setSecurityPolicies(List<SecurityPolicy> securityPolicies) {
this.securityPolicies = securityPolicies;
}
public static class SecurityPolicy {
private String securityPolicyId;
private List<String> ciphers;
private List<String> tLSVersions;
public String getSecurityPolicyId() {
return this.securityPolicyId;
}
public void setSecurityPolicyId(String securityPolicyId) {
this.securityPolicyId = securityPolicyId;
}
public List<String> getCiphers() {
return this.ciphers;
}
public void setCiphers(List<String> ciphers) {
this.ciphers = ciphers;
}
public List<String> getTLSVersions() {
return this.tLSVersions;
}
public void setTLSVersions(List<String> tLSVersions) {
this.tLSVersions = tLSVersions;
}
}
@Override
public ListSystemSecurityPoliciesResponse getInstance(UnmarshallerContext context) {
return ListSystemSecurityPoliciesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.