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/ListTagKeysRequest.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 ListTagKeysRequest extends RpcAcsRequest<ListTagKeysResponse> {
private String nextToken;
private String keyword;
private String resourceType;
private Integer maxResults;
private String category;
public ListTagKeysRequest() {
super("Alb", "2020-06-16", "ListTagKeys", "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 getKeyword() {
return this.keyword;
}
public void setKeyword(String keyword) {
this.keyword = keyword;
if(keyword != null){
putQueryParameter("Keyword", keyword);
}
}
public String getResourceType() {
return this.resourceType;
}
public void setResourceType(String resourceType) {
this.resourceType = resourceType;
if(resourceType != null){
putQueryParameter("ResourceType", resourceType);
}
}
public Integer getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
if(maxResults != null){
putQueryParameter("MaxResults", maxResults.toString());
}
}
public String getCategory() {
return this.category;
}
public void setCategory(String category) {
this.category = category;
if(category != null){
putQueryParameter("Category", category);
}
}
@Override
public Class<ListTagKeysResponse> getResponseClass() {
return ListTagKeysResponse.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/ListTagKeysResponse.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.ListTagKeysResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListTagKeysResponse extends AcsResponse {
private Integer maxResults;
private String nextToken;
private String requestId;
private Integer totalCount;
private List<TagKey> tagKeys;
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<TagKey> getTagKeys() {
return this.tagKeys;
}
public void setTagKeys(List<TagKey> tagKeys) {
this.tagKeys = tagKeys;
}
public static class TagKey {
private String category;
private String tagKey;
public String getCategory() {
return this.category;
}
public void setCategory(String category) {
this.category = category;
}
public String getTagKey() {
return this.tagKey;
}
public void setTagKey(String tagKey) {
this.tagKey = tagKey;
}
}
@Override
public ListTagKeysResponse getInstance(UnmarshallerContext context) {
return ListTagKeysResponseUnmarshaller.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/ListTagResourcesRequest.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 ListTagResourcesRequest extends RpcAcsRequest<ListTagResourcesResponse> {
private String nextToken;
private List<Tag> tag;
private List<String> resourceId;
private String resourceType;
private Integer maxResults;
public ListTagResourcesRequest() {
super("Alb", "2020-06-16", "ListTagResources", "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> getResourceId() {
return this.resourceId;
}
public void setResourceId(List<String> resourceId) {
this.resourceId = resourceId;
if (resourceId != null) {
for (int depth1 = 0; depth1 < resourceId.size(); depth1++) {
putQueryParameter("ResourceId." + (depth1 + 1) , resourceId.get(depth1));
}
}
}
public String getResourceType() {
return this.resourceType;
}
public void setResourceType(String resourceType) {
this.resourceType = resourceType;
if(resourceType != null){
putQueryParameter("ResourceType", resourceType);
}
}
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<ListTagResourcesResponse> getResponseClass() {
return ListTagResourcesResponse.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/ListTagResourcesResponse.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.ListTagResourcesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListTagResourcesResponse extends AcsResponse {
private Integer maxResults;
private String nextToken;
private String requestId;
private Integer totalCount;
private List<TagResource> tagResources;
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<TagResource> getTagResources() {
return this.tagResources;
}
public void setTagResources(List<TagResource> tagResources) {
this.tagResources = tagResources;
}
public static class TagResource {
private String resourceId;
private String resourceType;
private String tagKey;
private String tagValue;
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 getTagKey() {
return this.tagKey;
}
public void setTagKey(String tagKey) {
this.tagKey = tagKey;
}
public String getTagValue() {
return this.tagValue;
}
public void setTagValue(String tagValue) {
this.tagValue = tagValue;
}
}
@Override
public ListTagResourcesResponse getInstance(UnmarshallerContext context) {
return ListTagResourcesResponseUnmarshaller.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/ListTagValuesRequest.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 ListTagValuesRequest extends RpcAcsRequest<ListTagValuesResponse> {
private String nextToken;
private String resourceId;
private String resourceType;
private Integer maxResults;
private String tagKey;
public ListTagValuesRequest() {
super("Alb", "2020-06-16", "ListTagValues", "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 getResourceId() {
return this.resourceId;
}
public void setResourceId(String resourceId) {
this.resourceId = resourceId;
if(resourceId != null){
putQueryParameter("ResourceId", resourceId);
}
}
public String getResourceType() {
return this.resourceType;
}
public void setResourceType(String resourceType) {
this.resourceType = resourceType;
if(resourceType != null){
putQueryParameter("ResourceType", resourceType);
}
}
public Integer getMaxResults() {
return this.maxResults;
}
public void setMaxResults(Integer maxResults) {
this.maxResults = maxResults;
if(maxResults != null){
putQueryParameter("MaxResults", maxResults.toString());
}
}
public String getTagKey() {
return this.tagKey;
}
public void setTagKey(String tagKey) {
this.tagKey = tagKey;
if(tagKey != null){
putQueryParameter("TagKey", tagKey);
}
}
@Override
public Class<ListTagValuesResponse> getResponseClass() {
return ListTagValuesResponse.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/ListTagValuesResponse.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.ListTagValuesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListTagValuesResponse extends AcsResponse {
private Integer maxResults;
private String nextToken;
private String requestId;
private Integer totalCount;
private List<String> tagValues;
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<String> getTagValues() {
return this.tagValues;
}
public void setTagValues(List<String> tagValues) {
this.tagValues = tagValues;
}
@Override
public ListTagValuesResponse getInstance(UnmarshallerContext context) {
return ListTagValuesResponseUnmarshaller.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/LoadBalancerJoinSecurityGroupRequest.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 LoadBalancerJoinSecurityGroupRequest extends RpcAcsRequest<LoadBalancerJoinSecurityGroupResponse> {
private String clientToken;
private Boolean dryRun;
private List<String> securityGroupIds;
private String loadBalancerId;
public LoadBalancerJoinSecurityGroupRequest() {
super("Alb", "2020-06-16", "LoadBalancerJoinSecurityGroup", "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> getSecurityGroupIds() {
return this.securityGroupIds;
}
public void setSecurityGroupIds(List<String> securityGroupIds) {
this.securityGroupIds = securityGroupIds;
if (securityGroupIds != null) {
for (int depth1 = 0; depth1 < securityGroupIds.size(); depth1++) {
putQueryParameter("SecurityGroupIds." + (depth1 + 1) , securityGroupIds.get(depth1));
}
}
}
public String getLoadBalancerId() {
return this.loadBalancerId;
}
public void setLoadBalancerId(String loadBalancerId) {
this.loadBalancerId = loadBalancerId;
if(loadBalancerId != null){
putQueryParameter("LoadBalancerId", loadBalancerId);
}
}
@Override
public Class<LoadBalancerJoinSecurityGroupResponse> getResponseClass() {
return LoadBalancerJoinSecurityGroupResponse.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/LoadBalancerJoinSecurityGroupResponse.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.LoadBalancerJoinSecurityGroupResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class LoadBalancerJoinSecurityGroupResponse 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 LoadBalancerJoinSecurityGroupResponse getInstance(UnmarshallerContext context) {
return LoadBalancerJoinSecurityGroupResponseUnmarshaller.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/LoadBalancerLeaveSecurityGroupRequest.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 LoadBalancerLeaveSecurityGroupRequest extends RpcAcsRequest<LoadBalancerLeaveSecurityGroupResponse> {
private String clientToken;
private Boolean dryRun;
private List<String> securityGroupIds;
private String loadBalancerId;
public LoadBalancerLeaveSecurityGroupRequest() {
super("Alb", "2020-06-16", "LoadBalancerLeaveSecurityGroup", "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> getSecurityGroupIds() {
return this.securityGroupIds;
}
public void setSecurityGroupIds(List<String> securityGroupIds) {
this.securityGroupIds = securityGroupIds;
if (securityGroupIds != null) {
for (int depth1 = 0; depth1 < securityGroupIds.size(); depth1++) {
putQueryParameter("SecurityGroupIds." + (depth1 + 1) , securityGroupIds.get(depth1));
}
}
}
public String getLoadBalancerId() {
return this.loadBalancerId;
}
public void setLoadBalancerId(String loadBalancerId) {
this.loadBalancerId = loadBalancerId;
if(loadBalancerId != null){
putQueryParameter("LoadBalancerId", loadBalancerId);
}
}
@Override
public Class<LoadBalancerLeaveSecurityGroupResponse> getResponseClass() {
return LoadBalancerLeaveSecurityGroupResponse.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/LoadBalancerLeaveSecurityGroupResponse.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.LoadBalancerLeaveSecurityGroupResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class LoadBalancerLeaveSecurityGroupResponse 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 LoadBalancerLeaveSecurityGroupResponse getInstance(UnmarshallerContext context) {
return LoadBalancerLeaveSecurityGroupResponseUnmarshaller.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/MoveResourceGroupRequest.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 MoveResourceGroupRequest extends RpcAcsRequest<MoveResourceGroupResponse> {
private String resourceId;
private String resourceType;
private String newResourceGroupId;
public MoveResourceGroupRequest() {
super("Alb", "2020-06-16", "MoveResourceGroup", "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 getResourceId() {
return this.resourceId;
}
public void setResourceId(String resourceId) {
this.resourceId = resourceId;
if(resourceId != null){
putQueryParameter("ResourceId", resourceId);
}
}
public String getResourceType() {
return this.resourceType;
}
public void setResourceType(String resourceType) {
this.resourceType = resourceType;
if(resourceType != null){
putQueryParameter("ResourceType", resourceType);
}
}
public String getNewResourceGroupId() {
return this.newResourceGroupId;
}
public void setNewResourceGroupId(String newResourceGroupId) {
this.newResourceGroupId = newResourceGroupId;
if(newResourceGroupId != null){
putQueryParameter("NewResourceGroupId", newResourceGroupId);
}
}
@Override
public Class<MoveResourceGroupResponse> getResponseClass() {
return MoveResourceGroupResponse.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/MoveResourceGroupResponse.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.MoveResourceGroupResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class MoveResourceGroupResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public MoveResourceGroupResponse getInstance(UnmarshallerContext context) {
return MoveResourceGroupResponseUnmarshaller.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/RemoveEntriesFromAclRequest.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 RemoveEntriesFromAclRequest extends RpcAcsRequest<RemoveEntriesFromAclResponse> {
private String clientToken;
private String aclId;
private Boolean dryRun;
private List<String> entries;
public RemoveEntriesFromAclRequest() {
super("Alb", "2020-06-16", "RemoveEntriesFromAcl", "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());
}
}
public List<String> getEntries() {
return this.entries;
}
public void setEntries(List<String> entries) {
this.entries = entries;
if (entries != null) {
for (int depth1 = 0; depth1 < entries.size(); depth1++) {
putQueryParameter("Entries." + (depth1 + 1) , entries.get(depth1));
}
}
}
@Override
public Class<RemoveEntriesFromAclResponse> getResponseClass() {
return RemoveEntriesFromAclResponse.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/RemoveEntriesFromAclResponse.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.RemoveEntriesFromAclResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class RemoveEntriesFromAclResponse 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 RemoveEntriesFromAclResponse getInstance(UnmarshallerContext context) {
return RemoveEntriesFromAclResponseUnmarshaller.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/RemoveServersFromServerGroupRequest.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 RemoveServersFromServerGroupRequest extends RpcAcsRequest<RemoveServersFromServerGroupResponse> {
private String clientToken;
private String serverGroupId;
private List<Servers> servers;
private Boolean dryRun;
public RemoveServersFromServerGroupRequest() {
super("Alb", "2020-06-16", "RemoveServersFromServerGroup", "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 List<Servers> getServers() {
return this.servers;
}
public void setServers(List<Servers> servers) {
this.servers = servers;
if (servers != null) {
for (int depth1 = 0; depth1 < servers.size(); depth1++) {
if (servers.get(depth1) != null) {
putQueryParameter("Servers." + (depth1 + 1) + ".ServerType" , servers.get(depth1).getServerType());
putQueryParameter("Servers." + (depth1 + 1) + ".Port" , servers.get(depth1).getPort());
putQueryParameter("Servers." + (depth1 + 1) + ".ServerIp" , servers.get(depth1).getServerIp());
putQueryParameter("Servers." + (depth1 + 1) + ".ServerId" , servers.get(depth1).getServerId());
}
}
}
}
public Boolean getDryRun() {
return this.dryRun;
}
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("DryRun", dryRun.toString());
}
}
public static class Servers {
private String serverType;
private Integer port;
private String serverIp;
private String serverId;
public String getServerType() {
return this.serverType;
}
public void setServerType(String serverType) {
this.serverType = serverType;
}
public Integer getPort() {
return this.port;
}
public void setPort(Integer port) {
this.port = port;
}
public String getServerIp() {
return this.serverIp;
}
public void setServerIp(String serverIp) {
this.serverIp = serverIp;
}
public String getServerId() {
return this.serverId;
}
public void setServerId(String serverId) {
this.serverId = serverId;
}
}
@Override
public Class<RemoveServersFromServerGroupResponse> getResponseClass() {
return RemoveServersFromServerGroupResponse.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/RemoveServersFromServerGroupResponse.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.RemoveServersFromServerGroupResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class RemoveServersFromServerGroupResponse 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 RemoveServersFromServerGroupResponse getInstance(UnmarshallerContext context) {
return RemoveServersFromServerGroupResponseUnmarshaller.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/ReplaceServersInServerGroupRequest.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 ReplaceServersInServerGroupRequest extends RpcAcsRequest<ReplaceServersInServerGroupResponse> {
private String clientToken;
private String serverGroupId;
private List<AddedServers> addedServers;
private Boolean dryRun;
private List<RemovedServers> removedServers;
public ReplaceServersInServerGroupRequest() {
super("Alb", "2020-06-16", "ReplaceServersInServerGroup", "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 List<AddedServers> getAddedServers() {
return this.addedServers;
}
public void setAddedServers(List<AddedServers> addedServers) {
this.addedServers = addedServers;
if (addedServers != null) {
for (int depth1 = 0; depth1 < addedServers.size(); depth1++) {
if (addedServers.get(depth1) != null) {
putQueryParameter("AddedServers." + (depth1 + 1) + ".RemoteIpEnabled" , addedServers.get(depth1).getRemoteIpEnabled());
putQueryParameter("AddedServers." + (depth1 + 1) + ".ServerType" , addedServers.get(depth1).getServerType());
putQueryParameter("AddedServers." + (depth1 + 1) + ".Port" , addedServers.get(depth1).getPort());
putQueryParameter("AddedServers." + (depth1 + 1) + ".Description" , addedServers.get(depth1).getDescription());
putQueryParameter("AddedServers." + (depth1 + 1) + ".ServerIp" , addedServers.get(depth1).getServerIp());
putQueryParameter("AddedServers." + (depth1 + 1) + ".Weight" , addedServers.get(depth1).getWeight());
putQueryParameter("AddedServers." + (depth1 + 1) + ".ServerId" , addedServers.get(depth1).getServerId());
}
}
}
}
public Boolean getDryRun() {
return this.dryRun;
}
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("DryRun", dryRun.toString());
}
}
public List<RemovedServers> getRemovedServers() {
return this.removedServers;
}
public void setRemovedServers(List<RemovedServers> removedServers) {
this.removedServers = removedServers;
if (removedServers != null) {
for (int depth1 = 0; depth1 < removedServers.size(); depth1++) {
if (removedServers.get(depth1) != null) {
putQueryParameter("RemovedServers." + (depth1 + 1) + ".ServerType" , removedServers.get(depth1).getServerType());
putQueryParameter("RemovedServers." + (depth1 + 1) + ".Port" , removedServers.get(depth1).getPort());
putQueryParameter("RemovedServers." + (depth1 + 1) + ".ServerIp" , removedServers.get(depth1).getServerIp());
putQueryParameter("RemovedServers." + (depth1 + 1) + ".ServerId" , removedServers.get(depth1).getServerId());
}
}
}
}
public static class AddedServers {
private Boolean remoteIpEnabled;
private String serverType;
private Integer port;
private String description;
private String serverIp;
private Integer weight;
private String serverId;
public Boolean getRemoteIpEnabled() {
return this.remoteIpEnabled;
}
public void setRemoteIpEnabled(Boolean remoteIpEnabled) {
this.remoteIpEnabled = remoteIpEnabled;
}
public String getServerType() {
return this.serverType;
}
public void setServerType(String serverType) {
this.serverType = serverType;
}
public Integer getPort() {
return this.port;
}
public void setPort(Integer port) {
this.port = port;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public String getServerIp() {
return this.serverIp;
}
public void setServerIp(String serverIp) {
this.serverIp = serverIp;
}
public Integer getWeight() {
return this.weight;
}
public void setWeight(Integer weight) {
this.weight = weight;
}
public String getServerId() {
return this.serverId;
}
public void setServerId(String serverId) {
this.serverId = serverId;
}
}
public static class RemovedServers {
private String serverType;
private Integer port;
private String serverIp;
private String serverId;
public String getServerType() {
return this.serverType;
}
public void setServerType(String serverType) {
this.serverType = serverType;
}
public Integer getPort() {
return this.port;
}
public void setPort(Integer port) {
this.port = port;
}
public String getServerIp() {
return this.serverIp;
}
public void setServerIp(String serverIp) {
this.serverIp = serverIp;
}
public String getServerId() {
return this.serverId;
}
public void setServerId(String serverId) {
this.serverId = serverId;
}
}
@Override
public Class<ReplaceServersInServerGroupResponse> getResponseClass() {
return ReplaceServersInServerGroupResponse.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/ReplaceServersInServerGroupResponse.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.ReplaceServersInServerGroupResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ReplaceServersInServerGroupResponse 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 ReplaceServersInServerGroupResponse getInstance(UnmarshallerContext context) {
return ReplaceServersInServerGroupResponseUnmarshaller.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/StartListenerRequest.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 StartListenerRequest extends RpcAcsRequest<StartListenerResponse> {
private String clientToken;
private String listenerId;
private Boolean dryRun;
public StartListenerRequest() {
super("Alb", "2020-06-16", "StartListener", "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<StartListenerResponse> getResponseClass() {
return StartListenerResponse.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/StartListenerResponse.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.StartListenerResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class StartListenerResponse 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 StartListenerResponse getInstance(UnmarshallerContext context) {
return StartListenerResponseUnmarshaller.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/StartShiftLoadBalancerZonesRequest.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 StartShiftLoadBalancerZonesRequest extends RpcAcsRequest<StartShiftLoadBalancerZonesResponse> {
private String clientToken;
private Boolean dryRun;
private List<ZoneMappings> zoneMappings;
private String loadBalancerId;
public StartShiftLoadBalancerZonesRequest() {
super("Alb", "2020-06-16", "StartShiftLoadBalancerZones", "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<StartShiftLoadBalancerZonesResponse> getResponseClass() {
return StartShiftLoadBalancerZonesResponse.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/StartShiftLoadBalancerZonesResponse.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.StartShiftLoadBalancerZonesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class StartShiftLoadBalancerZonesResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public StartShiftLoadBalancerZonesResponse getInstance(UnmarshallerContext context) {
return StartShiftLoadBalancerZonesResponseUnmarshaller.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/StopListenerRequest.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 StopListenerRequest extends RpcAcsRequest<StopListenerResponse> {
private String clientToken;
private String listenerId;
private Boolean dryRun;
public StopListenerRequest() {
super("Alb", "2020-06-16", "StopListener", "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<StopListenerResponse> getResponseClass() {
return StopListenerResponse.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/StopListenerResponse.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.StopListenerResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class StopListenerResponse 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 StopListenerResponse getInstance(UnmarshallerContext context) {
return StopListenerResponseUnmarshaller.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/TagResourcesRequest.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 TagResourcesRequest extends RpcAcsRequest<TagResourcesResponse> {
private List<Tag> tag;
private List<String> resourceId;
private String resourceType;
public TagResourcesRequest() {
super("Alb", "2020-06-16", "TagResources", "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<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> getResourceId() {
return this.resourceId;
}
public void setResourceId(List<String> resourceId) {
this.resourceId = resourceId;
if (resourceId != null) {
for (int depth1 = 0; depth1 < resourceId.size(); depth1++) {
putQueryParameter("ResourceId." + (depth1 + 1) , resourceId.get(depth1));
}
}
}
public String getResourceType() {
return this.resourceType;
}
public void setResourceType(String resourceType) {
this.resourceType = resourceType;
if(resourceType != null){
putQueryParameter("ResourceType", resourceType);
}
}
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<TagResourcesResponse> getResponseClass() {
return TagResourcesResponse.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/TagResourcesResponse.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.TagResourcesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class TagResourcesResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public TagResourcesResponse getInstance(UnmarshallerContext context) {
return TagResourcesResponseUnmarshaller.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/UnTagResourcesRequest.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 UnTagResourcesRequest extends RpcAcsRequest<UnTagResourcesResponse> {
private List<Tag> tag;
private Boolean all;
private List<String> resourceId;
private String resourceType;
private List<String> tagKey;
public UnTagResourcesRequest() {
super("Alb", "2020-06-16", "UnTagResources", "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<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 getAll() {
return this.all;
}
public void setAll(Boolean all) {
this.all = all;
if(all != null){
putQueryParameter("All", all.toString());
}
}
public List<String> getResourceId() {
return this.resourceId;
}
public void setResourceId(List<String> resourceId) {
this.resourceId = resourceId;
if (resourceId != null) {
for (int depth1 = 0; depth1 < resourceId.size(); depth1++) {
putQueryParameter("ResourceId." + (depth1 + 1) , resourceId.get(depth1));
}
}
}
public String getResourceType() {
return this.resourceType;
}
public void setResourceType(String resourceType) {
this.resourceType = resourceType;
if(resourceType != null){
putQueryParameter("ResourceType", resourceType);
}
}
public List<String> getTagKey() {
return this.tagKey;
}
public void setTagKey(List<String> tagKey) {
this.tagKey = tagKey;
if (tagKey != null) {
for (int depth1 = 0; depth1 < tagKey.size(); depth1++) {
putQueryParameter("TagKey." + (depth1 + 1) , tagKey.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<UnTagResourcesResponse> getResponseClass() {
return UnTagResourcesResponse.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/UnTagResourcesResponse.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.UnTagResourcesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UnTagResourcesResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public UnTagResourcesResponse getInstance(UnmarshallerContext context) {
return UnTagResourcesResponseUnmarshaller.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/UpdateAScriptsRequest.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 UpdateAScriptsRequest extends RpcAcsRequest<UpdateAScriptsResponse> {
private String clientToken;
private List<AScripts> aScripts;
private Boolean dryRun;
public UpdateAScriptsRequest() {
super("Alb", "2020-06-16", "UpdateAScripts", "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<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) + ".AScriptId" , aScripts.get(depth1).getAScriptId());
putQueryParameter("AScripts." + (depth1 + 1) + ".ExtAttributeEnabled" , aScripts.get(depth1).getExtAttributeEnabled());
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 String aScriptId;
private Boolean extAttributeEnabled;
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 String getAScriptId() {
return this.aScriptId;
}
public void setAScriptId(String aScriptId) {
this.aScriptId = aScriptId;
}
public Boolean getExtAttributeEnabled() {
return this.extAttributeEnabled;
}
public void setExtAttributeEnabled(Boolean extAttributeEnabled) {
this.extAttributeEnabled = extAttributeEnabled;
}
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<UpdateAScriptsResponse> getResponseClass() {
return UpdateAScriptsResponse.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/UpdateAScriptsResponse.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.UpdateAScriptsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateAScriptsResponse 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 UpdateAScriptsResponse getInstance(UnmarshallerContext context) {
return UpdateAScriptsResponseUnmarshaller.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/UpdateAclAttributeRequest.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 UpdateAclAttributeRequest extends RpcAcsRequest<UpdateAclAttributeResponse> {
private String aclName;
private String clientToken;
private String aclId;
private Boolean dryRun;
public UpdateAclAttributeRequest() {
super("Alb", "2020-06-16", "UpdateAclAttribute", "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 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<UpdateAclAttributeResponse> getResponseClass() {
return UpdateAclAttributeResponse.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/UpdateAclAttributeResponse.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.UpdateAclAttributeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateAclAttributeResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public UpdateAclAttributeResponse getInstance(UnmarshallerContext context) {
return UpdateAclAttributeResponseUnmarshaller.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/UpdateHealthCheckTemplateAttributeRequest.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 UpdateHealthCheckTemplateAttributeRequest extends RpcAcsRequest<UpdateHealthCheckTemplateAttributeResponse> {
private Integer healthCheckTimeout;
private String clientToken;
private String healthCheckProtocol;
private Integer unhealthyThreshold;
private Integer healthyThreshold;
private String healthCheckPath;
private List<String> healthCheckCodes;
private Boolean dryRun;
private String healthCheckMethod;
private String healthCheckHost;
private Integer healthCheckInterval;
private String healthCheckTemplateName;
private String healthCheckTemplateId;
private String healthCheckHttpVersion;
private Integer healthCheckConnectPort;
public UpdateHealthCheckTemplateAttributeRequest() {
super("Alb", "2020-06-16", "UpdateHealthCheckTemplateAttribute", "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<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 getHealthCheckTemplateId() {
return this.healthCheckTemplateId;
}
public void setHealthCheckTemplateId(String healthCheckTemplateId) {
this.healthCheckTemplateId = healthCheckTemplateId;
if(healthCheckTemplateId != null){
putQueryParameter("HealthCheckTemplateId", healthCheckTemplateId);
}
}
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());
}
}
@Override
public Class<UpdateHealthCheckTemplateAttributeResponse> getResponseClass() {
return UpdateHealthCheckTemplateAttributeResponse.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/UpdateHealthCheckTemplateAttributeResponse.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.UpdateHealthCheckTemplateAttributeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateHealthCheckTemplateAttributeResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public UpdateHealthCheckTemplateAttributeResponse getInstance(UnmarshallerContext context) {
return UpdateHealthCheckTemplateAttributeResponseUnmarshaller.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/UpdateListenerAttributeRequest.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 UpdateListenerAttributeRequest extends RpcAcsRequest<UpdateListenerAttributeResponse> {
private String clientToken;
private Boolean gzipEnabled;
private String listenerId;
private QuicConfig quicConfig;
private Boolean http2Enabled;
private List<DefaultActions> defaultActions;
private Boolean dryRun;
private Integer requestTimeout;
private List<CaCertificates> caCertificates;
private XForwardedForConfig xForwardedForConfig;
private String securityPolicyId;
private Integer idleTimeout;
private List<Certificates> certificates;
private String listenerDescription;
private Boolean caEnabled;
public UpdateListenerAttributeRequest() {
super("Alb", "2020-06-16", "UpdateListenerAttribute", "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 String getListenerId() {
return this.listenerId;
}
public void setListenerId(String listenerId) {
this.listenerId = listenerId;
if(listenerId != null){
putQueryParameter("ListenerId", listenerId);
}
}
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<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 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 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 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 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<UpdateListenerAttributeResponse> getResponseClass() {
return UpdateListenerAttributeResponse.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/UpdateListenerAttributeResponse.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.UpdateListenerAttributeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateListenerAttributeResponse 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 UpdateListenerAttributeResponse getInstance(UnmarshallerContext context) {
return UpdateListenerAttributeResponseUnmarshaller.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/UpdateListenerLogConfigRequest.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 UpdateListenerLogConfigRequest extends RpcAcsRequest<UpdateListenerLogConfigResponse> {
private String clientToken;
private String listenerId;
private Boolean accessLogRecordCustomizedHeadersEnabled;
private Boolean dryRun;
private AccessLogTracingConfig accessLogTracingConfig;
public UpdateListenerLogConfigRequest() {
super("Alb", "2020-06-16", "UpdateListenerLogConfig", "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 getAccessLogRecordCustomizedHeadersEnabled() {
return this.accessLogRecordCustomizedHeadersEnabled;
}
public void setAccessLogRecordCustomizedHeadersEnabled(Boolean accessLogRecordCustomizedHeadersEnabled) {
this.accessLogRecordCustomizedHeadersEnabled = accessLogRecordCustomizedHeadersEnabled;
if(accessLogRecordCustomizedHeadersEnabled != null){
putQueryParameter("AccessLogRecordCustomizedHeadersEnabled", accessLogRecordCustomizedHeadersEnabled.toString());
}
}
public Boolean getDryRun() {
return this.dryRun;
}
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("DryRun", dryRun.toString());
}
}
public AccessLogTracingConfig getAccessLogTracingConfig() {
return this.accessLogTracingConfig;
}
public void setAccessLogTracingConfig(AccessLogTracingConfig accessLogTracingConfig) {
this.accessLogTracingConfig = accessLogTracingConfig;
if (accessLogTracingConfig != null) {
putQueryParameter("AccessLogTracingConfig.TracingType" , accessLogTracingConfig.getTracingType());
putQueryParameter("AccessLogTracingConfig.TracingEnabled" , accessLogTracingConfig.getTracingEnabled());
putQueryParameter("AccessLogTracingConfig.TracingSample" , accessLogTracingConfig.getTracingSample());
}
}
public static class AccessLogTracingConfig {
private String tracingType;
private Boolean tracingEnabled;
private Integer tracingSample;
public String getTracingType() {
return this.tracingType;
}
public void setTracingType(String tracingType) {
this.tracingType = 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;
}
}
@Override
public Class<UpdateListenerLogConfigResponse> getResponseClass() {
return UpdateListenerLogConfigResponse.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/UpdateListenerLogConfigResponse.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.UpdateListenerLogConfigResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateListenerLogConfigResponse 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 UpdateListenerLogConfigResponse getInstance(UnmarshallerContext context) {
return UpdateListenerLogConfigResponseUnmarshaller.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/UpdateLoadBalancerAddressTypeConfigRequest.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 UpdateLoadBalancerAddressTypeConfigRequest extends RpcAcsRequest<UpdateLoadBalancerAddressTypeConfigResponse> {
private String clientToken;
private String addressType;
private String dryRun;
private List<ZoneMappings> zoneMappings;
private String loadBalancerId;
public UpdateLoadBalancerAddressTypeConfigRequest() {
super("Alb", "2020-06-16", "UpdateLoadBalancerAddressTypeConfig", "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 getAddressType() {
return this.addressType;
}
public void setAddressType(String addressType) {
this.addressType = addressType;
if(addressType != null){
putQueryParameter("AddressType", addressType);
}
}
public String getDryRun() {
return this.dryRun;
}
public void setDryRun(String dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("DryRun", dryRun);
}
}
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());
}
}
}
}
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 eipType;
private String zoneId;
private String allocationId;
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;
}
}
@Override
public Class<UpdateLoadBalancerAddressTypeConfigResponse> getResponseClass() {
return UpdateLoadBalancerAddressTypeConfigResponse.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/UpdateLoadBalancerAddressTypeConfigResponse.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.UpdateLoadBalancerAddressTypeConfigResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateLoadBalancerAddressTypeConfigResponse 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 UpdateLoadBalancerAddressTypeConfigResponse getInstance(UnmarshallerContext context) {
return UpdateLoadBalancerAddressTypeConfigResponseUnmarshaller.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/UpdateLoadBalancerAttributeRequest.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 UpdateLoadBalancerAttributeRequest extends RpcAcsRequest<UpdateLoadBalancerAttributeResponse> {
private String clientToken;
private ModificationProtectionConfig modificationProtectionConfig;
private String loadBalancerName;
private Boolean dryRun;
private String loadBalancerId;
public UpdateLoadBalancerAttributeRequest() {
super("Alb", "2020-06-16", "UpdateLoadBalancerAttribute", "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 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 String getLoadBalancerName() {
return this.loadBalancerName;
}
public void setLoadBalancerName(String loadBalancerName) {
this.loadBalancerName = loadBalancerName;
if(loadBalancerName != null){
putQueryParameter("LoadBalancerName", loadBalancerName);
}
}
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 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 Class<UpdateLoadBalancerAttributeResponse> getResponseClass() {
return UpdateLoadBalancerAttributeResponse.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/UpdateLoadBalancerAttributeResponse.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.UpdateLoadBalancerAttributeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateLoadBalancerAttributeResponse 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 UpdateLoadBalancerAttributeResponse getInstance(UnmarshallerContext context) {
return UpdateLoadBalancerAttributeResponseUnmarshaller.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/UpdateLoadBalancerEditionRequest.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 UpdateLoadBalancerEditionRequest extends RpcAcsRequest<UpdateLoadBalancerEditionResponse> {
private String loadBalancerEdition;
private String clientToken;
private Boolean dryRun;
private String loadBalancerId;
public UpdateLoadBalancerEditionRequest() {
super("Alb", "2020-06-16", "UpdateLoadBalancerEdition", "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 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<UpdateLoadBalancerEditionResponse> getResponseClass() {
return UpdateLoadBalancerEditionResponse.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/UpdateLoadBalancerEditionResponse.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.UpdateLoadBalancerEditionResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateLoadBalancerEditionResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public UpdateLoadBalancerEditionResponse getInstance(UnmarshallerContext context) {
return UpdateLoadBalancerEditionResponseUnmarshaller.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/UpdateLoadBalancerZonesRequest.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 UpdateLoadBalancerZonesRequest extends RpcAcsRequest<UpdateLoadBalancerZonesResponse> {
private String clientToken;
private Boolean dryRun;
private List<ZoneMappings> zoneMappings;
private String loadBalancerId;
public UpdateLoadBalancerZonesRequest() {
super("Alb", "2020-06-16", "UpdateLoadBalancerZones", "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) + ".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 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 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<UpdateLoadBalancerZonesResponse> getResponseClass() {
return UpdateLoadBalancerZonesResponse.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/UpdateLoadBalancerZonesResponse.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.UpdateLoadBalancerZonesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateLoadBalancerZonesResponse 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 UpdateLoadBalancerZonesResponse getInstance(UnmarshallerContext context) {
return UpdateLoadBalancerZonesResponseUnmarshaller.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/UpdateRuleAttributeRequest.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 UpdateRuleAttributeRequest extends RpcAcsRequest<UpdateRuleAttributeResponse> {
private String clientToken;
private String ruleName;
private List<RuleActions> ruleActions;
private List<RuleConditions> ruleConditions;
private Boolean dryRun;
private Integer priority;
private String ruleId;
public UpdateRuleAttributeRequest() {
super("Alb", "2020-06-16", "UpdateRuleAttribute", "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 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 String getRuleId() {
return this.ruleId;
}
public void setRuleId(String ruleId) {
this.ruleId = ruleId;
if(ruleId != null){
putQueryParameter("RuleId", ruleId);
}
}
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<UpdateRuleAttributeResponse> getResponseClass() {
return UpdateRuleAttributeResponse.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/UpdateRuleAttributeResponse.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.UpdateRuleAttributeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateRuleAttributeResponse 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 UpdateRuleAttributeResponse getInstance(UnmarshallerContext context) {
return UpdateRuleAttributeResponseUnmarshaller.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/UpdateRulesAttributeRequest.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 UpdateRulesAttributeRequest extends RpcAcsRequest<UpdateRulesAttributeResponse> {
private String clientToken;
private List<Rules> rules;
private Boolean dryRun;
public UpdateRulesAttributeRequest() {
super("Alb", "2020-06-16", "UpdateRulesAttribute", "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());
putBodyParameter("Rules." + (depth1 + 1) + ".Priority" , rules.get(depth1).getPriority());
putBodyParameter("Rules." + (depth1 + 1) + ".RuleId" , rules.get(depth1).getRuleId());
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());
}
}
}
}
}
}
}
}
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 Integer priority;
private String ruleId;
private List<RuleActionsItem> ruleActions;
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 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 List<RuleActionsItem> getRuleActions() {
return this.ruleActions;
}
public void setRuleActions(List<RuleActionsItem> ruleActions) {
this.ruleActions = ruleActions;
}
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 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<UpdateRulesAttributeResponse> getResponseClass() {
return UpdateRulesAttributeResponse.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/UpdateRulesAttributeResponse.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.UpdateRulesAttributeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateRulesAttributeResponse 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 UpdateRulesAttributeResponse getInstance(UnmarshallerContext context) {
return UpdateRulesAttributeResponseUnmarshaller.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/UpdateSecurityPolicyAttributeRequest.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 UpdateSecurityPolicyAttributeRequest extends RpcAcsRequest<UpdateSecurityPolicyAttributeResponse> {
private String clientToken;
private List<String> ciphers;
private List<String> tLSVersions;
private String securityPolicyName;
private Boolean dryRun;
private String securityPolicyId;
public UpdateSecurityPolicyAttributeRequest() {
super("Alb", "2020-06-16", "UpdateSecurityPolicyAttribute", "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> 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<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 String getSecurityPolicyId() {
return this.securityPolicyId;
}
public void setSecurityPolicyId(String securityPolicyId) {
this.securityPolicyId = securityPolicyId;
if(securityPolicyId != null){
putQueryParameter("SecurityPolicyId", securityPolicyId);
}
}
@Override
public Class<UpdateSecurityPolicyAttributeResponse> getResponseClass() {
return UpdateSecurityPolicyAttributeResponse.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/UpdateSecurityPolicyAttributeResponse.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.UpdateSecurityPolicyAttributeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateSecurityPolicyAttributeResponse 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 UpdateSecurityPolicyAttributeResponse getInstance(UnmarshallerContext context) {
return UpdateSecurityPolicyAttributeResponseUnmarshaller.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/UpdateServerGroupAttributeRequest.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 UpdateServerGroupAttributeRequest extends RpcAcsRequest<UpdateServerGroupAttributeResponse> {
private Boolean crossZoneEnabled;
private String serverGroupName;
private String clientToken;
private HealthCheckConfig healthCheckConfig;
private SlowStartConfig slowStartConfig;
private String scheduler;
private String serverGroupId;
private Boolean upstreamKeepaliveEnabled;
private String serviceName;
private StickySessionConfig stickySessionConfig;
private Boolean dryRun;
private ConnectionDrainConfig connectionDrainConfig;
private UchConfig uchConfig;
public UpdateServerGroupAttributeRequest() {
super("Alb", "2020-06-16", "UpdateServerGroupAttribute", "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 getServerGroupId() {
return this.serverGroupId;
}
public void setServerGroupId(String serverGroupId) {
this.serverGroupId = serverGroupId;
if(serverGroupId != null){
putQueryParameter("ServerGroupId", serverGroupId);
}
}
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 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 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 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<UpdateServerGroupAttributeResponse> getResponseClass() {
return UpdateServerGroupAttributeResponse.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/UpdateServerGroupAttributeResponse.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.UpdateServerGroupAttributeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateServerGroupAttributeResponse 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 UpdateServerGroupAttributeResponse getInstance(UnmarshallerContext context) {
return UpdateServerGroupAttributeResponseUnmarshaller.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/UpdateServerGroupServersAttributeRequest.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 UpdateServerGroupServersAttributeRequest extends RpcAcsRequest<UpdateServerGroupServersAttributeResponse> {
private String clientToken;
private String serverGroupId;
private List<Servers> servers;
private Boolean dryRun;
public UpdateServerGroupServersAttributeRequest() {
super("Alb", "2020-06-16", "UpdateServerGroupServersAttribute", "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 List<Servers> getServers() {
return this.servers;
}
public void setServers(List<Servers> servers) {
this.servers = servers;
if (servers != null) {
for (int depth1 = 0; depth1 < servers.size(); depth1++) {
if (servers.get(depth1) != null) {
putQueryParameter("Servers." + (depth1 + 1) + ".ServerType" , servers.get(depth1).getServerType());
putQueryParameter("Servers." + (depth1 + 1) + ".Port" , servers.get(depth1).getPort());
putQueryParameter("Servers." + (depth1 + 1) + ".Description" , servers.get(depth1).getDescription());
putQueryParameter("Servers." + (depth1 + 1) + ".ServerIp" , servers.get(depth1).getServerIp());
putQueryParameter("Servers." + (depth1 + 1) + ".Weight" , servers.get(depth1).getWeight());
putQueryParameter("Servers." + (depth1 + 1) + ".ServerId" , servers.get(depth1).getServerId());
}
}
}
}
public Boolean getDryRun() {
return this.dryRun;
}
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("DryRun", dryRun.toString());
}
}
public static class Servers {
private String serverType;
private Integer port;
private String description;
private String serverIp;
private Integer weight;
private String serverId;
public String getServerType() {
return this.serverType;
}
public void setServerType(String serverType) {
this.serverType = serverType;
}
public Integer getPort() {
return this.port;
}
public void setPort(Integer port) {
this.port = port;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public String getServerIp() {
return this.serverIp;
}
public void setServerIp(String serverIp) {
this.serverIp = serverIp;
}
public Integer getWeight() {
return this.weight;
}
public void setWeight(Integer weight) {
this.weight = weight;
}
public String getServerId() {
return this.serverId;
}
public void setServerId(String serverId) {
this.serverId = serverId;
}
}
@Override
public Class<UpdateServerGroupServersAttributeResponse> getResponseClass() {
return UpdateServerGroupServersAttributeResponse.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/UpdateServerGroupServersAttributeResponse.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.UpdateServerGroupServersAttributeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateServerGroupServersAttributeResponse 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 UpdateServerGroupServersAttributeResponse getInstance(UnmarshallerContext context) {
return UpdateServerGroupServersAttributeResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/AddEntriesToAclResponseUnmarshaller.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.transform.v20200616;
import com.aliyuncs.alb.model.v20200616.AddEntriesToAclResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class AddEntriesToAclResponseUnmarshaller {
public static AddEntriesToAclResponse unmarshall(AddEntriesToAclResponse addEntriesToAclResponse, UnmarshallerContext _ctx) {
addEntriesToAclResponse.setRequestId(_ctx.stringValue("AddEntriesToAclResponse.RequestId"));
addEntriesToAclResponse.setJobId(_ctx.stringValue("AddEntriesToAclResponse.JobId"));
return addEntriesToAclResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/AddServersToServerGroupResponseUnmarshaller.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.transform.v20200616;
import com.aliyuncs.alb.model.v20200616.AddServersToServerGroupResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class AddServersToServerGroupResponseUnmarshaller {
public static AddServersToServerGroupResponse unmarshall(AddServersToServerGroupResponse addServersToServerGroupResponse, UnmarshallerContext _ctx) {
addServersToServerGroupResponse.setRequestId(_ctx.stringValue("AddServersToServerGroupResponse.RequestId"));
addServersToServerGroupResponse.setJobId(_ctx.stringValue("AddServersToServerGroupResponse.JobId"));
return addServersToServerGroupResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/ApplyHealthCheckTemplateToServerGroupResponseUnmarshaller.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.transform.v20200616;
import com.aliyuncs.alb.model.v20200616.ApplyHealthCheckTemplateToServerGroupResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ApplyHealthCheckTemplateToServerGroupResponseUnmarshaller {
public static ApplyHealthCheckTemplateToServerGroupResponse unmarshall(ApplyHealthCheckTemplateToServerGroupResponse applyHealthCheckTemplateToServerGroupResponse, UnmarshallerContext _ctx) {
applyHealthCheckTemplateToServerGroupResponse.setRequestId(_ctx.stringValue("ApplyHealthCheckTemplateToServerGroupResponse.RequestId"));
applyHealthCheckTemplateToServerGroupResponse.setJobId(_ctx.stringValue("ApplyHealthCheckTemplateToServerGroupResponse.JobId"));
return applyHealthCheckTemplateToServerGroupResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/AssociateAclsWithListenerResponseUnmarshaller.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.transform.v20200616;
import com.aliyuncs.alb.model.v20200616.AssociateAclsWithListenerResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class AssociateAclsWithListenerResponseUnmarshaller {
public static AssociateAclsWithListenerResponse unmarshall(AssociateAclsWithListenerResponse associateAclsWithListenerResponse, UnmarshallerContext _ctx) {
associateAclsWithListenerResponse.setRequestId(_ctx.stringValue("AssociateAclsWithListenerResponse.RequestId"));
associateAclsWithListenerResponse.setJobId(_ctx.stringValue("AssociateAclsWithListenerResponse.JobId"));
return associateAclsWithListenerResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/AssociateAdditionalCertificatesWithListenerResponseUnmarshaller.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.transform.v20200616;
import com.aliyuncs.alb.model.v20200616.AssociateAdditionalCertificatesWithListenerResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class AssociateAdditionalCertificatesWithListenerResponseUnmarshaller {
public static AssociateAdditionalCertificatesWithListenerResponse unmarshall(AssociateAdditionalCertificatesWithListenerResponse associateAdditionalCertificatesWithListenerResponse, UnmarshallerContext _ctx) {
associateAdditionalCertificatesWithListenerResponse.setRequestId(_ctx.stringValue("AssociateAdditionalCertificatesWithListenerResponse.RequestId"));
associateAdditionalCertificatesWithListenerResponse.setJobId(_ctx.stringValue("AssociateAdditionalCertificatesWithListenerResponse.JobId"));
return associateAdditionalCertificatesWithListenerResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/AttachCommonBandwidthPackageToLoadBalancerResponseUnmarshaller.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.transform.v20200616;
import com.aliyuncs.alb.model.v20200616.AttachCommonBandwidthPackageToLoadBalancerResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class AttachCommonBandwidthPackageToLoadBalancerResponseUnmarshaller {
public static AttachCommonBandwidthPackageToLoadBalancerResponse unmarshall(AttachCommonBandwidthPackageToLoadBalancerResponse attachCommonBandwidthPackageToLoadBalancerResponse, UnmarshallerContext _ctx) {
attachCommonBandwidthPackageToLoadBalancerResponse.setRequestId(_ctx.stringValue("AttachCommonBandwidthPackageToLoadBalancerResponse.RequestId"));
attachCommonBandwidthPackageToLoadBalancerResponse.setJobId(_ctx.stringValue("AttachCommonBandwidthPackageToLoadBalancerResponse.JobId"));
return attachCommonBandwidthPackageToLoadBalancerResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/CancelShiftLoadBalancerZonesResponseUnmarshaller.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.transform.v20200616;
import com.aliyuncs.alb.model.v20200616.CancelShiftLoadBalancerZonesResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CancelShiftLoadBalancerZonesResponseUnmarshaller {
public static CancelShiftLoadBalancerZonesResponse unmarshall(CancelShiftLoadBalancerZonesResponse cancelShiftLoadBalancerZonesResponse, UnmarshallerContext _ctx) {
cancelShiftLoadBalancerZonesResponse.setRequestId(_ctx.stringValue("CancelShiftLoadBalancerZonesResponse.RequestId"));
return cancelShiftLoadBalancerZonesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/CreateAScriptsResponseUnmarshaller.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.transform.v20200616;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alb.model.v20200616.CreateAScriptsResponse;
import com.aliyuncs.alb.model.v20200616.CreateAScriptsResponse.AScriptId;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateAScriptsResponseUnmarshaller {
public static CreateAScriptsResponse unmarshall(CreateAScriptsResponse createAScriptsResponse, UnmarshallerContext _ctx) {
createAScriptsResponse.setRequestId(_ctx.stringValue("CreateAScriptsResponse.RequestId"));
createAScriptsResponse.setJobId(_ctx.stringValue("CreateAScriptsResponse.JobId"));
List<AScriptId> aScriptIds = new ArrayList<AScriptId>();
for (int i = 0; i < _ctx.lengthValue("CreateAScriptsResponse.AScriptIds.Length"); i++) {
AScriptId aScriptId = new AScriptId();
aScriptId.setAScriptId(_ctx.stringValue("CreateAScriptsResponse.AScriptIds["+ i +"].AScriptId"));
aScriptIds.add(aScriptId);
}
createAScriptsResponse.setAScriptIds(aScriptIds);
return createAScriptsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/CreateAclResponseUnmarshaller.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.transform.v20200616;
import com.aliyuncs.alb.model.v20200616.CreateAclResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateAclResponseUnmarshaller {
public static CreateAclResponse unmarshall(CreateAclResponse createAclResponse, UnmarshallerContext _ctx) {
createAclResponse.setRequestId(_ctx.stringValue("CreateAclResponse.RequestId"));
createAclResponse.setAclId(_ctx.stringValue("CreateAclResponse.AclId"));
createAclResponse.setJobId(_ctx.stringValue("CreateAclResponse.JobId"));
return createAclResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/CreateHealthCheckTemplateResponseUnmarshaller.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.transform.v20200616;
import com.aliyuncs.alb.model.v20200616.CreateHealthCheckTemplateResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateHealthCheckTemplateResponseUnmarshaller {
public static CreateHealthCheckTemplateResponse unmarshall(CreateHealthCheckTemplateResponse createHealthCheckTemplateResponse, UnmarshallerContext _ctx) {
createHealthCheckTemplateResponse.setRequestId(_ctx.stringValue("CreateHealthCheckTemplateResponse.RequestId"));
createHealthCheckTemplateResponse.setHealthCheckTemplateId(_ctx.stringValue("CreateHealthCheckTemplateResponse.HealthCheckTemplateId"));
return createHealthCheckTemplateResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/CreateListenerResponseUnmarshaller.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.transform.v20200616;
import com.aliyuncs.alb.model.v20200616.CreateListenerResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateListenerResponseUnmarshaller {
public static CreateListenerResponse unmarshall(CreateListenerResponse createListenerResponse, UnmarshallerContext _ctx) {
createListenerResponse.setRequestId(_ctx.stringValue("CreateListenerResponse.RequestId"));
createListenerResponse.setJobId(_ctx.stringValue("CreateListenerResponse.JobId"));
createListenerResponse.setListenerId(_ctx.stringValue("CreateListenerResponse.ListenerId"));
return createListenerResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/CreateLoadBalancerResponseUnmarshaller.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.transform.v20200616;
import com.aliyuncs.alb.model.v20200616.CreateLoadBalancerResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateLoadBalancerResponseUnmarshaller {
public static CreateLoadBalancerResponse unmarshall(CreateLoadBalancerResponse createLoadBalancerResponse, UnmarshallerContext _ctx) {
createLoadBalancerResponse.setRequestId(_ctx.stringValue("CreateLoadBalancerResponse.RequestId"));
createLoadBalancerResponse.setLoadBalancerId(_ctx.stringValue("CreateLoadBalancerResponse.LoadBalancerId"));
return createLoadBalancerResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/CreateRuleResponseUnmarshaller.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.transform.v20200616;
import com.aliyuncs.alb.model.v20200616.CreateRuleResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateRuleResponseUnmarshaller {
public static CreateRuleResponse unmarshall(CreateRuleResponse createRuleResponse, UnmarshallerContext _ctx) {
createRuleResponse.setRequestId(_ctx.stringValue("CreateRuleResponse.RequestId"));
createRuleResponse.setJobId(_ctx.stringValue("CreateRuleResponse.JobId"));
createRuleResponse.setRuleId(_ctx.stringValue("CreateRuleResponse.RuleId"));
return createRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/CreateRulesResponseUnmarshaller.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.transform.v20200616;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alb.model.v20200616.CreateRulesResponse;
import com.aliyuncs.alb.model.v20200616.CreateRulesResponse.RuleId;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateRulesResponseUnmarshaller {
public static CreateRulesResponse unmarshall(CreateRulesResponse createRulesResponse, UnmarshallerContext _ctx) {
createRulesResponse.setRequestId(_ctx.stringValue("CreateRulesResponse.RequestId"));
createRulesResponse.setJobId(_ctx.stringValue("CreateRulesResponse.JobId"));
List<RuleId> ruleIds = new ArrayList<RuleId>();
for (int i = 0; i < _ctx.lengthValue("CreateRulesResponse.RuleIds.Length"); i++) {
RuleId ruleId = new RuleId();
ruleId.setRuleId(_ctx.stringValue("CreateRulesResponse.RuleIds["+ i +"].RuleId"));
ruleId.setPriority(_ctx.integerValue("CreateRulesResponse.RuleIds["+ i +"].Priority"));
ruleIds.add(ruleId);
}
createRulesResponse.setRuleIds(ruleIds);
return createRulesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/CreateSecurityPolicyResponseUnmarshaller.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.transform.v20200616;
import com.aliyuncs.alb.model.v20200616.CreateSecurityPolicyResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateSecurityPolicyResponseUnmarshaller {
public static CreateSecurityPolicyResponse unmarshall(CreateSecurityPolicyResponse createSecurityPolicyResponse, UnmarshallerContext _ctx) {
createSecurityPolicyResponse.setRequestId(_ctx.stringValue("CreateSecurityPolicyResponse.RequestId"));
createSecurityPolicyResponse.setSecurityPolicyId(_ctx.stringValue("CreateSecurityPolicyResponse.SecurityPolicyId"));
return createSecurityPolicyResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/CreateServerGroupResponseUnmarshaller.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.transform.v20200616;
import com.aliyuncs.alb.model.v20200616.CreateServerGroupResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateServerGroupResponseUnmarshaller {
public static CreateServerGroupResponse unmarshall(CreateServerGroupResponse createServerGroupResponse, UnmarshallerContext _ctx) {
createServerGroupResponse.setRequestId(_ctx.stringValue("CreateServerGroupResponse.RequestId"));
createServerGroupResponse.setJobId(_ctx.stringValue("CreateServerGroupResponse.JobId"));
createServerGroupResponse.setServerGroupId(_ctx.stringValue("CreateServerGroupResponse.ServerGroupId"));
return createServerGroupResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/DeleteAScriptsResponseUnmarshaller.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.transform.v20200616;
import com.aliyuncs.alb.model.v20200616.DeleteAScriptsResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteAScriptsResponseUnmarshaller {
public static DeleteAScriptsResponse unmarshall(DeleteAScriptsResponse deleteAScriptsResponse, UnmarshallerContext _ctx) {
deleteAScriptsResponse.setRequestId(_ctx.stringValue("DeleteAScriptsResponse.RequestId"));
deleteAScriptsResponse.setJobId(_ctx.stringValue("DeleteAScriptsResponse.JobId"));
return deleteAScriptsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/DeleteAclResponseUnmarshaller.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.transform.v20200616;
import com.aliyuncs.alb.model.v20200616.DeleteAclResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteAclResponseUnmarshaller {
public static DeleteAclResponse unmarshall(DeleteAclResponse deleteAclResponse, UnmarshallerContext _ctx) {
deleteAclResponse.setRequestId(_ctx.stringValue("DeleteAclResponse.RequestId"));
deleteAclResponse.setJobId(_ctx.stringValue("DeleteAclResponse.JobId"));
return deleteAclResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/DeleteHealthCheckTemplatesResponseUnmarshaller.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.transform.v20200616;
import com.aliyuncs.alb.model.v20200616.DeleteHealthCheckTemplatesResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteHealthCheckTemplatesResponseUnmarshaller {
public static DeleteHealthCheckTemplatesResponse unmarshall(DeleteHealthCheckTemplatesResponse deleteHealthCheckTemplatesResponse, UnmarshallerContext _ctx) {
deleteHealthCheckTemplatesResponse.setRequestId(_ctx.stringValue("DeleteHealthCheckTemplatesResponse.RequestId"));
return deleteHealthCheckTemplatesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/DeleteListenerResponseUnmarshaller.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.transform.v20200616;
import com.aliyuncs.alb.model.v20200616.DeleteListenerResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteListenerResponseUnmarshaller {
public static DeleteListenerResponse unmarshall(DeleteListenerResponse deleteListenerResponse, UnmarshallerContext _ctx) {
deleteListenerResponse.setRequestId(_ctx.stringValue("DeleteListenerResponse.RequestId"));
deleteListenerResponse.setJobId(_ctx.stringValue("DeleteListenerResponse.JobId"));
return deleteListenerResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/DeleteLoadBalancerResponseUnmarshaller.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.transform.v20200616;
import com.aliyuncs.alb.model.v20200616.DeleteLoadBalancerResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteLoadBalancerResponseUnmarshaller {
public static DeleteLoadBalancerResponse unmarshall(DeleteLoadBalancerResponse deleteLoadBalancerResponse, UnmarshallerContext _ctx) {
deleteLoadBalancerResponse.setRequestId(_ctx.stringValue("DeleteLoadBalancerResponse.RequestId"));
deleteLoadBalancerResponse.setJobId(_ctx.stringValue("DeleteLoadBalancerResponse.JobId"));
return deleteLoadBalancerResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/DeleteRuleResponseUnmarshaller.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.transform.v20200616;
import com.aliyuncs.alb.model.v20200616.DeleteRuleResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteRuleResponseUnmarshaller {
public static DeleteRuleResponse unmarshall(DeleteRuleResponse deleteRuleResponse, UnmarshallerContext _ctx) {
deleteRuleResponse.setRequestId(_ctx.stringValue("DeleteRuleResponse.RequestId"));
deleteRuleResponse.setJobId(_ctx.stringValue("DeleteRuleResponse.JobId"));
return deleteRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/DeleteRulesResponseUnmarshaller.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.transform.v20200616;
import com.aliyuncs.alb.model.v20200616.DeleteRulesResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteRulesResponseUnmarshaller {
public static DeleteRulesResponse unmarshall(DeleteRulesResponse deleteRulesResponse, UnmarshallerContext _ctx) {
deleteRulesResponse.setRequestId(_ctx.stringValue("DeleteRulesResponse.RequestId"));
deleteRulesResponse.setJobId(_ctx.stringValue("DeleteRulesResponse.JobId"));
return deleteRulesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/DeleteSecurityPolicyResponseUnmarshaller.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.transform.v20200616;
import com.aliyuncs.alb.model.v20200616.DeleteSecurityPolicyResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteSecurityPolicyResponseUnmarshaller {
public static DeleteSecurityPolicyResponse unmarshall(DeleteSecurityPolicyResponse deleteSecurityPolicyResponse, UnmarshallerContext _ctx) {
deleteSecurityPolicyResponse.setRequestId(_ctx.stringValue("DeleteSecurityPolicyResponse.RequestId"));
return deleteSecurityPolicyResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/DeleteServerGroupResponseUnmarshaller.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.transform.v20200616;
import com.aliyuncs.alb.model.v20200616.DeleteServerGroupResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteServerGroupResponseUnmarshaller {
public static DeleteServerGroupResponse unmarshall(DeleteServerGroupResponse deleteServerGroupResponse, UnmarshallerContext _ctx) {
deleteServerGroupResponse.setRequestId(_ctx.stringValue("DeleteServerGroupResponse.RequestId"));
deleteServerGroupResponse.setJobId(_ctx.stringValue("DeleteServerGroupResponse.JobId"));
return deleteServerGroupResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/DescribeRegionsResponseUnmarshaller.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.transform.v20200616;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alb.model.v20200616.DescribeRegionsResponse;
import com.aliyuncs.alb.model.v20200616.DescribeRegionsResponse.Region;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeRegionsResponseUnmarshaller {
public static DescribeRegionsResponse unmarshall(DescribeRegionsResponse describeRegionsResponse, UnmarshallerContext _ctx) {
describeRegionsResponse.setRequestId(_ctx.stringValue("DescribeRegionsResponse.RequestId"));
List<Region> regions = new ArrayList<Region>();
for (int i = 0; i < _ctx.lengthValue("DescribeRegionsResponse.Regions.Length"); i++) {
Region region = new Region();
region.setLocalName(_ctx.stringValue("DescribeRegionsResponse.Regions["+ i +"].LocalName"));
region.setRegionEndpoint(_ctx.stringValue("DescribeRegionsResponse.Regions["+ i +"].RegionEndpoint"));
region.setRegionId(_ctx.stringValue("DescribeRegionsResponse.Regions["+ i +"].RegionId"));
regions.add(region);
}
describeRegionsResponse.setRegions(regions);
return describeRegionsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/DescribeZonesResponseUnmarshaller.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.transform.v20200616;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alb.model.v20200616.DescribeZonesResponse;
import com.aliyuncs.alb.model.v20200616.DescribeZonesResponse.Zone;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeZonesResponseUnmarshaller {
public static DescribeZonesResponse unmarshall(DescribeZonesResponse describeZonesResponse, UnmarshallerContext _ctx) {
describeZonesResponse.setRequestId(_ctx.stringValue("DescribeZonesResponse.RequestId"));
List<Zone> zones = new ArrayList<Zone>();
for (int i = 0; i < _ctx.lengthValue("DescribeZonesResponse.Zones.Length"); i++) {
Zone zone = new Zone();
zone.setLocalName(_ctx.stringValue("DescribeZonesResponse.Zones["+ i +"].LocalName"));
zone.setZoneId(_ctx.stringValue("DescribeZonesResponse.Zones["+ i +"].ZoneId"));
zones.add(zone);
}
describeZonesResponse.setZones(zones);
return describeZonesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/DetachCommonBandwidthPackageFromLoadBalancerResponseUnmarshaller.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.transform.v20200616;
import com.aliyuncs.alb.model.v20200616.DetachCommonBandwidthPackageFromLoadBalancerResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DetachCommonBandwidthPackageFromLoadBalancerResponseUnmarshaller {
public static DetachCommonBandwidthPackageFromLoadBalancerResponse unmarshall(DetachCommonBandwidthPackageFromLoadBalancerResponse detachCommonBandwidthPackageFromLoadBalancerResponse, UnmarshallerContext _ctx) {
detachCommonBandwidthPackageFromLoadBalancerResponse.setRequestId(_ctx.stringValue("DetachCommonBandwidthPackageFromLoadBalancerResponse.RequestId"));
detachCommonBandwidthPackageFromLoadBalancerResponse.setJobId(_ctx.stringValue("DetachCommonBandwidthPackageFromLoadBalancerResponse.JobId"));
return detachCommonBandwidthPackageFromLoadBalancerResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/DisableDeletionProtectionResponseUnmarshaller.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.transform.v20200616;
import com.aliyuncs.alb.model.v20200616.DisableDeletionProtectionResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DisableDeletionProtectionResponseUnmarshaller {
public static DisableDeletionProtectionResponse unmarshall(DisableDeletionProtectionResponse disableDeletionProtectionResponse, UnmarshallerContext _ctx) {
disableDeletionProtectionResponse.setRequestId(_ctx.stringValue("DisableDeletionProtectionResponse.RequestId"));
return disableDeletionProtectionResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/DisableLoadBalancerAccessLogResponseUnmarshaller.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.transform.v20200616;
import com.aliyuncs.alb.model.v20200616.DisableLoadBalancerAccessLogResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DisableLoadBalancerAccessLogResponseUnmarshaller {
public static DisableLoadBalancerAccessLogResponse unmarshall(DisableLoadBalancerAccessLogResponse disableLoadBalancerAccessLogResponse, UnmarshallerContext _ctx) {
disableLoadBalancerAccessLogResponse.setRequestId(_ctx.stringValue("DisableLoadBalancerAccessLogResponse.RequestId"));
return disableLoadBalancerAccessLogResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/DisableLoadBalancerIpv6InternetResponseUnmarshaller.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.transform.v20200616;
import com.aliyuncs.alb.model.v20200616.DisableLoadBalancerIpv6InternetResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DisableLoadBalancerIpv6InternetResponseUnmarshaller {
public static DisableLoadBalancerIpv6InternetResponse unmarshall(DisableLoadBalancerIpv6InternetResponse disableLoadBalancerIpv6InternetResponse, UnmarshallerContext _ctx) {
disableLoadBalancerIpv6InternetResponse.setRequestId(_ctx.stringValue("DisableLoadBalancerIpv6InternetResponse.RequestId"));
disableLoadBalancerIpv6InternetResponse.setJobId(_ctx.stringValue("DisableLoadBalancerIpv6InternetResponse.JobId"));
return disableLoadBalancerIpv6InternetResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/DissociateAclsFromListenerResponseUnmarshaller.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.transform.v20200616;
import com.aliyuncs.alb.model.v20200616.DissociateAclsFromListenerResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DissociateAclsFromListenerResponseUnmarshaller {
public static DissociateAclsFromListenerResponse unmarshall(DissociateAclsFromListenerResponse dissociateAclsFromListenerResponse, UnmarshallerContext _ctx) {
dissociateAclsFromListenerResponse.setRequestId(_ctx.stringValue("DissociateAclsFromListenerResponse.RequestId"));
dissociateAclsFromListenerResponse.setJobId(_ctx.stringValue("DissociateAclsFromListenerResponse.JobId"));
return dissociateAclsFromListenerResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/DissociateAdditionalCertificatesFromListenerResponseUnmarshaller.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.transform.v20200616;
import com.aliyuncs.alb.model.v20200616.DissociateAdditionalCertificatesFromListenerResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DissociateAdditionalCertificatesFromListenerResponseUnmarshaller {
public static DissociateAdditionalCertificatesFromListenerResponse unmarshall(DissociateAdditionalCertificatesFromListenerResponse dissociateAdditionalCertificatesFromListenerResponse, UnmarshallerContext _ctx) {
dissociateAdditionalCertificatesFromListenerResponse.setRequestId(_ctx.stringValue("DissociateAdditionalCertificatesFromListenerResponse.RequestId"));
dissociateAdditionalCertificatesFromListenerResponse.setJobId(_ctx.stringValue("DissociateAdditionalCertificatesFromListenerResponse.JobId"));
return dissociateAdditionalCertificatesFromListenerResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/EnableDeletionProtectionResponseUnmarshaller.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.transform.v20200616;
import com.aliyuncs.alb.model.v20200616.EnableDeletionProtectionResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class EnableDeletionProtectionResponseUnmarshaller {
public static EnableDeletionProtectionResponse unmarshall(EnableDeletionProtectionResponse enableDeletionProtectionResponse, UnmarshallerContext _ctx) {
enableDeletionProtectionResponse.setRequestId(_ctx.stringValue("EnableDeletionProtectionResponse.RequestId"));
return enableDeletionProtectionResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/EnableLoadBalancerAccessLogResponseUnmarshaller.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.transform.v20200616;
import com.aliyuncs.alb.model.v20200616.EnableLoadBalancerAccessLogResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class EnableLoadBalancerAccessLogResponseUnmarshaller {
public static EnableLoadBalancerAccessLogResponse unmarshall(EnableLoadBalancerAccessLogResponse enableLoadBalancerAccessLogResponse, UnmarshallerContext _ctx) {
enableLoadBalancerAccessLogResponse.setRequestId(_ctx.stringValue("EnableLoadBalancerAccessLogResponse.RequestId"));
enableLoadBalancerAccessLogResponse.setJobId(_ctx.stringValue("EnableLoadBalancerAccessLogResponse.JobId"));
return enableLoadBalancerAccessLogResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/EnableLoadBalancerIpv6InternetResponseUnmarshaller.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.transform.v20200616;
import com.aliyuncs.alb.model.v20200616.EnableLoadBalancerIpv6InternetResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class EnableLoadBalancerIpv6InternetResponseUnmarshaller {
public static EnableLoadBalancerIpv6InternetResponse unmarshall(EnableLoadBalancerIpv6InternetResponse enableLoadBalancerIpv6InternetResponse, UnmarshallerContext _ctx) {
enableLoadBalancerIpv6InternetResponse.setRequestId(_ctx.stringValue("EnableLoadBalancerIpv6InternetResponse.RequestId"));
enableLoadBalancerIpv6InternetResponse.setJobId(_ctx.stringValue("EnableLoadBalancerIpv6InternetResponse.JobId"));
return enableLoadBalancerIpv6InternetResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/GetHealthCheckTemplateAttributeResponseUnmarshaller.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.transform.v20200616;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alb.model.v20200616.GetHealthCheckTemplateAttributeResponse;
import com.aliyuncs.alb.model.v20200616.GetHealthCheckTemplateAttributeResponse.Tag;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetHealthCheckTemplateAttributeResponseUnmarshaller {
public static GetHealthCheckTemplateAttributeResponse unmarshall(GetHealthCheckTemplateAttributeResponse getHealthCheckTemplateAttributeResponse, UnmarshallerContext _ctx) {
getHealthCheckTemplateAttributeResponse.setRequestId(_ctx.stringValue("GetHealthCheckTemplateAttributeResponse.RequestId"));
getHealthCheckTemplateAttributeResponse.setHealthCheckConnectPort(_ctx.integerValue("GetHealthCheckTemplateAttributeResponse.HealthCheckConnectPort"));
getHealthCheckTemplateAttributeResponse.setHealthCheckHost(_ctx.stringValue("GetHealthCheckTemplateAttributeResponse.HealthCheckHost"));
getHealthCheckTemplateAttributeResponse.setHealthCheckHttpVersion(_ctx.stringValue("GetHealthCheckTemplateAttributeResponse.HealthCheckHttpVersion"));
getHealthCheckTemplateAttributeResponse.setHealthCheckTemplateId(_ctx.stringValue("GetHealthCheckTemplateAttributeResponse.HealthCheckTemplateId"));
getHealthCheckTemplateAttributeResponse.setHealthCheckInterval(_ctx.integerValue("GetHealthCheckTemplateAttributeResponse.HealthCheckInterval"));
getHealthCheckTemplateAttributeResponse.setHealthCheckMethod(_ctx.stringValue("GetHealthCheckTemplateAttributeResponse.HealthCheckMethod"));
getHealthCheckTemplateAttributeResponse.setHealthCheckPath(_ctx.stringValue("GetHealthCheckTemplateAttributeResponse.HealthCheckPath"));
getHealthCheckTemplateAttributeResponse.setHealthCheckProtocol(_ctx.stringValue("GetHealthCheckTemplateAttributeResponse.HealthCheckProtocol"));
getHealthCheckTemplateAttributeResponse.setHealthCheckTemplateName(_ctx.stringValue("GetHealthCheckTemplateAttributeResponse.HealthCheckTemplateName"));
getHealthCheckTemplateAttributeResponse.setHealthCheckTimeout(_ctx.integerValue("GetHealthCheckTemplateAttributeResponse.HealthCheckTimeout"));
getHealthCheckTemplateAttributeResponse.setHealthyThreshold(_ctx.integerValue("GetHealthCheckTemplateAttributeResponse.HealthyThreshold"));
getHealthCheckTemplateAttributeResponse.setUnhealthyThreshold(_ctx.integerValue("GetHealthCheckTemplateAttributeResponse.UnhealthyThreshold"));
getHealthCheckTemplateAttributeResponse.setHealthCheckTcpFastCloseEnabled(_ctx.booleanValue("GetHealthCheckTemplateAttributeResponse.HealthCheckTcpFastCloseEnabled"));
getHealthCheckTemplateAttributeResponse.setServiceManagedEnabled(_ctx.booleanValue("GetHealthCheckTemplateAttributeResponse.ServiceManagedEnabled"));
getHealthCheckTemplateAttributeResponse.setServiceManagedMode(_ctx.stringValue("GetHealthCheckTemplateAttributeResponse.ServiceManagedMode"));
List<String> healthCheckHttpCodes = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("GetHealthCheckTemplateAttributeResponse.HealthCheckHttpCodes.Length"); i++) {
healthCheckHttpCodes.add(_ctx.stringValue("GetHealthCheckTemplateAttributeResponse.HealthCheckHttpCodes["+ i +"]"));
}
getHealthCheckTemplateAttributeResponse.setHealthCheckHttpCodes(healthCheckHttpCodes);
List<String> healthCheckCodes = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("GetHealthCheckTemplateAttributeResponse.HealthCheckCodes.Length"); i++) {
healthCheckCodes.add(_ctx.stringValue("GetHealthCheckTemplateAttributeResponse.HealthCheckCodes["+ i +"]"));
}
getHealthCheckTemplateAttributeResponse.setHealthCheckCodes(healthCheckCodes);
List<Tag> tags = new ArrayList<Tag>();
for (int i = 0; i < _ctx.lengthValue("GetHealthCheckTemplateAttributeResponse.Tags.Length"); i++) {
Tag tag = new Tag();
tag.setKey(_ctx.stringValue("GetHealthCheckTemplateAttributeResponse.Tags["+ i +"].Key"));
tag.setValue(_ctx.stringValue("GetHealthCheckTemplateAttributeResponse.Tags["+ i +"].Value"));
tags.add(tag);
}
getHealthCheckTemplateAttributeResponse.setTags(tags);
return getHealthCheckTemplateAttributeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/GetListenerAttributeResponseUnmarshaller.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.transform.v20200616;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alb.model.v20200616.GetListenerAttributeResponse;
import com.aliyuncs.alb.model.v20200616.GetListenerAttributeResponse.AclConfig;
import com.aliyuncs.alb.model.v20200616.GetListenerAttributeResponse.AclConfig.AclRelation;
import com.aliyuncs.alb.model.v20200616.GetListenerAttributeResponse.AssociatedResource;
import com.aliyuncs.alb.model.v20200616.GetListenerAttributeResponse.Certificate;
import com.aliyuncs.alb.model.v20200616.GetListenerAttributeResponse.Certificate1;
import com.aliyuncs.alb.model.v20200616.GetListenerAttributeResponse.DefaultAction;
import com.aliyuncs.alb.model.v20200616.GetListenerAttributeResponse.DefaultAction.ForwardGroupConfig;
import com.aliyuncs.alb.model.v20200616.GetListenerAttributeResponse.DefaultAction.ForwardGroupConfig.ServerGroupTuple;
import com.aliyuncs.alb.model.v20200616.GetListenerAttributeResponse.LogConfig;
import com.aliyuncs.alb.model.v20200616.GetListenerAttributeResponse.LogConfig.AccessLogTracingConfig;
import com.aliyuncs.alb.model.v20200616.GetListenerAttributeResponse.QuicConfig;
import com.aliyuncs.alb.model.v20200616.GetListenerAttributeResponse.Tag;
import com.aliyuncs.alb.model.v20200616.GetListenerAttributeResponse.XForwardedForConfig;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetListenerAttributeResponseUnmarshaller {
public static GetListenerAttributeResponse unmarshall(GetListenerAttributeResponse getListenerAttributeResponse, UnmarshallerContext _ctx) {
getListenerAttributeResponse.setRequestId(_ctx.stringValue("GetListenerAttributeResponse.RequestId"));
getListenerAttributeResponse.setCaEnabled(_ctx.booleanValue("GetListenerAttributeResponse.CaEnabled"));
getListenerAttributeResponse.setGzipEnabled(_ctx.booleanValue("GetListenerAttributeResponse.GzipEnabled"));
getListenerAttributeResponse.setHttp2Enabled(_ctx.booleanValue("GetListenerAttributeResponse.Http2Enabled"));
getListenerAttributeResponse.setServiceManagedEnabled(_ctx.booleanValue("GetListenerAttributeResponse.ServiceManagedEnabled"));
getListenerAttributeResponse.setServiceManagedMode(_ctx.stringValue("GetListenerAttributeResponse.ServiceManagedMode"));
getListenerAttributeResponse.setIdleTimeout(_ctx.integerValue("GetListenerAttributeResponse.IdleTimeout"));
getListenerAttributeResponse.setListenerDescription(_ctx.stringValue("GetListenerAttributeResponse.ListenerDescription"));
getListenerAttributeResponse.setListenerId(_ctx.stringValue("GetListenerAttributeResponse.ListenerId"));
getListenerAttributeResponse.setListenerPort(_ctx.integerValue("GetListenerAttributeResponse.ListenerPort"));
getListenerAttributeResponse.setListenerProtocol(_ctx.stringValue("GetListenerAttributeResponse.ListenerProtocol"));
getListenerAttributeResponse.setListenerStatus(_ctx.stringValue("GetListenerAttributeResponse.ListenerStatus"));
getListenerAttributeResponse.setLoadBalancerId(_ctx.stringValue("GetListenerAttributeResponse.LoadBalancerId"));
getListenerAttributeResponse.setRequestTimeout(_ctx.integerValue("GetListenerAttributeResponse.RequestTimeout"));
getListenerAttributeResponse.setSecurityPolicyId(_ctx.stringValue("GetListenerAttributeResponse.SecurityPolicyId"));
AclConfig aclConfig = new AclConfig();
aclConfig.setAclType(_ctx.stringValue("GetListenerAttributeResponse.AclConfig.AclType"));
List<AclRelation> aclRelations = new ArrayList<AclRelation>();
for (int i = 0; i < _ctx.lengthValue("GetListenerAttributeResponse.AclConfig.AclRelations.Length"); i++) {
AclRelation aclRelation = new AclRelation();
aclRelation.setAclId(_ctx.stringValue("GetListenerAttributeResponse.AclConfig.AclRelations["+ i +"].AclId"));
aclRelation.setStatus(_ctx.stringValue("GetListenerAttributeResponse.AclConfig.AclRelations["+ i +"].Status"));
aclRelations.add(aclRelation);
}
aclConfig.setAclRelations(aclRelations);
getListenerAttributeResponse.setAclConfig(aclConfig);
LogConfig logConfig = new LogConfig();
logConfig.setAccessLogRecordCustomizedHeadersEnabled(_ctx.booleanValue("GetListenerAttributeResponse.LogConfig.AccessLogRecordCustomizedHeadersEnabled"));
AccessLogTracingConfig accessLogTracingConfig = new AccessLogTracingConfig();
accessLogTracingConfig.setTracingEnabled(_ctx.booleanValue("GetListenerAttributeResponse.LogConfig.AccessLogTracingConfig.TracingEnabled"));
accessLogTracingConfig.setTracingSample(_ctx.integerValue("GetListenerAttributeResponse.LogConfig.AccessLogTracingConfig.TracingSample"));
accessLogTracingConfig.setTracingType(_ctx.stringValue("GetListenerAttributeResponse.LogConfig.AccessLogTracingConfig.TracingType"));
logConfig.setAccessLogTracingConfig(accessLogTracingConfig);
getListenerAttributeResponse.setLogConfig(logConfig);
QuicConfig quicConfig = new QuicConfig();
quicConfig.setQuicListenerId(_ctx.stringValue("GetListenerAttributeResponse.QuicConfig.QuicListenerId"));
quicConfig.setQuicUpgradeEnabled(_ctx.booleanValue("GetListenerAttributeResponse.QuicConfig.QuicUpgradeEnabled"));
getListenerAttributeResponse.setQuicConfig(quicConfig);
XForwardedForConfig xForwardedForConfig = new XForwardedForConfig();
xForwardedForConfig.setXForwardedForClientCertClientVerifyAlias(_ctx.stringValue("GetListenerAttributeResponse.XForwardedForConfig.XForwardedForClientCertClientVerifyAlias"));
xForwardedForConfig.setXForwardedForClientCertClientVerifyEnabled(_ctx.booleanValue("GetListenerAttributeResponse.XForwardedForConfig.XForwardedForClientCertClientVerifyEnabled"));
xForwardedForConfig.setXForwardedForClientCertFingerprintAlias(_ctx.stringValue("GetListenerAttributeResponse.XForwardedForConfig.XForwardedForClientCertFingerprintAlias"));
xForwardedForConfig.setXForwardedForClientCertFingerprintEnabled(_ctx.booleanValue("GetListenerAttributeResponse.XForwardedForConfig.XForwardedForClientCertFingerprintEnabled"));
xForwardedForConfig.setXForwardedForClientCertIssuerDNAlias(_ctx.stringValue("GetListenerAttributeResponse.XForwardedForConfig.XForwardedForClientCertIssuerDNAlias"));
xForwardedForConfig.setXForwardedForClientCertIssuerDNEnabled(_ctx.booleanValue("GetListenerAttributeResponse.XForwardedForConfig.XForwardedForClientCertIssuerDNEnabled"));
xForwardedForConfig.setXForwardedForClientCertSubjectDNAlias(_ctx.stringValue("GetListenerAttributeResponse.XForwardedForConfig.XForwardedForClientCertSubjectDNAlias"));
xForwardedForConfig.setXForwardedForClientCertSubjectDNEnabled(_ctx.booleanValue("GetListenerAttributeResponse.XForwardedForConfig.XForwardedForClientCertSubjectDNEnabled"));
xForwardedForConfig.setXForwardedForClientSrcPortEnabled(_ctx.booleanValue("GetListenerAttributeResponse.XForwardedForConfig.XForwardedForClientSrcPortEnabled"));
xForwardedForConfig.setXForwardedForEnabled(_ctx.booleanValue("GetListenerAttributeResponse.XForwardedForConfig.XForwardedForEnabled"));
xForwardedForConfig.setXForwardedForProcessingMode(_ctx.stringValue("GetListenerAttributeResponse.XForwardedForConfig.XForwardedForProcessingMode"));
xForwardedForConfig.setXForwardedForProtoEnabled(_ctx.booleanValue("GetListenerAttributeResponse.XForwardedForConfig.XForwardedForProtoEnabled"));
xForwardedForConfig.setXForwardedForSLBIdEnabled(_ctx.booleanValue("GetListenerAttributeResponse.XForwardedForConfig.XForwardedForSLBIdEnabled"));
xForwardedForConfig.setXForwardedForSLBPortEnabled(_ctx.booleanValue("GetListenerAttributeResponse.XForwardedForConfig.XForwardedForSLBPortEnabled"));
xForwardedForConfig.setXForwardedForClientSourceIpsEnabled(_ctx.booleanValue("GetListenerAttributeResponse.XForwardedForConfig.XForwardedForClientSourceIpsEnabled"));
xForwardedForConfig.setXForwardedForClientSourceIpsTrusted(_ctx.stringValue("GetListenerAttributeResponse.XForwardedForConfig.XForwardedForClientSourceIpsTrusted"));
xForwardedForConfig.setXForwardedForHostEnabled(_ctx.booleanValue("GetListenerAttributeResponse.XForwardedForConfig.XForwardedForHostEnabled"));
getListenerAttributeResponse.setXForwardedForConfig(xForwardedForConfig);
List<Certificate> certificates = new ArrayList<Certificate>();
for (int i = 0; i < _ctx.lengthValue("GetListenerAttributeResponse.Certificates.Length"); i++) {
Certificate certificate = new Certificate();
certificate.setCertificateId(_ctx.stringValue("GetListenerAttributeResponse.Certificates["+ i +"].CertificateId"));
certificates.add(certificate);
}
getListenerAttributeResponse.setCertificates(certificates);
List<Certificate1> caCertificates = new ArrayList<Certificate1>();
for (int i = 0; i < _ctx.lengthValue("GetListenerAttributeResponse.CaCertificates.Length"); i++) {
Certificate1 certificate1 = new Certificate1();
certificate1.setCertificateId(_ctx.stringValue("GetListenerAttributeResponse.CaCertificates["+ i +"].CertificateId"));
certificate1.setStatus(_ctx.stringValue("GetListenerAttributeResponse.CaCertificates["+ i +"].Status"));
certificate1.setIsDefault(_ctx.booleanValue("GetListenerAttributeResponse.CaCertificates["+ i +"].IsDefault"));
caCertificates.add(certificate1);
}
getListenerAttributeResponse.setCaCertificates(caCertificates);
List<DefaultAction> defaultActions = new ArrayList<DefaultAction>();
for (int i = 0; i < _ctx.lengthValue("GetListenerAttributeResponse.DefaultActions.Length"); i++) {
DefaultAction defaultAction = new DefaultAction();
defaultAction.setType(_ctx.stringValue("GetListenerAttributeResponse.DefaultActions["+ i +"].Type"));
ForwardGroupConfig forwardGroupConfig = new ForwardGroupConfig();
List<ServerGroupTuple> serverGroupTuples = new ArrayList<ServerGroupTuple>();
for (int j = 0; j < _ctx.lengthValue("GetListenerAttributeResponse.DefaultActions["+ i +"].ForwardGroupConfig.ServerGroupTuples.Length"); j++) {
ServerGroupTuple serverGroupTuple = new ServerGroupTuple();
serverGroupTuple.setServerGroupId(_ctx.stringValue("GetListenerAttributeResponse.DefaultActions["+ i +"].ForwardGroupConfig.ServerGroupTuples["+ j +"].ServerGroupId"));
serverGroupTuples.add(serverGroupTuple);
}
forwardGroupConfig.setServerGroupTuples(serverGroupTuples);
defaultAction.setForwardGroupConfig(forwardGroupConfig);
defaultActions.add(defaultAction);
}
getListenerAttributeResponse.setDefaultActions(defaultActions);
List<Tag> tags = new ArrayList<Tag>();
for (int i = 0; i < _ctx.lengthValue("GetListenerAttributeResponse.Tags.Length"); i++) {
Tag tag = new Tag();
tag.setKey(_ctx.stringValue("GetListenerAttributeResponse.Tags["+ i +"].Key"));
tag.setValue(_ctx.stringValue("GetListenerAttributeResponse.Tags["+ i +"].Value"));
tags.add(tag);
}
getListenerAttributeResponse.setTags(tags);
List<AssociatedResource> associatedResources = new ArrayList<AssociatedResource>();
for (int i = 0; i < _ctx.lengthValue("GetListenerAttributeResponse.AssociatedResources.Length"); i++) {
AssociatedResource associatedResource = new AssociatedResource();
associatedResource.setAssociatedResourceType(_ctx.stringValue("GetListenerAttributeResponse.AssociatedResources["+ i +"].AssociatedResourceType"));
associatedResource.setAssociatedResourceId(_ctx.stringValue("GetListenerAttributeResponse.AssociatedResources["+ i +"].AssociatedResourceId"));
associatedResource.setPolicyId(_ctx.stringValue("GetListenerAttributeResponse.AssociatedResources["+ i +"].PolicyId"));
associatedResource.setStatus(_ctx.stringValue("GetListenerAttributeResponse.AssociatedResources["+ i +"].Status"));
associatedResource.setAssociatedMode(_ctx.stringValue("GetListenerAttributeResponse.AssociatedResources["+ i +"].AssociatedMode"));
associatedResources.add(associatedResource);
}
getListenerAttributeResponse.setAssociatedResources(associatedResources);
return getListenerAttributeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/GetListenerHealthStatusResponseUnmarshaller.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.transform.v20200616;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alb.model.v20200616.GetListenerHealthStatusResponse;
import com.aliyuncs.alb.model.v20200616.GetListenerHealthStatusResponse.ListenerHealthStatusModel;
import com.aliyuncs.alb.model.v20200616.GetListenerHealthStatusResponse.ListenerHealthStatusModel.ServerGroupHealthStatusModel;
import com.aliyuncs.alb.model.v20200616.GetListenerHealthStatusResponse.ListenerHealthStatusModel.ServerGroupHealthStatusModel.BackendServerHealthStatusModel;
import com.aliyuncs.alb.model.v20200616.GetListenerHealthStatusResponse.ListenerHealthStatusModel.ServerGroupHealthStatusModel.BackendServerHealthStatusModel.Reason;
import com.aliyuncs.alb.model.v20200616.GetListenerHealthStatusResponse.RuleHealthStatusModel;
import com.aliyuncs.alb.model.v20200616.GetListenerHealthStatusResponse.RuleHealthStatusModel.ServerGroupHealthStatusModel2;
import com.aliyuncs.alb.model.v20200616.GetListenerHealthStatusResponse.RuleHealthStatusModel.ServerGroupHealthStatusModel2.NonNormalServer;
import com.aliyuncs.alb.model.v20200616.GetListenerHealthStatusResponse.RuleHealthStatusModel.ServerGroupHealthStatusModel2.NonNormalServer.Reason4;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetListenerHealthStatusResponseUnmarshaller {
public static GetListenerHealthStatusResponse unmarshall(GetListenerHealthStatusResponse getListenerHealthStatusResponse, UnmarshallerContext _ctx) {
getListenerHealthStatusResponse.setRequestId(_ctx.stringValue("GetListenerHealthStatusResponse.RequestId"));
getListenerHealthStatusResponse.setNextToken(_ctx.stringValue("GetListenerHealthStatusResponse.NextToken"));
List<ListenerHealthStatusModel> listenerHealthStatus = new ArrayList<ListenerHealthStatusModel>();
for (int i = 0; i < _ctx.lengthValue("GetListenerHealthStatusResponse.ListenerHealthStatus.Length"); i++) {
ListenerHealthStatusModel listenerHealthStatusModel = new ListenerHealthStatusModel();
listenerHealthStatusModel.setListenerId(_ctx.stringValue("GetListenerHealthStatusResponse.ListenerHealthStatus["+ i +"].ListenerId"));
listenerHealthStatusModel.setListenerPort(_ctx.integerValue("GetListenerHealthStatusResponse.ListenerHealthStatus["+ i +"].ListenerPort"));
listenerHealthStatusModel.setListenerProtocol(_ctx.stringValue("GetListenerHealthStatusResponse.ListenerHealthStatus["+ i +"].ListenerProtocol"));
List<ServerGroupHealthStatusModel> serverGroupInfos = new ArrayList<ServerGroupHealthStatusModel>();
for (int j = 0; j < _ctx.lengthValue("GetListenerHealthStatusResponse.ListenerHealthStatus["+ i +"].ServerGroupInfos.Length"); j++) {
ServerGroupHealthStatusModel serverGroupHealthStatusModel = new ServerGroupHealthStatusModel();
serverGroupHealthStatusModel.setHealthCheckEnabled(_ctx.stringValue("GetListenerHealthStatusResponse.ListenerHealthStatus["+ i +"].ServerGroupInfos["+ j +"].HealthCheckEnabled"));
serverGroupHealthStatusModel.setServerGroupId(_ctx.stringValue("GetListenerHealthStatusResponse.ListenerHealthStatus["+ i +"].ServerGroupInfos["+ j +"].ServerGroupId"));
serverGroupHealthStatusModel.setActionType(_ctx.stringValue("GetListenerHealthStatusResponse.ListenerHealthStatus["+ i +"].ServerGroupInfos["+ j +"].ActionType"));
List<BackendServerHealthStatusModel> nonNormalServers = new ArrayList<BackendServerHealthStatusModel>();
for (int k = 0; k < _ctx.lengthValue("GetListenerHealthStatusResponse.ListenerHealthStatus["+ i +"].ServerGroupInfos["+ j +"].NonNormalServers.Length"); k++) {
BackendServerHealthStatusModel backendServerHealthStatusModel = new BackendServerHealthStatusModel();
backendServerHealthStatusModel.setPort(_ctx.integerValue("GetListenerHealthStatusResponse.ListenerHealthStatus["+ i +"].ServerGroupInfos["+ j +"].NonNormalServers["+ k +"].Port"));
backendServerHealthStatusModel.setServerId(_ctx.stringValue("GetListenerHealthStatusResponse.ListenerHealthStatus["+ i +"].ServerGroupInfos["+ j +"].NonNormalServers["+ k +"].ServerId"));
backendServerHealthStatusModel.setServerIp(_ctx.stringValue("GetListenerHealthStatusResponse.ListenerHealthStatus["+ i +"].ServerGroupInfos["+ j +"].NonNormalServers["+ k +"].ServerIp"));
backendServerHealthStatusModel.setStatus(_ctx.stringValue("GetListenerHealthStatusResponse.ListenerHealthStatus["+ i +"].ServerGroupInfos["+ j +"].NonNormalServers["+ k +"].Status"));
Reason reason = new Reason();
reason.setActualResponse(_ctx.stringValue("GetListenerHealthStatusResponse.ListenerHealthStatus["+ i +"].ServerGroupInfos["+ j +"].NonNormalServers["+ k +"].Reason.ActualResponse"));
reason.setExpectedResponse(_ctx.stringValue("GetListenerHealthStatusResponse.ListenerHealthStatus["+ i +"].ServerGroupInfos["+ j +"].NonNormalServers["+ k +"].Reason.ExpectedResponse"));
reason.setReasonCode(_ctx.stringValue("GetListenerHealthStatusResponse.ListenerHealthStatus["+ i +"].ServerGroupInfos["+ j +"].NonNormalServers["+ k +"].Reason.ReasonCode"));
backendServerHealthStatusModel.setReason(reason);
nonNormalServers.add(backendServerHealthStatusModel);
}
serverGroupHealthStatusModel.setNonNormalServers(nonNormalServers);
serverGroupInfos.add(serverGroupHealthStatusModel);
}
listenerHealthStatusModel.setServerGroupInfos(serverGroupInfos);
listenerHealthStatus.add(listenerHealthStatusModel);
}
getListenerHealthStatusResponse.setListenerHealthStatus(listenerHealthStatus);
List<RuleHealthStatusModel> ruleHealthStatus = new ArrayList<RuleHealthStatusModel>();
for (int i = 0; i < _ctx.lengthValue("GetListenerHealthStatusResponse.RuleHealthStatus.Length"); i++) {
RuleHealthStatusModel ruleHealthStatusModel = new RuleHealthStatusModel();
ruleHealthStatusModel.setRuleId(_ctx.stringValue("GetListenerHealthStatusResponse.RuleHealthStatus["+ i +"].RuleId"));
List<ServerGroupHealthStatusModel2> serverGroupInfos1 = new ArrayList<ServerGroupHealthStatusModel2>();
for (int j = 0; j < _ctx.lengthValue("GetListenerHealthStatusResponse.RuleHealthStatus["+ i +"].ServerGroupInfos.Length"); j++) {
ServerGroupHealthStatusModel2 serverGroupHealthStatusModel2 = new ServerGroupHealthStatusModel2();
serverGroupHealthStatusModel2.setHealthCheckEnabled(_ctx.stringValue("GetListenerHealthStatusResponse.RuleHealthStatus["+ i +"].ServerGroupInfos["+ j +"].HealthCheckEnabled"));
serverGroupHealthStatusModel2.setServerGroupId(_ctx.stringValue("GetListenerHealthStatusResponse.RuleHealthStatus["+ i +"].ServerGroupInfos["+ j +"].ServerGroupId"));
serverGroupHealthStatusModel2.setActionType(_ctx.stringValue("GetListenerHealthStatusResponse.RuleHealthStatus["+ i +"].ServerGroupInfos["+ j +"].ActionType"));
List<NonNormalServer> nonNormalServers3 = new ArrayList<NonNormalServer>();
for (int k = 0; k < _ctx.lengthValue("GetListenerHealthStatusResponse.RuleHealthStatus["+ i +"].ServerGroupInfos["+ j +"].NonNormalServers.Length"); k++) {
NonNormalServer nonNormalServer = new NonNormalServer();
nonNormalServer.setPort(_ctx.integerValue("GetListenerHealthStatusResponse.RuleHealthStatus["+ i +"].ServerGroupInfos["+ j +"].NonNormalServers["+ k +"].Port"));
nonNormalServer.setServerId(_ctx.stringValue("GetListenerHealthStatusResponse.RuleHealthStatus["+ i +"].ServerGroupInfos["+ j +"].NonNormalServers["+ k +"].ServerId"));
nonNormalServer.setServerIp(_ctx.stringValue("GetListenerHealthStatusResponse.RuleHealthStatus["+ i +"].ServerGroupInfos["+ j +"].NonNormalServers["+ k +"].ServerIp"));
nonNormalServer.setStatus(_ctx.stringValue("GetListenerHealthStatusResponse.RuleHealthStatus["+ i +"].ServerGroupInfos["+ j +"].NonNormalServers["+ k +"].Status"));
Reason4 reason4 = new Reason4();
reason4.setActualResponse(_ctx.stringValue("GetListenerHealthStatusResponse.RuleHealthStatus["+ i +"].ServerGroupInfos["+ j +"].NonNormalServers["+ k +"].Reason.ActualResponse"));
reason4.setExpectedResponse(_ctx.stringValue("GetListenerHealthStatusResponse.RuleHealthStatus["+ i +"].ServerGroupInfos["+ j +"].NonNormalServers["+ k +"].Reason.ExpectedResponse"));
reason4.setReasonCode(_ctx.stringValue("GetListenerHealthStatusResponse.RuleHealthStatus["+ i +"].ServerGroupInfos["+ j +"].NonNormalServers["+ k +"].Reason.ReasonCode"));
nonNormalServer.setReason4(reason4);
nonNormalServers3.add(nonNormalServer);
}
serverGroupHealthStatusModel2.setNonNormalServers3(nonNormalServers3);
serverGroupInfos1.add(serverGroupHealthStatusModel2);
}
ruleHealthStatusModel.setServerGroupInfos1(serverGroupInfos1);
ruleHealthStatus.add(ruleHealthStatusModel);
}
getListenerHealthStatusResponse.setRuleHealthStatus(ruleHealthStatus);
return getListenerHealthStatusResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/GetLoadBalancerAttributeResponseUnmarshaller.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.transform.v20200616;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alb.model.v20200616.GetLoadBalancerAttributeResponse;
import com.aliyuncs.alb.model.v20200616.GetLoadBalancerAttributeResponse.AccessLogConfig;
import com.aliyuncs.alb.model.v20200616.GetLoadBalancerAttributeResponse.AssociatedResource;
import com.aliyuncs.alb.model.v20200616.GetLoadBalancerAttributeResponse.DeletionProtectionConfig;
import com.aliyuncs.alb.model.v20200616.GetLoadBalancerAttributeResponse.LoadBalancerBillingConfig;
import com.aliyuncs.alb.model.v20200616.GetLoadBalancerAttributeResponse.LoadBalancerOperationLock;
import com.aliyuncs.alb.model.v20200616.GetLoadBalancerAttributeResponse.ModificationProtectionConfig;
import com.aliyuncs.alb.model.v20200616.GetLoadBalancerAttributeResponse.Tag;
import com.aliyuncs.alb.model.v20200616.GetLoadBalancerAttributeResponse.ZoneMapping;
import com.aliyuncs.alb.model.v20200616.GetLoadBalancerAttributeResponse.ZoneMapping.LoadBalancerAddress;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetLoadBalancerAttributeResponseUnmarshaller {
public static GetLoadBalancerAttributeResponse unmarshall(GetLoadBalancerAttributeResponse getLoadBalancerAttributeResponse, UnmarshallerContext _ctx) {
getLoadBalancerAttributeResponse.setRequestId(_ctx.stringValue("GetLoadBalancerAttributeResponse.RequestId"));
getLoadBalancerAttributeResponse.setAddressAllocatedMode(_ctx.stringValue("GetLoadBalancerAttributeResponse.AddressAllocatedMode"));
getLoadBalancerAttributeResponse.setAddressType(_ctx.stringValue("GetLoadBalancerAttributeResponse.AddressType"));
getLoadBalancerAttributeResponse.setBandwidthCapacity(_ctx.integerValue("GetLoadBalancerAttributeResponse.BandwidthCapacity"));
getLoadBalancerAttributeResponse.setBandwidthPackageId(_ctx.stringValue("GetLoadBalancerAttributeResponse.BandwidthPackageId"));
getLoadBalancerAttributeResponse.setCreateTime(_ctx.stringValue("GetLoadBalancerAttributeResponse.CreateTime"));
getLoadBalancerAttributeResponse.setDNSName(_ctx.stringValue("GetLoadBalancerAttributeResponse.DNSName"));
getLoadBalancerAttributeResponse.setLoadBalancerBussinessStatus(_ctx.stringValue("GetLoadBalancerAttributeResponse.LoadBalancerBussinessStatus"));
getLoadBalancerAttributeResponse.setLoadBalancerEdition(_ctx.stringValue("GetLoadBalancerAttributeResponse.LoadBalancerEdition"));
getLoadBalancerAttributeResponse.setLoadBalancerId(_ctx.stringValue("GetLoadBalancerAttributeResponse.LoadBalancerId"));
getLoadBalancerAttributeResponse.setLoadBalancerName(_ctx.stringValue("GetLoadBalancerAttributeResponse.LoadBalancerName"));
getLoadBalancerAttributeResponse.setServiceManagedEnabled(_ctx.booleanValue("GetLoadBalancerAttributeResponse.ServiceManagedEnabled"));
getLoadBalancerAttributeResponse.setServiceManagedMode(_ctx.stringValue("GetLoadBalancerAttributeResponse.ServiceManagedMode"));
getLoadBalancerAttributeResponse.setLoadBalancerStatus(_ctx.stringValue("GetLoadBalancerAttributeResponse.LoadBalancerStatus"));
getLoadBalancerAttributeResponse.setRegionId(_ctx.stringValue("GetLoadBalancerAttributeResponse.RegionId"));
getLoadBalancerAttributeResponse.setResourceGroupId(_ctx.stringValue("GetLoadBalancerAttributeResponse.ResourceGroupId"));
getLoadBalancerAttributeResponse.setVpcId(_ctx.stringValue("GetLoadBalancerAttributeResponse.VpcId"));
getLoadBalancerAttributeResponse.setConfigManagedEnabled(_ctx.booleanValue("GetLoadBalancerAttributeResponse.ConfigManagedEnabled"));
getLoadBalancerAttributeResponse.setAddressIpVersion(_ctx.stringValue("GetLoadBalancerAttributeResponse.AddressIpVersion"));
getLoadBalancerAttributeResponse.setIpv6AddressType(_ctx.stringValue("GetLoadBalancerAttributeResponse.Ipv6AddressType"));
getLoadBalancerAttributeResponse.setBackToOriginRouteEnabled(_ctx.booleanValue("GetLoadBalancerAttributeResponse.BackToOriginRouteEnabled"));
getLoadBalancerAttributeResponse.setLoadBalancerVersion(_ctx.stringValue("GetLoadBalancerAttributeResponse.LoadBalancerVersion"));
getLoadBalancerAttributeResponse.setSysSecurityGroupId(_ctx.stringValue("GetLoadBalancerAttributeResponse.SysSecurityGroupId"));
List<String> featureLabels = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("GetLoadBalancerAttributeResponse.FeatureLabels.Length"); i++) {
featureLabels.add(_ctx.stringValue("GetLoadBalancerAttributeResponse.FeatureLabels["+ i +"]"));
}
getLoadBalancerAttributeResponse.setFeatureLabels(featureLabels);
List<String> securityGroupIds = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("GetLoadBalancerAttributeResponse.SecurityGroupIds.Length"); i++) {
securityGroupIds.add(_ctx.stringValue("GetLoadBalancerAttributeResponse.SecurityGroupIds["+ i +"]"));
}
getLoadBalancerAttributeResponse.setSecurityGroupIds(securityGroupIds);
AccessLogConfig accessLogConfig = new AccessLogConfig();
accessLogConfig.setLogProject(_ctx.stringValue("GetLoadBalancerAttributeResponse.AccessLogConfig.LogProject"));
accessLogConfig.setLogStore(_ctx.stringValue("GetLoadBalancerAttributeResponse.AccessLogConfig.LogStore"));
getLoadBalancerAttributeResponse.setAccessLogConfig(accessLogConfig);
DeletionProtectionConfig deletionProtectionConfig = new DeletionProtectionConfig();
deletionProtectionConfig.setEnabled(_ctx.booleanValue("GetLoadBalancerAttributeResponse.DeletionProtectionConfig.Enabled"));
deletionProtectionConfig.setEnabledTime(_ctx.stringValue("GetLoadBalancerAttributeResponse.DeletionProtectionConfig.EnabledTime"));
getLoadBalancerAttributeResponse.setDeletionProtectionConfig(deletionProtectionConfig);
LoadBalancerBillingConfig loadBalancerBillingConfig = new LoadBalancerBillingConfig();
loadBalancerBillingConfig.setInternetBandwidth(_ctx.integerValue("GetLoadBalancerAttributeResponse.LoadBalancerBillingConfig.InternetBandwidth"));
loadBalancerBillingConfig.setInternetChargeType(_ctx.stringValue("GetLoadBalancerAttributeResponse.LoadBalancerBillingConfig.InternetChargeType"));
loadBalancerBillingConfig.setPayType(_ctx.stringValue("GetLoadBalancerAttributeResponse.LoadBalancerBillingConfig.PayType"));
getLoadBalancerAttributeResponse.setLoadBalancerBillingConfig(loadBalancerBillingConfig);
ModificationProtectionConfig modificationProtectionConfig = new ModificationProtectionConfig();
modificationProtectionConfig.setReason(_ctx.stringValue("GetLoadBalancerAttributeResponse.ModificationProtectionConfig.Reason"));
modificationProtectionConfig.setStatus(_ctx.stringValue("GetLoadBalancerAttributeResponse.ModificationProtectionConfig.Status"));
getLoadBalancerAttributeResponse.setModificationProtectionConfig(modificationProtectionConfig);
List<LoadBalancerOperationLock> loadBalancerOperationLocks = new ArrayList<LoadBalancerOperationLock>();
for (int i = 0; i < _ctx.lengthValue("GetLoadBalancerAttributeResponse.LoadBalancerOperationLocks.Length"); i++) {
LoadBalancerOperationLock loadBalancerOperationLock = new LoadBalancerOperationLock();
loadBalancerOperationLock.setLockReason(_ctx.stringValue("GetLoadBalancerAttributeResponse.LoadBalancerOperationLocks["+ i +"].LockReason"));
loadBalancerOperationLock.setLockType(_ctx.stringValue("GetLoadBalancerAttributeResponse.LoadBalancerOperationLocks["+ i +"].LockType"));
loadBalancerOperationLocks.add(loadBalancerOperationLock);
}
getLoadBalancerAttributeResponse.setLoadBalancerOperationLocks(loadBalancerOperationLocks);
List<Tag> tags = new ArrayList<Tag>();
for (int i = 0; i < _ctx.lengthValue("GetLoadBalancerAttributeResponse.Tags.Length"); i++) {
Tag tag = new Tag();
tag.setKey(_ctx.stringValue("GetLoadBalancerAttributeResponse.Tags["+ i +"].Key"));
tag.setValue(_ctx.stringValue("GetLoadBalancerAttributeResponse.Tags["+ i +"].Value"));
tags.add(tag);
}
getLoadBalancerAttributeResponse.setTags(tags);
List<ZoneMapping> zoneMappings = new ArrayList<ZoneMapping>();
for (int i = 0; i < _ctx.lengthValue("GetLoadBalancerAttributeResponse.ZoneMappings.Length"); i++) {
ZoneMapping zoneMapping = new ZoneMapping();
zoneMapping.setVSwitchId(_ctx.stringValue("GetLoadBalancerAttributeResponse.ZoneMappings["+ i +"].VSwitchId"));
zoneMapping.setZoneId(_ctx.stringValue("GetLoadBalancerAttributeResponse.ZoneMappings["+ i +"].ZoneId"));
zoneMapping.setAllocationId(_ctx.stringValue("GetLoadBalancerAttributeResponse.ZoneMappings["+ i +"].AllocationId"));
zoneMapping.setEipType(_ctx.stringValue("GetLoadBalancerAttributeResponse.ZoneMappings["+ i +"].EipType"));
zoneMapping.setStatus(_ctx.stringValue("GetLoadBalancerAttributeResponse.ZoneMappings["+ i +"].Status"));
List<LoadBalancerAddress> loadBalancerAddresses = new ArrayList<LoadBalancerAddress>();
for (int j = 0; j < _ctx.lengthValue("GetLoadBalancerAttributeResponse.ZoneMappings["+ i +"].LoadBalancerAddresses.Length"); j++) {
LoadBalancerAddress loadBalancerAddress = new LoadBalancerAddress();
loadBalancerAddress.setAddress(_ctx.stringValue("GetLoadBalancerAttributeResponse.ZoneMappings["+ i +"].LoadBalancerAddresses["+ j +"].Address"));
loadBalancerAddress.setIpv6Address(_ctx.stringValue("GetLoadBalancerAttributeResponse.ZoneMappings["+ i +"].LoadBalancerAddresses["+ j +"].Ipv6Address"));
loadBalancerAddress.setIntranetAddress(_ctx.stringValue("GetLoadBalancerAttributeResponse.ZoneMappings["+ i +"].LoadBalancerAddresses["+ j +"].IntranetAddress"));
loadBalancerAddress.setAllocationId(_ctx.stringValue("GetLoadBalancerAttributeResponse.ZoneMappings["+ i +"].LoadBalancerAddresses["+ j +"].AllocationId"));
loadBalancerAddress.setEipType(_ctx.stringValue("GetLoadBalancerAttributeResponse.ZoneMappings["+ i +"].LoadBalancerAddresses["+ j +"].EipType"));
loadBalancerAddress.setIntranetAddressHcStatus(_ctx.stringValue("GetLoadBalancerAttributeResponse.ZoneMappings["+ i +"].LoadBalancerAddresses["+ j +"].IntranetAddressHcStatus"));
loadBalancerAddress.setIpv6AddressHcStatus(_ctx.stringValue("GetLoadBalancerAttributeResponse.ZoneMappings["+ i +"].LoadBalancerAddresses["+ j +"].Ipv6AddressHcStatus"));
List<String> ipv4LocalAddresses = new ArrayList<String>();
for (int k = 0; k < _ctx.lengthValue("GetLoadBalancerAttributeResponse.ZoneMappings["+ i +"].LoadBalancerAddresses["+ j +"].Ipv4LocalAddresses.Length"); k++) {
ipv4LocalAddresses.add(_ctx.stringValue("GetLoadBalancerAttributeResponse.ZoneMappings["+ i +"].LoadBalancerAddresses["+ j +"].Ipv4LocalAddresses["+ k +"]"));
}
loadBalancerAddress.setIpv4LocalAddresses(ipv4LocalAddresses);
List<String> ipv6LocalAddresses = new ArrayList<String>();
for (int k = 0; k < _ctx.lengthValue("GetLoadBalancerAttributeResponse.ZoneMappings["+ i +"].LoadBalancerAddresses["+ j +"].Ipv6LocalAddresses.Length"); k++) {
ipv6LocalAddresses.add(_ctx.stringValue("GetLoadBalancerAttributeResponse.ZoneMappings["+ i +"].LoadBalancerAddresses["+ j +"].Ipv6LocalAddresses["+ k +"]"));
}
loadBalancerAddress.setIpv6LocalAddresses(ipv6LocalAddresses);
loadBalancerAddresses.add(loadBalancerAddress);
}
zoneMapping.setLoadBalancerAddresses(loadBalancerAddresses);
zoneMappings.add(zoneMapping);
}
getLoadBalancerAttributeResponse.setZoneMappings(zoneMappings);
List<AssociatedResource> associatedResources = new ArrayList<AssociatedResource>();
for (int i = 0; i < _ctx.lengthValue("GetLoadBalancerAttributeResponse.AssociatedResources.Length"); i++) {
AssociatedResource associatedResource = new AssociatedResource();
associatedResource.setAssociatedResourceType(_ctx.stringValue("GetLoadBalancerAttributeResponse.AssociatedResources["+ i +"].AssociatedResourceType"));
associatedResource.setAssociatedResourceId(_ctx.stringValue("GetLoadBalancerAttributeResponse.AssociatedResources["+ i +"].AssociatedResourceId"));
associatedResource.setPolicyId(_ctx.stringValue("GetLoadBalancerAttributeResponse.AssociatedResources["+ i +"].PolicyId"));
associatedResource.setStatus(_ctx.stringValue("GetLoadBalancerAttributeResponse.AssociatedResources["+ i +"].Status"));
associatedResource.setAssociatedMode(_ctx.stringValue("GetLoadBalancerAttributeResponse.AssociatedResources["+ i +"].AssociatedMode"));
associatedResources.add(associatedResource);
}
getLoadBalancerAttributeResponse.setAssociatedResources(associatedResources);
return getLoadBalancerAttributeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/ListAScriptsResponseUnmarshaller.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.transform.v20200616;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alb.model.v20200616.ListAScriptsResponse;
import com.aliyuncs.alb.model.v20200616.ListAScriptsResponse.AScript;
import com.aliyuncs.alb.model.v20200616.ListAScriptsResponse.AScript.ExtAttribute;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListAScriptsResponseUnmarshaller {
public static ListAScriptsResponse unmarshall(ListAScriptsResponse listAScriptsResponse, UnmarshallerContext _ctx) {
listAScriptsResponse.setRequestId(_ctx.stringValue("ListAScriptsResponse.RequestId"));
listAScriptsResponse.setTotalCount(_ctx.integerValue("ListAScriptsResponse.TotalCount"));
listAScriptsResponse.setNextToken(_ctx.stringValue("ListAScriptsResponse.NextToken"));
listAScriptsResponse.setMaxResults(_ctx.integerValue("ListAScriptsResponse.MaxResults"));
List<AScript> aScripts = new ArrayList<AScript>();
for (int i = 0; i < _ctx.lengthValue("ListAScriptsResponse.AScripts.Length"); i++) {
AScript aScript = new AScript();
aScript.setAScriptId(_ctx.stringValue("ListAScriptsResponse.AScripts["+ i +"].AScriptId"));
aScript.setAScriptName(_ctx.stringValue("ListAScriptsResponse.AScripts["+ i +"].AScriptName"));
aScript.setPriority(_ctx.longValue("ListAScriptsResponse.AScripts["+ i +"].Priority"));
aScript.setPosition(_ctx.stringValue("ListAScriptsResponse.AScripts["+ i +"].Position"));
aScript.setEnabled(_ctx.booleanValue("ListAScriptsResponse.AScripts["+ i +"].Enabled"));
aScript.setScriptContent(_ctx.stringValue("ListAScriptsResponse.AScripts["+ i +"].ScriptContent"));
aScript.setAScriptStatus(_ctx.stringValue("ListAScriptsResponse.AScripts["+ i +"].AScriptStatus"));
aScript.setListenerId(_ctx.stringValue("ListAScriptsResponse.AScripts["+ i +"].ListenerId"));
aScript.setLoadBalancerId(_ctx.stringValue("ListAScriptsResponse.AScripts["+ i +"].LoadBalancerId"));
aScript.setExtAttributeEnabled(_ctx.booleanValue("ListAScriptsResponse.AScripts["+ i +"].ExtAttributeEnabled"));
List<ExtAttribute> extAttributes = new ArrayList<ExtAttribute>();
for (int j = 0; j < _ctx.lengthValue("ListAScriptsResponse.AScripts["+ i +"].ExtAttributes.Length"); j++) {
ExtAttribute extAttribute = new ExtAttribute();
extAttribute.setAttributeKey(_ctx.stringValue("ListAScriptsResponse.AScripts["+ i +"].ExtAttributes["+ j +"].AttributeKey"));
extAttribute.setAttributeValue(_ctx.stringValue("ListAScriptsResponse.AScripts["+ i +"].ExtAttributes["+ j +"].AttributeValue"));
extAttributes.add(extAttribute);
}
aScript.setExtAttributes(extAttributes);
aScripts.add(aScript);
}
listAScriptsResponse.setAScripts(aScripts);
return listAScriptsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/ListAclEntriesResponseUnmarshaller.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.transform.v20200616;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alb.model.v20200616.ListAclEntriesResponse;
import com.aliyuncs.alb.model.v20200616.ListAclEntriesResponse.AclEntry;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListAclEntriesResponseUnmarshaller {
public static ListAclEntriesResponse unmarshall(ListAclEntriesResponse listAclEntriesResponse, UnmarshallerContext _ctx) {
listAclEntriesResponse.setRequestId(_ctx.stringValue("ListAclEntriesResponse.RequestId"));
listAclEntriesResponse.setMaxResults(_ctx.integerValue("ListAclEntriesResponse.MaxResults"));
listAclEntriesResponse.setNextToken(_ctx.stringValue("ListAclEntriesResponse.NextToken"));
listAclEntriesResponse.setTotalCount(_ctx.integerValue("ListAclEntriesResponse.TotalCount"));
List<AclEntry> aclEntries = new ArrayList<AclEntry>();
for (int i = 0; i < _ctx.lengthValue("ListAclEntriesResponse.AclEntries.Length"); i++) {
AclEntry aclEntry = new AclEntry();
aclEntry.setDescription(_ctx.stringValue("ListAclEntriesResponse.AclEntries["+ i +"].Description"));
aclEntry.setEntry(_ctx.stringValue("ListAclEntriesResponse.AclEntries["+ i +"].Entry"));
aclEntry.setStatus(_ctx.stringValue("ListAclEntriesResponse.AclEntries["+ i +"].Status"));
aclEntries.add(aclEntry);
}
listAclEntriesResponse.setAclEntries(aclEntries);
return listAclEntriesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/ListAclRelationsResponseUnmarshaller.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.transform.v20200616;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alb.model.v20200616.ListAclRelationsResponse;
import com.aliyuncs.alb.model.v20200616.ListAclRelationsResponse.AclRelation;
import com.aliyuncs.alb.model.v20200616.ListAclRelationsResponse.AclRelation.RelatedListener;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListAclRelationsResponseUnmarshaller {
public static ListAclRelationsResponse unmarshall(ListAclRelationsResponse listAclRelationsResponse, UnmarshallerContext _ctx) {
listAclRelationsResponse.setRequestId(_ctx.stringValue("ListAclRelationsResponse.RequestId"));
List<AclRelation> aclRelations = new ArrayList<AclRelation>();
for (int i = 0; i < _ctx.lengthValue("ListAclRelationsResponse.AclRelations.Length"); i++) {
AclRelation aclRelation = new AclRelation();
aclRelation.setAclId(_ctx.stringValue("ListAclRelationsResponse.AclRelations["+ i +"].AclId"));
List<RelatedListener> relatedListeners = new ArrayList<RelatedListener>();
for (int j = 0; j < _ctx.lengthValue("ListAclRelationsResponse.AclRelations["+ i +"].RelatedListeners.Length"); j++) {
RelatedListener relatedListener = new RelatedListener();
relatedListener.setListenerId(_ctx.stringValue("ListAclRelationsResponse.AclRelations["+ i +"].RelatedListeners["+ j +"].ListenerId"));
relatedListener.setListenerPort(_ctx.integerValue("ListAclRelationsResponse.AclRelations["+ i +"].RelatedListeners["+ j +"].ListenerPort"));
relatedListener.setListenerProtocol(_ctx.stringValue("ListAclRelationsResponse.AclRelations["+ i +"].RelatedListeners["+ j +"].ListenerProtocol"));
relatedListener.setLoadBalancerId(_ctx.stringValue("ListAclRelationsResponse.AclRelations["+ i +"].RelatedListeners["+ j +"].LoadBalancerId"));
relatedListener.setStatus(_ctx.stringValue("ListAclRelationsResponse.AclRelations["+ i +"].RelatedListeners["+ j +"].Status"));
relatedListeners.add(relatedListener);
}
aclRelation.setRelatedListeners(relatedListeners);
aclRelations.add(aclRelation);
}
listAclRelationsResponse.setAclRelations(aclRelations);
return listAclRelationsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform
|
java-sources/com/aliyun/aliyun-java-sdk-alb/1.0.22/com/aliyuncs/alb/transform/v20200616/ListAclsResponseUnmarshaller.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.transform.v20200616;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.alb.model.v20200616.ListAclsResponse;
import com.aliyuncs.alb.model.v20200616.ListAclsResponse.Acl;
import com.aliyuncs.alb.model.v20200616.ListAclsResponse.Acl.Tag;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListAclsResponseUnmarshaller {
public static ListAclsResponse unmarshall(ListAclsResponse listAclsResponse, UnmarshallerContext _ctx) {
listAclsResponse.setRequestId(_ctx.stringValue("ListAclsResponse.RequestId"));
listAclsResponse.setMaxResults(_ctx.integerValue("ListAclsResponse.MaxResults"));
listAclsResponse.setNextToken(_ctx.stringValue("ListAclsResponse.NextToken"));
listAclsResponse.setTotalCount(_ctx.integerValue("ListAclsResponse.TotalCount"));
List<Acl> acls = new ArrayList<Acl>();
for (int i = 0; i < _ctx.lengthValue("ListAclsResponse.Acls.Length"); i++) {
Acl acl = new Acl();
acl.setAclId(_ctx.stringValue("ListAclsResponse.Acls["+ i +"].AclId"));
acl.setAclName(_ctx.stringValue("ListAclsResponse.Acls["+ i +"].AclName"));
acl.setAclStatus(_ctx.stringValue("ListAclsResponse.Acls["+ i +"].AclStatus"));
acl.setAddressIPVersion(_ctx.stringValue("ListAclsResponse.Acls["+ i +"].AddressIPVersion"));
acl.setResourceGroupId(_ctx.stringValue("ListAclsResponse.Acls["+ i +"].ResourceGroupId"));
acl.setServiceManagedEnabled(_ctx.booleanValue("ListAclsResponse.Acls["+ i +"].ServiceManagedEnabled"));
acl.setServiceManagedMode(_ctx.stringValue("ListAclsResponse.Acls["+ i +"].ServiceManagedMode"));
acl.setConfigManagedEnabled(_ctx.booleanValue("ListAclsResponse.Acls["+ i +"].ConfigManagedEnabled"));
acl.setCreateTime(_ctx.stringValue("ListAclsResponse.Acls["+ i +"].CreateTime"));
List<Tag> tags = new ArrayList<Tag>();
for (int j = 0; j < _ctx.lengthValue("ListAclsResponse.Acls["+ i +"].Tags.Length"); j++) {
Tag tag = new Tag();
tag.setKey(_ctx.stringValue("ListAclsResponse.Acls["+ i +"].Tags["+ j +"].Key"));
tag.setValue(_ctx.stringValue("ListAclsResponse.Acls["+ i +"].Tags["+ j +"].Value"));
tags.add(tag);
}
acl.setTags(tags);
acls.add(acl);
}
listAclsResponse.setAcls(acls);
return listAclsResponse;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.