index
int64 | repo_id
string | file_path
string | content
string |
|---|---|---|---|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/StartConfigurationRecorderResponse.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.config.model.v20200907;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.config.transform.v20200907.StartConfigurationRecorderResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class StartConfigurationRecorderResponse extends AcsResponse {
private String requestId;
private ConfigurationRecorder configurationRecorder;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public ConfigurationRecorder getConfigurationRecorder() {
return this.configurationRecorder;
}
public void setConfigurationRecorder(ConfigurationRecorder configurationRecorder) {
this.configurationRecorder = configurationRecorder;
}
public static class ConfigurationRecorder {
private String configurationRecorderStatus;
private List<String> resourceTypes;
public String getConfigurationRecorderStatus() {
return this.configurationRecorderStatus;
}
public void setConfigurationRecorderStatus(String configurationRecorderStatus) {
this.configurationRecorderStatus = configurationRecorderStatus;
}
public List<String> getResourceTypes() {
return this.resourceTypes;
}
public void setResourceTypes(List<String> resourceTypes) {
this.resourceTypes = resourceTypes;
}
}
@Override
public StartConfigurationRecorderResponse getInstance(UnmarshallerContext context) {
return StartConfigurationRecorderResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/StartRemediationRequest.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.config.model.v20200907;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.config.Endpoint;
/**
* @author auto create
* @version
*/
public class StartRemediationRequest extends RpcAcsRequest<StartRemediationResponse> {
private String configRuleId;
public StartRemediationRequest() {
super("Config", "2020-09-07", "StartRemediation", "config");
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 getConfigRuleId() {
return this.configRuleId;
}
public void setConfigRuleId(String configRuleId) {
this.configRuleId = configRuleId;
if(configRuleId != null){
putQueryParameter("ConfigRuleId", configRuleId);
}
}
@Override
public Class<StartRemediationResponse> getResponseClass() {
return StartRemediationResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/StartRemediationResponse.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.config.model.v20200907;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.config.transform.v20200907.StartRemediationResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class StartRemediationResponse extends AcsResponse {
private String requestId;
private Boolean data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getData() {
return this.data;
}
public void setData(Boolean data) {
this.data = data;
}
@Override
public StartRemediationResponse getInstance(UnmarshallerContext context) {
return StartRemediationResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/StopConfigurationRecorderRequest.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.config.model.v20200907;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.config.Endpoint;
/**
* @author auto create
* @version
*/
public class StopConfigurationRecorderRequest extends RpcAcsRequest<StopConfigurationRecorderResponse> {
public StopConfigurationRecorderRequest() {
super("Config", "2020-09-07", "StopConfigurationRecorder", "config");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
@Override
public Class<StopConfigurationRecorderResponse> getResponseClass() {
return StopConfigurationRecorderResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/StopConfigurationRecorderResponse.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.config.model.v20200907;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.config.transform.v20200907.StopConfigurationRecorderResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class StopConfigurationRecorderResponse extends AcsResponse {
private String requestId;
private Boolean stopConfigurationRecorderResult;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getStopConfigurationRecorderResult() {
return this.stopConfigurationRecorderResult;
}
public void setStopConfigurationRecorderResult(Boolean stopConfigurationRecorderResult) {
this.stopConfigurationRecorderResult = stopConfigurationRecorderResult;
}
@Override
public StopConfigurationRecorderResponse getInstance(UnmarshallerContext context) {
return StopConfigurationRecorderResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/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.config.model.v20200907;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.config.Endpoint;
/**
* @author auto create
* @version
*/
public class TagResourcesRequest extends RpcAcsRequest<TagResourcesResponse> {
private List<String> resourceIds;
private String resourceType;
private String tag;
public TagResourcesRequest() {
super("Config", "2020-09-07", "TagResources", "config");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public List<String> getResourceIds() {
return this.resourceIds;
}
public void setResourceIds(List<String> resourceIds) {
this.resourceIds = resourceIds;
if (resourceIds != null) {
for (int i = 0; i < resourceIds.size(); i++) {
putBodyParameter("ResourceId." + (i + 1) , resourceIds.get(i));
}
}
}
public String getResourceType() {
return this.resourceType;
}
public void setResourceType(String resourceType) {
this.resourceType = resourceType;
if(resourceType != null){
putBodyParameter("ResourceType", resourceType);
}
}
public String getTag() {
return this.tag;
}
public void setTag(String tag) {
this.tag = tag;
if(tag != null){
putBodyParameter("Tag", tag);
}
}
@Override
public Class<TagResourcesResponse> getResponseClass() {
return TagResourcesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/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.config.model.v20200907;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.config.transform.v20200907.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);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/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.config.model.v20200907;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.config.Endpoint;
/**
* @author auto create
* @version
*/
public class UntagResourcesRequest extends RpcAcsRequest<UntagResourcesResponse> {
private Boolean all;
private List<String> resourceIds;
private String resourceType;
private List<String> tagKeys;
public UntagResourcesRequest() {
super("Config", "2020-09-07", "UntagResources", "config");
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 getAll() {
return this.all;
}
public void setAll(Boolean all) {
this.all = all;
if(all != null){
putBodyParameter("All", all.toString());
}
}
public List<String> getResourceIds() {
return this.resourceIds;
}
public void setResourceIds(List<String> resourceIds) {
this.resourceIds = resourceIds;
if (resourceIds != null) {
for (int i = 0; i < resourceIds.size(); i++) {
putBodyParameter("ResourceId." + (i + 1) , resourceIds.get(i));
}
}
}
public String getResourceType() {
return this.resourceType;
}
public void setResourceType(String resourceType) {
this.resourceType = resourceType;
if(resourceType != null){
putBodyParameter("ResourceType", resourceType);
}
}
public List<String> getTagKeys() {
return this.tagKeys;
}
public void setTagKeys(List<String> tagKeys) {
this.tagKeys = tagKeys;
if (tagKeys != null) {
for (int i = 0; i < tagKeys.size(); i++) {
putBodyParameter("TagKey." + (i + 1) , tagKeys.get(i));
}
}
}
@Override
public Class<UntagResourcesResponse> getResponseClass() {
return UntagResourcesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/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.config.model.v20200907;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.config.transform.v20200907.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);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/UpdateAggregateCompliancePackRequest.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.config.model.v20200907;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.config.Endpoint;
/**
* @author auto create
* @version
*/
public class UpdateAggregateCompliancePackRequest extends RpcAcsRequest<UpdateAggregateCompliancePackResponse> {
private String tagKeyScope;
private String compliancePackName;
private String clientToken;
private String description;
private String aggregatorId;
private String excludeResourceGroupIdsScope;
private String tagValueScope;
private String regionIdsScope;
private String compliancePackId;
private String resourceIdsScope;
private String tag;
@SerializedName("configRules")
private List<ConfigRules> configRules;
private List<ExcludeTagsScope> excludeTagsScope;
private Integer riskLevel;
private List<TagsScope> tagsScope;
private String resourceGroupIdsScope;
private String excludeRegionIdsScope;
private String excludeResourceIdsScope;
public UpdateAggregateCompliancePackRequest() {
super("Config", "2020-09-07", "UpdateAggregateCompliancePack", "config");
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 getTagKeyScope() {
return this.tagKeyScope;
}
public void setTagKeyScope(String tagKeyScope) {
this.tagKeyScope = tagKeyScope;
if(tagKeyScope != null){
putBodyParameter("TagKeyScope", tagKeyScope);
}
}
public String getCompliancePackName() {
return this.compliancePackName;
}
public void setCompliancePackName(String compliancePackName) {
this.compliancePackName = compliancePackName;
if(compliancePackName != null){
putBodyParameter("CompliancePackName", compliancePackName);
}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putBodyParameter("ClientToken", clientToken);
}
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
if(description != null){
putBodyParameter("Description", description);
}
}
public String getAggregatorId() {
return this.aggregatorId;
}
public void setAggregatorId(String aggregatorId) {
this.aggregatorId = aggregatorId;
if(aggregatorId != null){
putBodyParameter("AggregatorId", aggregatorId);
}
}
public String getExcludeResourceGroupIdsScope() {
return this.excludeResourceGroupIdsScope;
}
public void setExcludeResourceGroupIdsScope(String excludeResourceGroupIdsScope) {
this.excludeResourceGroupIdsScope = excludeResourceGroupIdsScope;
if(excludeResourceGroupIdsScope != null){
putBodyParameter("ExcludeResourceGroupIdsScope", excludeResourceGroupIdsScope);
}
}
public String getTagValueScope() {
return this.tagValueScope;
}
public void setTagValueScope(String tagValueScope) {
this.tagValueScope = tagValueScope;
if(tagValueScope != null){
putBodyParameter("TagValueScope", tagValueScope);
}
}
public String getRegionIdsScope() {
return this.regionIdsScope;
}
public void setRegionIdsScope(String regionIdsScope) {
this.regionIdsScope = regionIdsScope;
if(regionIdsScope != null){
putBodyParameter("RegionIdsScope", regionIdsScope);
}
}
public String getCompliancePackId() {
return this.compliancePackId;
}
public void setCompliancePackId(String compliancePackId) {
this.compliancePackId = compliancePackId;
if(compliancePackId != null){
putBodyParameter("CompliancePackId", compliancePackId);
}
}
public String getResourceIdsScope() {
return this.resourceIdsScope;
}
public void setResourceIdsScope(String resourceIdsScope) {
this.resourceIdsScope = resourceIdsScope;
if(resourceIdsScope != null){
putBodyParameter("ResourceIdsScope", resourceIdsScope);
}
}
public String getTag() {
return this.tag;
}
public void setTag(String tag) {
this.tag = tag;
if(tag != null){
putQueryParameter("Tag", tag);
}
}
public List<ConfigRules> getConfigRules() {
return this.configRules;
}
public void setConfigRules(List<ConfigRules> configRules) {
this.configRules = configRules;
if (configRules != null) {
putBodyParameter("ConfigRules" , new Gson().toJson(configRules));
}
}
public List<ExcludeTagsScope> getExcludeTagsScope() {
return this.excludeTagsScope;
}
public void setExcludeTagsScope(List<ExcludeTagsScope> excludeTagsScope) {
this.excludeTagsScope = excludeTagsScope;
if (excludeTagsScope != null) {
for (int depth1 = 0; depth1 < excludeTagsScope.size(); depth1++) {
if (excludeTagsScope.get(depth1) != null) {
putBodyParameter("ExcludeTagsScope." + (depth1 + 1) + ".TagValue" , excludeTagsScope.get(depth1).getTagValue());
putBodyParameter("ExcludeTagsScope." + (depth1 + 1) + ".TagKey" , excludeTagsScope.get(depth1).getTagKey());
}
}
}
}
public Integer getRiskLevel() {
return this.riskLevel;
}
public void setRiskLevel(Integer riskLevel) {
this.riskLevel = riskLevel;
if(riskLevel != null){
putBodyParameter("RiskLevel", riskLevel.toString());
}
}
public List<TagsScope> getTagsScope() {
return this.tagsScope;
}
public void setTagsScope(List<TagsScope> tagsScope) {
this.tagsScope = tagsScope;
if (tagsScope != null) {
for (int depth1 = 0; depth1 < tagsScope.size(); depth1++) {
if (tagsScope.get(depth1) != null) {
putBodyParameter("TagsScope." + (depth1 + 1) + ".TagValue" , tagsScope.get(depth1).getTagValue());
putBodyParameter("TagsScope." + (depth1 + 1) + ".TagKey" , tagsScope.get(depth1).getTagKey());
}
}
}
}
public String getResourceGroupIdsScope() {
return this.resourceGroupIdsScope;
}
public void setResourceGroupIdsScope(String resourceGroupIdsScope) {
this.resourceGroupIdsScope = resourceGroupIdsScope;
if(resourceGroupIdsScope != null){
putBodyParameter("ResourceGroupIdsScope", resourceGroupIdsScope);
}
}
public String getExcludeRegionIdsScope() {
return this.excludeRegionIdsScope;
}
public void setExcludeRegionIdsScope(String excludeRegionIdsScope) {
this.excludeRegionIdsScope = excludeRegionIdsScope;
if(excludeRegionIdsScope != null){
putBodyParameter("ExcludeRegionIdsScope", excludeRegionIdsScope);
}
}
public String getExcludeResourceIdsScope() {
return this.excludeResourceIdsScope;
}
public void setExcludeResourceIdsScope(String excludeResourceIdsScope) {
this.excludeResourceIdsScope = excludeResourceIdsScope;
if(excludeResourceIdsScope != null){
putBodyParameter("ExcludeResourceIdsScope", excludeResourceIdsScope);
}
}
public static class ConfigRules {
@SerializedName("ManagedRuleIdentifier")
private String managedRuleIdentifier;
@SerializedName("ConfigRuleParameters")
private List<ConfigRuleParametersItem> configRuleParameters;
@SerializedName("ConfigRuleId")
private String configRuleId;
@SerializedName("ConfigRuleName")
private String configRuleName;
@SerializedName("Description")
private String description;
@SerializedName("RiskLevel")
private Integer riskLevel;
public String getManagedRuleIdentifier() {
return this.managedRuleIdentifier;
}
public void setManagedRuleIdentifier(String managedRuleIdentifier) {
this.managedRuleIdentifier = managedRuleIdentifier;
}
public List<ConfigRuleParametersItem> getConfigRuleParameters() {
return this.configRuleParameters;
}
public void setConfigRuleParameters(List<ConfigRuleParametersItem> configRuleParameters) {
this.configRuleParameters = configRuleParameters;
}
public String getConfigRuleId() {
return this.configRuleId;
}
public void setConfigRuleId(String configRuleId) {
this.configRuleId = configRuleId;
}
public String getConfigRuleName() {
return this.configRuleName;
}
public void setConfigRuleName(String configRuleName) {
this.configRuleName = configRuleName;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public Integer getRiskLevel() {
return this.riskLevel;
}
public void setRiskLevel(Integer riskLevel) {
this.riskLevel = riskLevel;
}
public static class ConfigRuleParametersItem {
@SerializedName("ParameterValue")
private String parameterValue;
@SerializedName("ParameterName")
private String parameterName;
public String getParameterValue() {
return this.parameterValue;
}
public void setParameterValue(String parameterValue) {
this.parameterValue = parameterValue;
}
public String getParameterName() {
return this.parameterName;
}
public void setParameterName(String parameterName) {
this.parameterName = parameterName;
}
}
}
public static class ExcludeTagsScope {
private String tagValue;
private String tagKey;
public String getTagValue() {
return this.tagValue;
}
public void setTagValue(String tagValue) {
this.tagValue = tagValue;
}
public String getTagKey() {
return this.tagKey;
}
public void setTagKey(String tagKey) {
this.tagKey = tagKey;
}
}
public static class TagsScope {
private String tagValue;
private String tagKey;
public String getTagValue() {
return this.tagValue;
}
public void setTagValue(String tagValue) {
this.tagValue = tagValue;
}
public String getTagKey() {
return this.tagKey;
}
public void setTagKey(String tagKey) {
this.tagKey = tagKey;
}
}
@Override
public Class<UpdateAggregateCompliancePackResponse> getResponseClass() {
return UpdateAggregateCompliancePackResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/UpdateAggregateCompliancePackResponse.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.config.model.v20200907;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.config.transform.v20200907.UpdateAggregateCompliancePackResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateAggregateCompliancePackResponse extends AcsResponse {
private String compliancePackId;
private String requestId;
public String getCompliancePackId() {
return this.compliancePackId;
}
public void setCompliancePackId(String compliancePackId) {
this.compliancePackId = compliancePackId;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public UpdateAggregateCompliancePackResponse getInstance(UnmarshallerContext context) {
return UpdateAggregateCompliancePackResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/UpdateAggregateConfigDeliveryChannelRequest.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.config.model.v20200907;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.config.Endpoint;
/**
* @author auto create
* @version
*/
public class UpdateAggregateConfigDeliveryChannelRequest extends RpcAcsRequest<UpdateAggregateConfigDeliveryChannelResponse> {
private Boolean nonCompliantNotification;
private String clientToken;
private Boolean configurationSnapshot;
private String description;
private String aggregatorId;
private String deliveryChannelTargetArn;
private String deliveryChannelCondition;
private Boolean configurationItemChangeNotification;
private Boolean compliantSnapshot;
private String deliveryChannelName;
private String deliverySnapshotTime;
private String deliveryChannelId;
private String oversizedDataOSSTargetArn;
private Long status;
public UpdateAggregateConfigDeliveryChannelRequest() {
super("Config", "2020-09-07", "UpdateAggregateConfigDeliveryChannel", "config");
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 getNonCompliantNotification() {
return this.nonCompliantNotification;
}
public void setNonCompliantNotification(Boolean nonCompliantNotification) {
this.nonCompliantNotification = nonCompliantNotification;
if(nonCompliantNotification != null){
putQueryParameter("NonCompliantNotification", nonCompliantNotification.toString());
}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public Boolean getConfigurationSnapshot() {
return this.configurationSnapshot;
}
public void setConfigurationSnapshot(Boolean configurationSnapshot) {
this.configurationSnapshot = configurationSnapshot;
if(configurationSnapshot != null){
putQueryParameter("ConfigurationSnapshot", configurationSnapshot.toString());
}
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
if(description != null){
putQueryParameter("Description", description);
}
}
public String getAggregatorId() {
return this.aggregatorId;
}
public void setAggregatorId(String aggregatorId) {
this.aggregatorId = aggregatorId;
if(aggregatorId != null){
putQueryParameter("AggregatorId", aggregatorId);
}
}
public String getDeliveryChannelTargetArn() {
return this.deliveryChannelTargetArn;
}
public void setDeliveryChannelTargetArn(String deliveryChannelTargetArn) {
this.deliveryChannelTargetArn = deliveryChannelTargetArn;
if(deliveryChannelTargetArn != null){
putQueryParameter("DeliveryChannelTargetArn", deliveryChannelTargetArn);
}
}
public String getDeliveryChannelCondition() {
return this.deliveryChannelCondition;
}
public void setDeliveryChannelCondition(String deliveryChannelCondition) {
this.deliveryChannelCondition = deliveryChannelCondition;
if(deliveryChannelCondition != null){
putQueryParameter("DeliveryChannelCondition", deliveryChannelCondition);
}
}
public Boolean getConfigurationItemChangeNotification() {
return this.configurationItemChangeNotification;
}
public void setConfigurationItemChangeNotification(Boolean configurationItemChangeNotification) {
this.configurationItemChangeNotification = configurationItemChangeNotification;
if(configurationItemChangeNotification != null){
putQueryParameter("ConfigurationItemChangeNotification", configurationItemChangeNotification.toString());
}
}
public Boolean getCompliantSnapshot() {
return this.compliantSnapshot;
}
public void setCompliantSnapshot(Boolean compliantSnapshot) {
this.compliantSnapshot = compliantSnapshot;
if(compliantSnapshot != null){
putQueryParameter("CompliantSnapshot", compliantSnapshot.toString());
}
}
public String getDeliveryChannelName() {
return this.deliveryChannelName;
}
public void setDeliveryChannelName(String deliveryChannelName) {
this.deliveryChannelName = deliveryChannelName;
if(deliveryChannelName != null){
putQueryParameter("DeliveryChannelName", deliveryChannelName);
}
}
public String getDeliverySnapshotTime() {
return this.deliverySnapshotTime;
}
public void setDeliverySnapshotTime(String deliverySnapshotTime) {
this.deliverySnapshotTime = deliverySnapshotTime;
if(deliverySnapshotTime != null){
putQueryParameter("DeliverySnapshotTime", deliverySnapshotTime);
}
}
public String getDeliveryChannelId() {
return this.deliveryChannelId;
}
public void setDeliveryChannelId(String deliveryChannelId) {
this.deliveryChannelId = deliveryChannelId;
if(deliveryChannelId != null){
putQueryParameter("DeliveryChannelId", deliveryChannelId);
}
}
public String getOversizedDataOSSTargetArn() {
return this.oversizedDataOSSTargetArn;
}
public void setOversizedDataOSSTargetArn(String oversizedDataOSSTargetArn) {
this.oversizedDataOSSTargetArn = oversizedDataOSSTargetArn;
if(oversizedDataOSSTargetArn != null){
putQueryParameter("OversizedDataOSSTargetArn", oversizedDataOSSTargetArn);
}
}
public Long getStatus() {
return this.status;
}
public void setStatus(Long status) {
this.status = status;
if(status != null){
putQueryParameter("Status", status.toString());
}
}
@Override
public Class<UpdateAggregateConfigDeliveryChannelResponse> getResponseClass() {
return UpdateAggregateConfigDeliveryChannelResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/UpdateAggregateConfigDeliveryChannelResponse.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.config.model.v20200907;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.config.transform.v20200907.UpdateAggregateConfigDeliveryChannelResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateAggregateConfigDeliveryChannelResponse extends AcsResponse {
private String requestId;
private String deliveryChannelId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getDeliveryChannelId() {
return this.deliveryChannelId;
}
public void setDeliveryChannelId(String deliveryChannelId) {
this.deliveryChannelId = deliveryChannelId;
}
@Override
public UpdateAggregateConfigDeliveryChannelResponse getInstance(UnmarshallerContext context) {
return UpdateAggregateConfigDeliveryChannelResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/UpdateAggregateConfigRuleRequest.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.config.model.v20200907;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.config.Endpoint;
/**
* @author auto create
* @version
*/
public class UpdateAggregateConfigRuleRequest extends RpcAcsRequest<UpdateAggregateConfigRuleResponse> {
private String configRuleId;
private String tagKeyScope;
private String clientToken;
private List<String> resourceTypesScope;
private String description;
private String aggregatorId;
private String excludeResourceGroupIdsScope;
private String configRuleTriggerTypes;
private String tagValueScope;
private String excludeAccountIdsScope;
private String regionIdsScope;
private String resourceIdsScope;
private String tag;
private String excludeFolderIdsScope;
private String resourceNameScope;
private List<ExcludeTagsScope> excludeTagsScope;
private Integer riskLevel;
private List<TagsScope> tagsScope;
private String resourceGroupIdsScope;
private String inputParameters;
private String excludeRegionIdsScope;
private String accountIdsScope;
private String configRuleName;
private String tagKeyLogicScope;
private String maximumExecutionFrequency;
private String folderIdsScope;
private String excludeResourceIdsScope;
public UpdateAggregateConfigRuleRequest() {
super("Config", "2020-09-07", "UpdateAggregateConfigRule", "config");
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 getConfigRuleId() {
return this.configRuleId;
}
public void setConfigRuleId(String configRuleId) {
this.configRuleId = configRuleId;
if(configRuleId != null){
putBodyParameter("ConfigRuleId", configRuleId);
}
}
public String getTagKeyScope() {
return this.tagKeyScope;
}
public void setTagKeyScope(String tagKeyScope) {
this.tagKeyScope = tagKeyScope;
if(tagKeyScope != null){
putBodyParameter("TagKeyScope", tagKeyScope);
}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putBodyParameter("ClientToken", clientToken);
}
}
public List<String> getResourceTypesScope() {
return this.resourceTypesScope;
}
public void setResourceTypesScope(List<String> resourceTypesScope) {
this.resourceTypesScope = resourceTypesScope;
if (resourceTypesScope != null) {
String resourceTypesScopeArrVal = "";
for(int depth1 = 0; depth1 < resourceTypesScope.size(); depth1++) {
resourceTypesScopeArrVal += resourceTypesScope.get(depth1) + ",";
}
if (resourceTypesScopeArrVal.length() > 0) {
resourceTypesScopeArrVal = resourceTypesScopeArrVal.substring(0, resourceTypesScopeArrVal.length() - 1);
}
putBodyParameter("ResourceTypesScope" , resourceTypesScopeArrVal);
}
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
if(description != null){
putBodyParameter("Description", description);
}
}
public String getAggregatorId() {
return this.aggregatorId;
}
public void setAggregatorId(String aggregatorId) {
this.aggregatorId = aggregatorId;
if(aggregatorId != null){
putBodyParameter("AggregatorId", aggregatorId);
}
}
public String getExcludeResourceGroupIdsScope() {
return this.excludeResourceGroupIdsScope;
}
public void setExcludeResourceGroupIdsScope(String excludeResourceGroupIdsScope) {
this.excludeResourceGroupIdsScope = excludeResourceGroupIdsScope;
if(excludeResourceGroupIdsScope != null){
putBodyParameter("ExcludeResourceGroupIdsScope", excludeResourceGroupIdsScope);
}
}
public String getConfigRuleTriggerTypes() {
return this.configRuleTriggerTypes;
}
public void setConfigRuleTriggerTypes(String configRuleTriggerTypes) {
this.configRuleTriggerTypes = configRuleTriggerTypes;
if(configRuleTriggerTypes != null){
putBodyParameter("ConfigRuleTriggerTypes", configRuleTriggerTypes);
}
}
public String getTagValueScope() {
return this.tagValueScope;
}
public void setTagValueScope(String tagValueScope) {
this.tagValueScope = tagValueScope;
if(tagValueScope != null){
putBodyParameter("TagValueScope", tagValueScope);
}
}
public String getExcludeAccountIdsScope() {
return this.excludeAccountIdsScope;
}
public void setExcludeAccountIdsScope(String excludeAccountIdsScope) {
this.excludeAccountIdsScope = excludeAccountIdsScope;
if(excludeAccountIdsScope != null){
putBodyParameter("ExcludeAccountIdsScope", excludeAccountIdsScope);
}
}
public String getRegionIdsScope() {
return this.regionIdsScope;
}
public void setRegionIdsScope(String regionIdsScope) {
this.regionIdsScope = regionIdsScope;
if(regionIdsScope != null){
putBodyParameter("RegionIdsScope", regionIdsScope);
}
}
public String getResourceIdsScope() {
return this.resourceIdsScope;
}
public void setResourceIdsScope(String resourceIdsScope) {
this.resourceIdsScope = resourceIdsScope;
if(resourceIdsScope != null){
putBodyParameter("ResourceIdsScope", resourceIdsScope);
}
}
public String getTag() {
return this.tag;
}
public void setTag(String tag) {
this.tag = tag;
if(tag != null){
putQueryParameter("Tag", tag);
}
}
public String getExcludeFolderIdsScope() {
return this.excludeFolderIdsScope;
}
public void setExcludeFolderIdsScope(String excludeFolderIdsScope) {
this.excludeFolderIdsScope = excludeFolderIdsScope;
if(excludeFolderIdsScope != null){
putBodyParameter("ExcludeFolderIdsScope", excludeFolderIdsScope);
}
}
public String getResourceNameScope() {
return this.resourceNameScope;
}
public void setResourceNameScope(String resourceNameScope) {
this.resourceNameScope = resourceNameScope;
if(resourceNameScope != null){
putBodyParameter("ResourceNameScope", resourceNameScope);
}
}
public List<ExcludeTagsScope> getExcludeTagsScope() {
return this.excludeTagsScope;
}
public void setExcludeTagsScope(List<ExcludeTagsScope> excludeTagsScope) {
this.excludeTagsScope = excludeTagsScope;
if (excludeTagsScope != null) {
for (int depth1 = 0; depth1 < excludeTagsScope.size(); depth1++) {
if (excludeTagsScope.get(depth1) != null) {
putBodyParameter("ExcludeTagsScope." + (depth1 + 1) + ".TagValue" , excludeTagsScope.get(depth1).getTagValue());
putBodyParameter("ExcludeTagsScope." + (depth1 + 1) + ".TagKey" , excludeTagsScope.get(depth1).getTagKey());
}
}
}
}
public Integer getRiskLevel() {
return this.riskLevel;
}
public void setRiskLevel(Integer riskLevel) {
this.riskLevel = riskLevel;
if(riskLevel != null){
putBodyParameter("RiskLevel", riskLevel.toString());
}
}
public List<TagsScope> getTagsScope() {
return this.tagsScope;
}
public void setTagsScope(List<TagsScope> tagsScope) {
this.tagsScope = tagsScope;
if (tagsScope != null) {
for (int depth1 = 0; depth1 < tagsScope.size(); depth1++) {
if (tagsScope.get(depth1) != null) {
putBodyParameter("TagsScope." + (depth1 + 1) + ".TagValue" , tagsScope.get(depth1).getTagValue());
putBodyParameter("TagsScope." + (depth1 + 1) + ".TagKey" , tagsScope.get(depth1).getTagKey());
}
}
}
}
public String getResourceGroupIdsScope() {
return this.resourceGroupIdsScope;
}
public void setResourceGroupIdsScope(String resourceGroupIdsScope) {
this.resourceGroupIdsScope = resourceGroupIdsScope;
if(resourceGroupIdsScope != null){
putBodyParameter("ResourceGroupIdsScope", resourceGroupIdsScope);
}
}
public String getInputParameters() {
return this.inputParameters;
}
public void setInputParameters(String inputParameters) {
this.inputParameters = inputParameters;
if(inputParameters != null){
putBodyParameter("InputParameters", inputParameters);
}
}
public String getExcludeRegionIdsScope() {
return this.excludeRegionIdsScope;
}
public void setExcludeRegionIdsScope(String excludeRegionIdsScope) {
this.excludeRegionIdsScope = excludeRegionIdsScope;
if(excludeRegionIdsScope != null){
putBodyParameter("ExcludeRegionIdsScope", excludeRegionIdsScope);
}
}
public String getAccountIdsScope() {
return this.accountIdsScope;
}
public void setAccountIdsScope(String accountIdsScope) {
this.accountIdsScope = accountIdsScope;
if(accountIdsScope != null){
putBodyParameter("AccountIdsScope", accountIdsScope);
}
}
public String getConfigRuleName() {
return this.configRuleName;
}
public void setConfigRuleName(String configRuleName) {
this.configRuleName = configRuleName;
if(configRuleName != null){
putBodyParameter("ConfigRuleName", configRuleName);
}
}
public String getTagKeyLogicScope() {
return this.tagKeyLogicScope;
}
public void setTagKeyLogicScope(String tagKeyLogicScope) {
this.tagKeyLogicScope = tagKeyLogicScope;
if(tagKeyLogicScope != null){
putBodyParameter("TagKeyLogicScope", tagKeyLogicScope);
}
}
public String getMaximumExecutionFrequency() {
return this.maximumExecutionFrequency;
}
public void setMaximumExecutionFrequency(String maximumExecutionFrequency) {
this.maximumExecutionFrequency = maximumExecutionFrequency;
if(maximumExecutionFrequency != null){
putBodyParameter("MaximumExecutionFrequency", maximumExecutionFrequency);
}
}
public String getFolderIdsScope() {
return this.folderIdsScope;
}
public void setFolderIdsScope(String folderIdsScope) {
this.folderIdsScope = folderIdsScope;
if(folderIdsScope != null){
putBodyParameter("FolderIdsScope", folderIdsScope);
}
}
public String getExcludeResourceIdsScope() {
return this.excludeResourceIdsScope;
}
public void setExcludeResourceIdsScope(String excludeResourceIdsScope) {
this.excludeResourceIdsScope = excludeResourceIdsScope;
if(excludeResourceIdsScope != null){
putBodyParameter("ExcludeResourceIdsScope", excludeResourceIdsScope);
}
}
public static class ExcludeTagsScope {
private String tagValue;
private String tagKey;
public String getTagValue() {
return this.tagValue;
}
public void setTagValue(String tagValue) {
this.tagValue = tagValue;
}
public String getTagKey() {
return this.tagKey;
}
public void setTagKey(String tagKey) {
this.tagKey = tagKey;
}
}
public static class TagsScope {
private String tagValue;
private String tagKey;
public String getTagValue() {
return this.tagValue;
}
public void setTagValue(String tagValue) {
this.tagValue = tagValue;
}
public String getTagKey() {
return this.tagKey;
}
public void setTagKey(String tagKey) {
this.tagKey = tagKey;
}
}
@Override
public Class<UpdateAggregateConfigRuleResponse> getResponseClass() {
return UpdateAggregateConfigRuleResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/UpdateAggregateConfigRuleResponse.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.config.model.v20200907;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.config.transform.v20200907.UpdateAggregateConfigRuleResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateAggregateConfigRuleResponse extends AcsResponse {
private String configRuleId;
private String requestId;
public String getConfigRuleId() {
return this.configRuleId;
}
public void setConfigRuleId(String configRuleId) {
this.configRuleId = configRuleId;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public UpdateAggregateConfigRuleResponse getInstance(UnmarshallerContext context) {
return UpdateAggregateConfigRuleResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/UpdateAggregateRemediationRequest.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.config.model.v20200907;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.config.Endpoint;
/**
* @author auto create
* @version
*/
public class UpdateAggregateRemediationRequest extends RpcAcsRequest<UpdateAggregateRemediationResponse> {
private String remediationType;
private String remediationId;
private String aggregatorId;
private String sourceType;
private String remediationTemplateId;
private String params;
private String invokeType;
public UpdateAggregateRemediationRequest() {
super("Config", "2020-09-07", "UpdateAggregateRemediation", "config");
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 getRemediationType() {
return this.remediationType;
}
public void setRemediationType(String remediationType) {
this.remediationType = remediationType;
if(remediationType != null){
putBodyParameter("RemediationType", remediationType);
}
}
public String getRemediationId() {
return this.remediationId;
}
public void setRemediationId(String remediationId) {
this.remediationId = remediationId;
if(remediationId != null){
putBodyParameter("RemediationId", remediationId);
}
}
public String getAggregatorId() {
return this.aggregatorId;
}
public void setAggregatorId(String aggregatorId) {
this.aggregatorId = aggregatorId;
if(aggregatorId != null){
putBodyParameter("AggregatorId", aggregatorId);
}
}
public String getSourceType() {
return this.sourceType;
}
public void setSourceType(String sourceType) {
this.sourceType = sourceType;
if(sourceType != null){
putBodyParameter("SourceType", sourceType);
}
}
public String getRemediationTemplateId() {
return this.remediationTemplateId;
}
public void setRemediationTemplateId(String remediationTemplateId) {
this.remediationTemplateId = remediationTemplateId;
if(remediationTemplateId != null){
putBodyParameter("RemediationTemplateId", remediationTemplateId);
}
}
public String getParams() {
return this.params;
}
public void setParams(String params) {
this.params = params;
if(params != null){
putBodyParameter("Params", params);
}
}
public String getInvokeType() {
return this.invokeType;
}
public void setInvokeType(String invokeType) {
this.invokeType = invokeType;
if(invokeType != null){
putBodyParameter("InvokeType", invokeType);
}
}
@Override
public Class<UpdateAggregateRemediationResponse> getResponseClass() {
return UpdateAggregateRemediationResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/UpdateAggregateRemediationResponse.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.config.model.v20200907;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.config.transform.v20200907.UpdateAggregateRemediationResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateAggregateRemediationResponse extends AcsResponse {
private String requestId;
private String remediationId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getRemediationId() {
return this.remediationId;
}
public void setRemediationId(String remediationId) {
this.remediationId = remediationId;
}
@Override
public UpdateAggregateRemediationResponse getInstance(UnmarshallerContext context) {
return UpdateAggregateRemediationResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/UpdateAggregatorRequest.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.config.model.v20200907;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.config.Endpoint;
/**
* @author auto create
* @version
*/
public class UpdateAggregatorRequest extends RpcAcsRequest<UpdateAggregatorResponse> {
private String clientToken;
private String aggregatorName;
private String description;
private String aggregatorId;
private String folderId;
private String tag;
@SerializedName("aggregatorAccounts")
private List<AggregatorAccounts> aggregatorAccounts;
public UpdateAggregatorRequest() {
super("Config", "2020-09-07", "UpdateAggregator", "config");
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){
putBodyParameter("ClientToken", clientToken);
}
}
public String getAggregatorName() {
return this.aggregatorName;
}
public void setAggregatorName(String aggregatorName) {
this.aggregatorName = aggregatorName;
if(aggregatorName != null){
putBodyParameter("AggregatorName", aggregatorName);
}
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
if(description != null){
putBodyParameter("Description", description);
}
}
public String getAggregatorId() {
return this.aggregatorId;
}
public void setAggregatorId(String aggregatorId) {
this.aggregatorId = aggregatorId;
if(aggregatorId != null){
putBodyParameter("AggregatorId", aggregatorId);
}
}
public String getFolderId() {
return this.folderId;
}
public void setFolderId(String folderId) {
this.folderId = folderId;
if(folderId != null){
putBodyParameter("FolderId", folderId);
}
}
public String getTag() {
return this.tag;
}
public void setTag(String tag) {
this.tag = tag;
if(tag != null){
putQueryParameter("Tag", tag);
}
}
public List<AggregatorAccounts> getAggregatorAccounts() {
return this.aggregatorAccounts;
}
public void setAggregatorAccounts(List<AggregatorAccounts> aggregatorAccounts) {
this.aggregatorAccounts = aggregatorAccounts;
if (aggregatorAccounts != null) {
putBodyParameter("AggregatorAccounts" , new Gson().toJson(aggregatorAccounts));
}
}
public static class AggregatorAccounts {
@SerializedName("AccountId")
private Long accountId;
@SerializedName("AccountName")
private String accountName;
@SerializedName("AccountType")
private String accountType;
public Long getAccountId() {
return this.accountId;
}
public void setAccountId(Long accountId) {
this.accountId = accountId;
}
public String getAccountName() {
return this.accountName;
}
public void setAccountName(String accountName) {
this.accountName = accountName;
}
public String getAccountType() {
return this.accountType;
}
public void setAccountType(String accountType) {
this.accountType = accountType;
}
}
@Override
public Class<UpdateAggregatorResponse> getResponseClass() {
return UpdateAggregatorResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/UpdateAggregatorResponse.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.config.model.v20200907;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.config.transform.v20200907.UpdateAggregatorResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateAggregatorResponse extends AcsResponse {
private String requestId;
private String aggregatorId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getAggregatorId() {
return this.aggregatorId;
}
public void setAggregatorId(String aggregatorId) {
this.aggregatorId = aggregatorId;
}
@Override
public UpdateAggregatorResponse getInstance(UnmarshallerContext context) {
return UpdateAggregatorResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/UpdateCompliancePackRequest.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.config.model.v20200907;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.config.Endpoint;
/**
* @author auto create
* @version
*/
public class UpdateCompliancePackRequest extends RpcAcsRequest<UpdateCompliancePackResponse> {
private String tagKeyScope;
private String compliancePackName;
private String clientToken;
private String description;
private String excludeResourceGroupIdsScope;
private String tagValueScope;
private String regionIdsScope;
private String compliancePackId;
private String resourceIdsScope;
private String tag;
@SerializedName("configRules")
private List<ConfigRules> configRules;
private List<ExcludeTagsScope> excludeTagsScope;
private Integer riskLevel;
private List<TagsScope> tagsScope;
private String resourceGroupIdsScope;
private String excludeRegionIdsScope;
private String excludeResourceIdsScope;
public UpdateCompliancePackRequest() {
super("Config", "2020-09-07", "UpdateCompliancePack", "config");
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 getTagKeyScope() {
return this.tagKeyScope;
}
public void setTagKeyScope(String tagKeyScope) {
this.tagKeyScope = tagKeyScope;
if(tagKeyScope != null){
putBodyParameter("TagKeyScope", tagKeyScope);
}
}
public String getCompliancePackName() {
return this.compliancePackName;
}
public void setCompliancePackName(String compliancePackName) {
this.compliancePackName = compliancePackName;
if(compliancePackName != null){
putBodyParameter("CompliancePackName", compliancePackName);
}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putBodyParameter("ClientToken", clientToken);
}
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
if(description != null){
putBodyParameter("Description", description);
}
}
public String getExcludeResourceGroupIdsScope() {
return this.excludeResourceGroupIdsScope;
}
public void setExcludeResourceGroupIdsScope(String excludeResourceGroupIdsScope) {
this.excludeResourceGroupIdsScope = excludeResourceGroupIdsScope;
if(excludeResourceGroupIdsScope != null){
putBodyParameter("ExcludeResourceGroupIdsScope", excludeResourceGroupIdsScope);
}
}
public String getTagValueScope() {
return this.tagValueScope;
}
public void setTagValueScope(String tagValueScope) {
this.tagValueScope = tagValueScope;
if(tagValueScope != null){
putBodyParameter("TagValueScope", tagValueScope);
}
}
public String getRegionIdsScope() {
return this.regionIdsScope;
}
public void setRegionIdsScope(String regionIdsScope) {
this.regionIdsScope = regionIdsScope;
if(regionIdsScope != null){
putBodyParameter("RegionIdsScope", regionIdsScope);
}
}
public String getCompliancePackId() {
return this.compliancePackId;
}
public void setCompliancePackId(String compliancePackId) {
this.compliancePackId = compliancePackId;
if(compliancePackId != null){
putBodyParameter("CompliancePackId", compliancePackId);
}
}
public String getResourceIdsScope() {
return this.resourceIdsScope;
}
public void setResourceIdsScope(String resourceIdsScope) {
this.resourceIdsScope = resourceIdsScope;
if(resourceIdsScope != null){
putBodyParameter("ResourceIdsScope", resourceIdsScope);
}
}
public String getTag() {
return this.tag;
}
public void setTag(String tag) {
this.tag = tag;
if(tag != null){
putQueryParameter("Tag", tag);
}
}
public List<ConfigRules> getConfigRules() {
return this.configRules;
}
public void setConfigRules(List<ConfigRules> configRules) {
this.configRules = configRules;
if (configRules != null) {
putBodyParameter("ConfigRules" , new Gson().toJson(configRules));
}
}
public List<ExcludeTagsScope> getExcludeTagsScope() {
return this.excludeTagsScope;
}
public void setExcludeTagsScope(List<ExcludeTagsScope> excludeTagsScope) {
this.excludeTagsScope = excludeTagsScope;
if (excludeTagsScope != null) {
for (int depth1 = 0; depth1 < excludeTagsScope.size(); depth1++) {
if (excludeTagsScope.get(depth1) != null) {
putBodyParameter("ExcludeTagsScope." + (depth1 + 1) + ".TagValue" , excludeTagsScope.get(depth1).getTagValue());
putBodyParameter("ExcludeTagsScope." + (depth1 + 1) + ".TagKey" , excludeTagsScope.get(depth1).getTagKey());
}
}
}
}
public Integer getRiskLevel() {
return this.riskLevel;
}
public void setRiskLevel(Integer riskLevel) {
this.riskLevel = riskLevel;
if(riskLevel != null){
putBodyParameter("RiskLevel", riskLevel.toString());
}
}
public List<TagsScope> getTagsScope() {
return this.tagsScope;
}
public void setTagsScope(List<TagsScope> tagsScope) {
this.tagsScope = tagsScope;
if (tagsScope != null) {
for (int depth1 = 0; depth1 < tagsScope.size(); depth1++) {
if (tagsScope.get(depth1) != null) {
putBodyParameter("TagsScope." + (depth1 + 1) + ".TagValue" , tagsScope.get(depth1).getTagValue());
putBodyParameter("TagsScope." + (depth1 + 1) + ".TagKey" , tagsScope.get(depth1).getTagKey());
}
}
}
}
public String getResourceGroupIdsScope() {
return this.resourceGroupIdsScope;
}
public void setResourceGroupIdsScope(String resourceGroupIdsScope) {
this.resourceGroupIdsScope = resourceGroupIdsScope;
if(resourceGroupIdsScope != null){
putBodyParameter("ResourceGroupIdsScope", resourceGroupIdsScope);
}
}
public String getExcludeRegionIdsScope() {
return this.excludeRegionIdsScope;
}
public void setExcludeRegionIdsScope(String excludeRegionIdsScope) {
this.excludeRegionIdsScope = excludeRegionIdsScope;
if(excludeRegionIdsScope != null){
putBodyParameter("ExcludeRegionIdsScope", excludeRegionIdsScope);
}
}
public String getExcludeResourceIdsScope() {
return this.excludeResourceIdsScope;
}
public void setExcludeResourceIdsScope(String excludeResourceIdsScope) {
this.excludeResourceIdsScope = excludeResourceIdsScope;
if(excludeResourceIdsScope != null){
putBodyParameter("ExcludeResourceIdsScope", excludeResourceIdsScope);
}
}
public static class ConfigRules {
@SerializedName("ManagedRuleIdentifier")
private String managedRuleIdentifier;
@SerializedName("ConfigRuleParameters")
private List<ConfigRuleParametersItem> configRuleParameters;
@SerializedName("ConfigRuleId")
private String configRuleId;
@SerializedName("ConfigRuleName")
private String configRuleName;
@SerializedName("Description")
private String description;
@SerializedName("RiskLevel")
private Integer riskLevel;
public String getManagedRuleIdentifier() {
return this.managedRuleIdentifier;
}
public void setManagedRuleIdentifier(String managedRuleIdentifier) {
this.managedRuleIdentifier = managedRuleIdentifier;
}
public List<ConfigRuleParametersItem> getConfigRuleParameters() {
return this.configRuleParameters;
}
public void setConfigRuleParameters(List<ConfigRuleParametersItem> configRuleParameters) {
this.configRuleParameters = configRuleParameters;
}
public String getConfigRuleId() {
return this.configRuleId;
}
public void setConfigRuleId(String configRuleId) {
this.configRuleId = configRuleId;
}
public String getConfigRuleName() {
return this.configRuleName;
}
public void setConfigRuleName(String configRuleName) {
this.configRuleName = configRuleName;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public Integer getRiskLevel() {
return this.riskLevel;
}
public void setRiskLevel(Integer riskLevel) {
this.riskLevel = riskLevel;
}
public static class ConfigRuleParametersItem {
@SerializedName("ParameterValue")
private String parameterValue;
@SerializedName("ParameterName")
private String parameterName;
public String getParameterValue() {
return this.parameterValue;
}
public void setParameterValue(String parameterValue) {
this.parameterValue = parameterValue;
}
public String getParameterName() {
return this.parameterName;
}
public void setParameterName(String parameterName) {
this.parameterName = parameterName;
}
}
}
public static class ExcludeTagsScope {
private String tagValue;
private String tagKey;
public String getTagValue() {
return this.tagValue;
}
public void setTagValue(String tagValue) {
this.tagValue = tagValue;
}
public String getTagKey() {
return this.tagKey;
}
public void setTagKey(String tagKey) {
this.tagKey = tagKey;
}
}
public static class TagsScope {
private String tagValue;
private String tagKey;
public String getTagValue() {
return this.tagValue;
}
public void setTagValue(String tagValue) {
this.tagValue = tagValue;
}
public String getTagKey() {
return this.tagKey;
}
public void setTagKey(String tagKey) {
this.tagKey = tagKey;
}
}
@Override
public Class<UpdateCompliancePackResponse> getResponseClass() {
return UpdateCompliancePackResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/UpdateCompliancePackResponse.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.config.model.v20200907;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.config.transform.v20200907.UpdateCompliancePackResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateCompliancePackResponse extends AcsResponse {
private String compliancePackId;
private String requestId;
public String getCompliancePackId() {
return this.compliancePackId;
}
public void setCompliancePackId(String compliancePackId) {
this.compliancePackId = compliancePackId;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public UpdateCompliancePackResponse getInstance(UnmarshallerContext context) {
return UpdateCompliancePackResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/UpdateConfigDeliveryChannelRequest.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.config.model.v20200907;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.config.Endpoint;
/**
* @author auto create
* @version
*/
public class UpdateConfigDeliveryChannelRequest extends RpcAcsRequest<UpdateConfigDeliveryChannelResponse> {
private Boolean nonCompliantNotification;
private String clientToken;
private Boolean configurationSnapshot;
private String description;
private String deliveryChannelTargetArn;
private String deliveryChannelCondition;
private Boolean configurationItemChangeNotification;
private Boolean compliantSnapshot;
private String deliveryChannelName;
private String deliverySnapshotTime;
private String deliveryChannelId;
private String oversizedDataOSSTargetArn;
private Long status;
public UpdateConfigDeliveryChannelRequest() {
super("Config", "2020-09-07", "UpdateConfigDeliveryChannel", "config");
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 getNonCompliantNotification() {
return this.nonCompliantNotification;
}
public void setNonCompliantNotification(Boolean nonCompliantNotification) {
this.nonCompliantNotification = nonCompliantNotification;
if(nonCompliantNotification != null){
putQueryParameter("NonCompliantNotification", nonCompliantNotification.toString());
}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public Boolean getConfigurationSnapshot() {
return this.configurationSnapshot;
}
public void setConfigurationSnapshot(Boolean configurationSnapshot) {
this.configurationSnapshot = configurationSnapshot;
if(configurationSnapshot != null){
putQueryParameter("ConfigurationSnapshot", configurationSnapshot.toString());
}
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
if(description != null){
putQueryParameter("Description", description);
}
}
public String getDeliveryChannelTargetArn() {
return this.deliveryChannelTargetArn;
}
public void setDeliveryChannelTargetArn(String deliveryChannelTargetArn) {
this.deliveryChannelTargetArn = deliveryChannelTargetArn;
if(deliveryChannelTargetArn != null){
putQueryParameter("DeliveryChannelTargetArn", deliveryChannelTargetArn);
}
}
public String getDeliveryChannelCondition() {
return this.deliveryChannelCondition;
}
public void setDeliveryChannelCondition(String deliveryChannelCondition) {
this.deliveryChannelCondition = deliveryChannelCondition;
if(deliveryChannelCondition != null){
putQueryParameter("DeliveryChannelCondition", deliveryChannelCondition);
}
}
public Boolean getConfigurationItemChangeNotification() {
return this.configurationItemChangeNotification;
}
public void setConfigurationItemChangeNotification(Boolean configurationItemChangeNotification) {
this.configurationItemChangeNotification = configurationItemChangeNotification;
if(configurationItemChangeNotification != null){
putQueryParameter("ConfigurationItemChangeNotification", configurationItemChangeNotification.toString());
}
}
public Boolean getCompliantSnapshot() {
return this.compliantSnapshot;
}
public void setCompliantSnapshot(Boolean compliantSnapshot) {
this.compliantSnapshot = compliantSnapshot;
if(compliantSnapshot != null){
putQueryParameter("CompliantSnapshot", compliantSnapshot.toString());
}
}
public String getDeliveryChannelName() {
return this.deliveryChannelName;
}
public void setDeliveryChannelName(String deliveryChannelName) {
this.deliveryChannelName = deliveryChannelName;
if(deliveryChannelName != null){
putQueryParameter("DeliveryChannelName", deliveryChannelName);
}
}
public String getDeliverySnapshotTime() {
return this.deliverySnapshotTime;
}
public void setDeliverySnapshotTime(String deliverySnapshotTime) {
this.deliverySnapshotTime = deliverySnapshotTime;
if(deliverySnapshotTime != null){
putQueryParameter("DeliverySnapshotTime", deliverySnapshotTime);
}
}
public String getDeliveryChannelId() {
return this.deliveryChannelId;
}
public void setDeliveryChannelId(String deliveryChannelId) {
this.deliveryChannelId = deliveryChannelId;
if(deliveryChannelId != null){
putQueryParameter("DeliveryChannelId", deliveryChannelId);
}
}
public String getOversizedDataOSSTargetArn() {
return this.oversizedDataOSSTargetArn;
}
public void setOversizedDataOSSTargetArn(String oversizedDataOSSTargetArn) {
this.oversizedDataOSSTargetArn = oversizedDataOSSTargetArn;
if(oversizedDataOSSTargetArn != null){
putQueryParameter("OversizedDataOSSTargetArn", oversizedDataOSSTargetArn);
}
}
public Long getStatus() {
return this.status;
}
public void setStatus(Long status) {
this.status = status;
if(status != null){
putQueryParameter("Status", status.toString());
}
}
@Override
public Class<UpdateConfigDeliveryChannelResponse> getResponseClass() {
return UpdateConfigDeliveryChannelResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/UpdateConfigDeliveryChannelResponse.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.config.model.v20200907;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.config.transform.v20200907.UpdateConfigDeliveryChannelResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateConfigDeliveryChannelResponse extends AcsResponse {
private String requestId;
private String deliveryChannelId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getDeliveryChannelId() {
return this.deliveryChannelId;
}
public void setDeliveryChannelId(String deliveryChannelId) {
this.deliveryChannelId = deliveryChannelId;
}
@Override
public UpdateConfigDeliveryChannelResponse getInstance(UnmarshallerContext context) {
return UpdateConfigDeliveryChannelResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/UpdateConfigRuleRequest.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.config.model.v20200907;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.config.Endpoint;
/**
* @author auto create
* @version
*/
public class UpdateConfigRuleRequest extends RpcAcsRequest<UpdateConfigRuleResponse> {
private String configRuleId;
private String tagKeyScope;
private String clientToken;
private List<String> resourceTypesScope;
private String description;
private String excludeResourceGroupIdsScope;
private String configRuleTriggerTypes;
private String tagValueScope;
private String regionIdsScope;
private String resourceIdsScope;
private String tag;
private String resourceNameScope;
private List<ExcludeTagsScope> excludeTagsScope;
private Integer riskLevel;
private List<TagsScope> tagsScope;
private String resourceGroupIdsScope;
private String inputParameters;
private String excludeRegionIdsScope;
private String tagKeyLogicScope;
private String configRuleName;
private String maximumExecutionFrequency;
private String extendContent;
private String excludeResourceIdsScope;
public UpdateConfigRuleRequest() {
super("Config", "2020-09-07", "UpdateConfigRule", "config");
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 getConfigRuleId() {
return this.configRuleId;
}
public void setConfigRuleId(String configRuleId) {
this.configRuleId = configRuleId;
if(configRuleId != null){
putBodyParameter("ConfigRuleId", configRuleId);
}
}
public String getTagKeyScope() {
return this.tagKeyScope;
}
public void setTagKeyScope(String tagKeyScope) {
this.tagKeyScope = tagKeyScope;
if(tagKeyScope != null){
putBodyParameter("TagKeyScope", tagKeyScope);
}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putBodyParameter("ClientToken", clientToken);
}
}
public List<String> getResourceTypesScope() {
return this.resourceTypesScope;
}
public void setResourceTypesScope(List<String> resourceTypesScope) {
this.resourceTypesScope = resourceTypesScope;
if (resourceTypesScope != null) {
String resourceTypesScopeArrVal = "";
for(int depth1 = 0; depth1 < resourceTypesScope.size(); depth1++) {
resourceTypesScopeArrVal += resourceTypesScope.get(depth1) + ",";
}
if (resourceTypesScopeArrVal.length() > 0) {
resourceTypesScopeArrVal = resourceTypesScopeArrVal.substring(0, resourceTypesScopeArrVal.length() - 1);
}
putBodyParameter("ResourceTypesScope" , resourceTypesScopeArrVal);
}
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
if(description != null){
putBodyParameter("Description", description);
}
}
public String getExcludeResourceGroupIdsScope() {
return this.excludeResourceGroupIdsScope;
}
public void setExcludeResourceGroupIdsScope(String excludeResourceGroupIdsScope) {
this.excludeResourceGroupIdsScope = excludeResourceGroupIdsScope;
if(excludeResourceGroupIdsScope != null){
putBodyParameter("ExcludeResourceGroupIdsScope", excludeResourceGroupIdsScope);
}
}
public String getConfigRuleTriggerTypes() {
return this.configRuleTriggerTypes;
}
public void setConfigRuleTriggerTypes(String configRuleTriggerTypes) {
this.configRuleTriggerTypes = configRuleTriggerTypes;
if(configRuleTriggerTypes != null){
putBodyParameter("ConfigRuleTriggerTypes", configRuleTriggerTypes);
}
}
public String getTagValueScope() {
return this.tagValueScope;
}
public void setTagValueScope(String tagValueScope) {
this.tagValueScope = tagValueScope;
if(tagValueScope != null){
putBodyParameter("TagValueScope", tagValueScope);
}
}
public String getRegionIdsScope() {
return this.regionIdsScope;
}
public void setRegionIdsScope(String regionIdsScope) {
this.regionIdsScope = regionIdsScope;
if(regionIdsScope != null){
putBodyParameter("RegionIdsScope", regionIdsScope);
}
}
public String getResourceIdsScope() {
return this.resourceIdsScope;
}
public void setResourceIdsScope(String resourceIdsScope) {
this.resourceIdsScope = resourceIdsScope;
if(resourceIdsScope != null){
putBodyParameter("ResourceIdsScope", resourceIdsScope);
}
}
public String getTag() {
return this.tag;
}
public void setTag(String tag) {
this.tag = tag;
if(tag != null){
putQueryParameter("Tag", tag);
}
}
public String getResourceNameScope() {
return this.resourceNameScope;
}
public void setResourceNameScope(String resourceNameScope) {
this.resourceNameScope = resourceNameScope;
if(resourceNameScope != null){
putBodyParameter("ResourceNameScope", resourceNameScope);
}
}
public List<ExcludeTagsScope> getExcludeTagsScope() {
return this.excludeTagsScope;
}
public void setExcludeTagsScope(List<ExcludeTagsScope> excludeTagsScope) {
this.excludeTagsScope = excludeTagsScope;
if (excludeTagsScope != null) {
for (int depth1 = 0; depth1 < excludeTagsScope.size(); depth1++) {
if (excludeTagsScope.get(depth1) != null) {
putBodyParameter("ExcludeTagsScope." + (depth1 + 1) + ".TagValue" , excludeTagsScope.get(depth1).getTagValue());
putBodyParameter("ExcludeTagsScope." + (depth1 + 1) + ".TagKey" , excludeTagsScope.get(depth1).getTagKey());
}
}
}
}
public Integer getRiskLevel() {
return this.riskLevel;
}
public void setRiskLevel(Integer riskLevel) {
this.riskLevel = riskLevel;
if(riskLevel != null){
putBodyParameter("RiskLevel", riskLevel.toString());
}
}
public List<TagsScope> getTagsScope() {
return this.tagsScope;
}
public void setTagsScope(List<TagsScope> tagsScope) {
this.tagsScope = tagsScope;
if (tagsScope != null) {
for (int depth1 = 0; depth1 < tagsScope.size(); depth1++) {
if (tagsScope.get(depth1) != null) {
putBodyParameter("TagsScope." + (depth1 + 1) + ".TagValue" , tagsScope.get(depth1).getTagValue());
putBodyParameter("TagsScope." + (depth1 + 1) + ".TagKey" , tagsScope.get(depth1).getTagKey());
}
}
}
}
public String getResourceGroupIdsScope() {
return this.resourceGroupIdsScope;
}
public void setResourceGroupIdsScope(String resourceGroupIdsScope) {
this.resourceGroupIdsScope = resourceGroupIdsScope;
if(resourceGroupIdsScope != null){
putBodyParameter("ResourceGroupIdsScope", resourceGroupIdsScope);
}
}
public String getInputParameters() {
return this.inputParameters;
}
public void setInputParameters(String inputParameters) {
this.inputParameters = inputParameters;
if(inputParameters != null){
putBodyParameter("InputParameters", inputParameters);
}
}
public String getExcludeRegionIdsScope() {
return this.excludeRegionIdsScope;
}
public void setExcludeRegionIdsScope(String excludeRegionIdsScope) {
this.excludeRegionIdsScope = excludeRegionIdsScope;
if(excludeRegionIdsScope != null){
putBodyParameter("ExcludeRegionIdsScope", excludeRegionIdsScope);
}
}
public String getTagKeyLogicScope() {
return this.tagKeyLogicScope;
}
public void setTagKeyLogicScope(String tagKeyLogicScope) {
this.tagKeyLogicScope = tagKeyLogicScope;
if(tagKeyLogicScope != null){
putBodyParameter("TagKeyLogicScope", tagKeyLogicScope);
}
}
public String getConfigRuleName() {
return this.configRuleName;
}
public void setConfigRuleName(String configRuleName) {
this.configRuleName = configRuleName;
if(configRuleName != null){
putBodyParameter("ConfigRuleName", configRuleName);
}
}
public String getMaximumExecutionFrequency() {
return this.maximumExecutionFrequency;
}
public void setMaximumExecutionFrequency(String maximumExecutionFrequency) {
this.maximumExecutionFrequency = maximumExecutionFrequency;
if(maximumExecutionFrequency != null){
putBodyParameter("MaximumExecutionFrequency", maximumExecutionFrequency);
}
}
public String getExtendContent() {
return this.extendContent;
}
public void setExtendContent(String extendContent) {
this.extendContent = extendContent;
if(extendContent != null){
putBodyParameter("ExtendContent", extendContent);
}
}
public String getExcludeResourceIdsScope() {
return this.excludeResourceIdsScope;
}
public void setExcludeResourceIdsScope(String excludeResourceIdsScope) {
this.excludeResourceIdsScope = excludeResourceIdsScope;
if(excludeResourceIdsScope != null){
putBodyParameter("ExcludeResourceIdsScope", excludeResourceIdsScope);
}
}
public static class ExcludeTagsScope {
private String tagValue;
private String tagKey;
public String getTagValue() {
return this.tagValue;
}
public void setTagValue(String tagValue) {
this.tagValue = tagValue;
}
public String getTagKey() {
return this.tagKey;
}
public void setTagKey(String tagKey) {
this.tagKey = tagKey;
}
}
public static class TagsScope {
private String tagValue;
private String tagKey;
public String getTagValue() {
return this.tagValue;
}
public void setTagValue(String tagValue) {
this.tagValue = tagValue;
}
public String getTagKey() {
return this.tagKey;
}
public void setTagKey(String tagKey) {
this.tagKey = tagKey;
}
}
@Override
public Class<UpdateConfigRuleResponse> getResponseClass() {
return UpdateConfigRuleResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/UpdateConfigRuleResponse.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.config.model.v20200907;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.config.transform.v20200907.UpdateConfigRuleResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateConfigRuleResponse extends AcsResponse {
private String configRuleId;
private String requestId;
public String getConfigRuleId() {
return this.configRuleId;
}
public void setConfigRuleId(String configRuleId) {
this.configRuleId = configRuleId;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public UpdateConfigRuleResponse getInstance(UnmarshallerContext context) {
return UpdateConfigRuleResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/UpdateConfigurationRecorderRequest.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.config.model.v20200907;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.config.Endpoint;
/**
* @author auto create
* @version
*/
public class UpdateConfigurationRecorderRequest extends RpcAcsRequest<UpdateConfigurationRecorderResponse> {
private String resourceTypes;
public UpdateConfigurationRecorderRequest() {
super("Config", "2020-09-07", "UpdateConfigurationRecorder", "config");
setProtocol(ProtocolType.HTTPS);
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 getResourceTypes() {
return this.resourceTypes;
}
public void setResourceTypes(String resourceTypes) {
this.resourceTypes = resourceTypes;
if(resourceTypes != null){
putBodyParameter("ResourceTypes", resourceTypes);
}
}
@Override
public Class<UpdateConfigurationRecorderResponse> getResponseClass() {
return UpdateConfigurationRecorderResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/UpdateConfigurationRecorderResponse.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.config.model.v20200907;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.config.transform.v20200907.UpdateConfigurationRecorderResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateConfigurationRecorderResponse extends AcsResponse {
private String requestId;
private ConfigurationRecorder configurationRecorder;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public ConfigurationRecorder getConfigurationRecorder() {
return this.configurationRecorder;
}
public void setConfigurationRecorder(ConfigurationRecorder configurationRecorder) {
this.configurationRecorder = configurationRecorder;
}
public static class ConfigurationRecorder {
private String configurationRecorderStatus;
private List<String> resourceTypes;
public String getConfigurationRecorderStatus() {
return this.configurationRecorderStatus;
}
public void setConfigurationRecorderStatus(String configurationRecorderStatus) {
this.configurationRecorderStatus = configurationRecorderStatus;
}
public List<String> getResourceTypes() {
return this.resourceTypes;
}
public void setResourceTypes(List<String> resourceTypes) {
this.resourceTypes = resourceTypes;
}
}
@Override
public UpdateConfigurationRecorderResponse getInstance(UnmarshallerContext context) {
return UpdateConfigurationRecorderResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/UpdateDeliveryChannelRequest.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.config.model.v20200907;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.config.Endpoint;
/**
* @author auto create
* @version
*/
public class UpdateDeliveryChannelRequest extends RpcAcsRequest<UpdateDeliveryChannelResponse> {
private Boolean nonCompliantNotification;
private String clientToken;
private Boolean configurationSnapshot;
private String description;
private String deliveryChannelTargetArn;
private String deliveryChannelCondition;
private Boolean configurationItemChangeNotification;
private String deliveryChannelAssumeRoleArn;
private String deliveryChannelName;
private String deliveryChannelId;
private String oversizedDataOSSTargetArn;
private Long status;
public UpdateDeliveryChannelRequest() {
super("Config", "2020-09-07", "UpdateDeliveryChannel", "config");
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 getNonCompliantNotification() {
return this.nonCompliantNotification;
}
public void setNonCompliantNotification(Boolean nonCompliantNotification) {
this.nonCompliantNotification = nonCompliantNotification;
if(nonCompliantNotification != null){
putBodyParameter("NonCompliantNotification", nonCompliantNotification.toString());
}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putBodyParameter("ClientToken", clientToken);
}
}
public Boolean getConfigurationSnapshot() {
return this.configurationSnapshot;
}
public void setConfigurationSnapshot(Boolean configurationSnapshot) {
this.configurationSnapshot = configurationSnapshot;
if(configurationSnapshot != null){
putBodyParameter("ConfigurationSnapshot", configurationSnapshot.toString());
}
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
if(description != null){
putBodyParameter("Description", description);
}
}
public String getDeliveryChannelTargetArn() {
return this.deliveryChannelTargetArn;
}
public void setDeliveryChannelTargetArn(String deliveryChannelTargetArn) {
this.deliveryChannelTargetArn = deliveryChannelTargetArn;
if(deliveryChannelTargetArn != null){
putBodyParameter("DeliveryChannelTargetArn", deliveryChannelTargetArn);
}
}
public String getDeliveryChannelCondition() {
return this.deliveryChannelCondition;
}
public void setDeliveryChannelCondition(String deliveryChannelCondition) {
this.deliveryChannelCondition = deliveryChannelCondition;
if(deliveryChannelCondition != null){
putBodyParameter("DeliveryChannelCondition", deliveryChannelCondition);
}
}
public Boolean getConfigurationItemChangeNotification() {
return this.configurationItemChangeNotification;
}
public void setConfigurationItemChangeNotification(Boolean configurationItemChangeNotification) {
this.configurationItemChangeNotification = configurationItemChangeNotification;
if(configurationItemChangeNotification != null){
putBodyParameter("ConfigurationItemChangeNotification", configurationItemChangeNotification.toString());
}
}
public String getDeliveryChannelAssumeRoleArn() {
return this.deliveryChannelAssumeRoleArn;
}
public void setDeliveryChannelAssumeRoleArn(String deliveryChannelAssumeRoleArn) {
this.deliveryChannelAssumeRoleArn = deliveryChannelAssumeRoleArn;
if(deliveryChannelAssumeRoleArn != null){
putBodyParameter("DeliveryChannelAssumeRoleArn", deliveryChannelAssumeRoleArn);
}
}
public String getDeliveryChannelName() {
return this.deliveryChannelName;
}
public void setDeliveryChannelName(String deliveryChannelName) {
this.deliveryChannelName = deliveryChannelName;
if(deliveryChannelName != null){
putBodyParameter("DeliveryChannelName", deliveryChannelName);
}
}
public String getDeliveryChannelId() {
return this.deliveryChannelId;
}
public void setDeliveryChannelId(String deliveryChannelId) {
this.deliveryChannelId = deliveryChannelId;
if(deliveryChannelId != null){
putBodyParameter("DeliveryChannelId", deliveryChannelId);
}
}
public String getOversizedDataOSSTargetArn() {
return this.oversizedDataOSSTargetArn;
}
public void setOversizedDataOSSTargetArn(String oversizedDataOSSTargetArn) {
this.oversizedDataOSSTargetArn = oversizedDataOSSTargetArn;
if(oversizedDataOSSTargetArn != null){
putBodyParameter("OversizedDataOSSTargetArn", oversizedDataOSSTargetArn);
}
}
public Long getStatus() {
return this.status;
}
public void setStatus(Long status) {
this.status = status;
if(status != null){
putBodyParameter("Status", status.toString());
}
}
@Override
public Class<UpdateDeliveryChannelResponse> getResponseClass() {
return UpdateDeliveryChannelResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/UpdateDeliveryChannelResponse.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.config.model.v20200907;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.config.transform.v20200907.UpdateDeliveryChannelResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateDeliveryChannelResponse extends AcsResponse {
private String requestId;
private String deliveryChannelId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getDeliveryChannelId() {
return this.deliveryChannelId;
}
public void setDeliveryChannelId(String deliveryChannelId) {
this.deliveryChannelId = deliveryChannelId;
}
@Override
public UpdateDeliveryChannelResponse getInstance(UnmarshallerContext context) {
return UpdateDeliveryChannelResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/UpdateIntegratedServiceStatusRequest.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.config.model.v20200907;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.config.Endpoint;
/**
* @author auto create
* @version
*/
public class UpdateIntegratedServiceStatusRequest extends RpcAcsRequest<UpdateIntegratedServiceStatusResponse> {
private String integratedTypes;
private String aggregatorDeliveryDataType;
private String serviceCode;
private Boolean status;
public UpdateIntegratedServiceStatusRequest() {
super("Config", "2020-09-07", "UpdateIntegratedServiceStatus", "config");
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 getIntegratedTypes() {
return this.integratedTypes;
}
public void setIntegratedTypes(String integratedTypes) {
this.integratedTypes = integratedTypes;
if(integratedTypes != null){
putBodyParameter("IntegratedTypes", integratedTypes);
}
}
public String getAggregatorDeliveryDataType() {
return this.aggregatorDeliveryDataType;
}
public void setAggregatorDeliveryDataType(String aggregatorDeliveryDataType) {
this.aggregatorDeliveryDataType = aggregatorDeliveryDataType;
if(aggregatorDeliveryDataType != null){
putBodyParameter("AggregatorDeliveryDataType", aggregatorDeliveryDataType);
}
}
public String getServiceCode() {
return this.serviceCode;
}
public void setServiceCode(String serviceCode) {
this.serviceCode = serviceCode;
if(serviceCode != null){
putBodyParameter("ServiceCode", serviceCode);
}
}
public Boolean getStatus() {
return this.status;
}
public void setStatus(Boolean status) {
this.status = status;
if(status != null){
putBodyParameter("Status", status.toString());
}
}
@Override
public Class<UpdateIntegratedServiceStatusResponse> getResponseClass() {
return UpdateIntegratedServiceStatusResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/UpdateIntegratedServiceStatusResponse.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.config.model.v20200907;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.config.transform.v20200907.UpdateIntegratedServiceStatusResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateIntegratedServiceStatusResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public UpdateIntegratedServiceStatusResponse getInstance(UnmarshallerContext context) {
return UpdateIntegratedServiceStatusResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/UpdateRemediationRequest.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.config.model.v20200907;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.config.Endpoint;
/**
* @author auto create
* @version
*/
public class UpdateRemediationRequest extends RpcAcsRequest<UpdateRemediationResponse> {
private String remediationType;
private String clientToken;
private String remediationId;
private String sourceType;
private String remediationTemplateId;
private String params;
private String invokeType;
public UpdateRemediationRequest() {
super("Config", "2020-09-07", "UpdateRemediation", "config");
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 getRemediationType() {
return this.remediationType;
}
public void setRemediationType(String remediationType) {
this.remediationType = remediationType;
if(remediationType != null){
putBodyParameter("RemediationType", remediationType);
}
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putBodyParameter("ClientToken", clientToken);
}
}
public String getRemediationId() {
return this.remediationId;
}
public void setRemediationId(String remediationId) {
this.remediationId = remediationId;
if(remediationId != null){
putBodyParameter("RemediationId", remediationId);
}
}
public String getSourceType() {
return this.sourceType;
}
public void setSourceType(String sourceType) {
this.sourceType = sourceType;
if(sourceType != null){
putBodyParameter("SourceType", sourceType);
}
}
public String getRemediationTemplateId() {
return this.remediationTemplateId;
}
public void setRemediationTemplateId(String remediationTemplateId) {
this.remediationTemplateId = remediationTemplateId;
if(remediationTemplateId != null){
putBodyParameter("RemediationTemplateId", remediationTemplateId);
}
}
public String getParams() {
return this.params;
}
public void setParams(String params) {
this.params = params;
if(params != null){
putBodyParameter("Params", params);
}
}
public String getInvokeType() {
return this.invokeType;
}
public void setInvokeType(String invokeType) {
this.invokeType = invokeType;
if(invokeType != null){
putBodyParameter("InvokeType", invokeType);
}
}
@Override
public Class<UpdateRemediationResponse> getResponseClass() {
return UpdateRemediationResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/model/v20200907/UpdateRemediationResponse.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.config.model.v20200907;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.config.transform.v20200907.UpdateRemediationResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateRemediationResponse extends AcsResponse {
private String data;
private String requestId;
private String remediationId;
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getRemediationId() {
return this.remediationId;
}
public void setRemediationId(String remediationId) {
this.remediationId = remediationId;
}
@Override
public UpdateRemediationResponse getInstance(UnmarshallerContext context) {
return UpdateRemediationResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/ActiveAggregateConfigRulesResponseUnmarshaller.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.config.transform.v20200907;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.config.model.v20200907.ActiveAggregateConfigRulesResponse;
import com.aliyuncs.config.model.v20200907.ActiveAggregateConfigRulesResponse.OperateRuleResult;
import com.aliyuncs.config.model.v20200907.ActiveAggregateConfigRulesResponse.OperateRuleResult.OperateRuleItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ActiveAggregateConfigRulesResponseUnmarshaller {
public static ActiveAggregateConfigRulesResponse unmarshall(ActiveAggregateConfigRulesResponse activeAggregateConfigRulesResponse, UnmarshallerContext _ctx) {
activeAggregateConfigRulesResponse.setRequestId(_ctx.stringValue("ActiveAggregateConfigRulesResponse.RequestId"));
OperateRuleResult operateRuleResult = new OperateRuleResult();
List<OperateRuleItem> operateRuleItemList = new ArrayList<OperateRuleItem>();
for (int i = 0; i < _ctx.lengthValue("ActiveAggregateConfigRulesResponse.OperateRuleResult.OperateRuleItemList.Length"); i++) {
OperateRuleItem operateRuleItem = new OperateRuleItem();
operateRuleItem.setErrorCode(_ctx.stringValue("ActiveAggregateConfigRulesResponse.OperateRuleResult.OperateRuleItemList["+ i +"].ErrorCode"));
operateRuleItem.setSuccess(_ctx.booleanValue("ActiveAggregateConfigRulesResponse.OperateRuleResult.OperateRuleItemList["+ i +"].Success"));
operateRuleItem.setConfigRuleId(_ctx.stringValue("ActiveAggregateConfigRulesResponse.OperateRuleResult.OperateRuleItemList["+ i +"].ConfigRuleId"));
operateRuleItemList.add(operateRuleItem);
}
operateRuleResult.setOperateRuleItemList(operateRuleItemList);
activeAggregateConfigRulesResponse.setOperateRuleResult(operateRuleResult);
return activeAggregateConfigRulesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/ActiveConfigRulesResponseUnmarshaller.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.config.transform.v20200907;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.config.model.v20200907.ActiveConfigRulesResponse;
import com.aliyuncs.config.model.v20200907.ActiveConfigRulesResponse.OperateRuleResult;
import com.aliyuncs.config.model.v20200907.ActiveConfigRulesResponse.OperateRuleResult.OperateRuleItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ActiveConfigRulesResponseUnmarshaller {
public static ActiveConfigRulesResponse unmarshall(ActiveConfigRulesResponse activeConfigRulesResponse, UnmarshallerContext _ctx) {
activeConfigRulesResponse.setRequestId(_ctx.stringValue("ActiveConfigRulesResponse.RequestId"));
OperateRuleResult operateRuleResult = new OperateRuleResult();
List<OperateRuleItem> operateRuleItemList = new ArrayList<OperateRuleItem>();
for (int i = 0; i < _ctx.lengthValue("ActiveConfigRulesResponse.OperateRuleResult.OperateRuleItemList.Length"); i++) {
OperateRuleItem operateRuleItem = new OperateRuleItem();
operateRuleItem.setErrorCode(_ctx.stringValue("ActiveConfigRulesResponse.OperateRuleResult.OperateRuleItemList["+ i +"].ErrorCode"));
operateRuleItem.setSuccess(_ctx.booleanValue("ActiveConfigRulesResponse.OperateRuleResult.OperateRuleItemList["+ i +"].Success"));
operateRuleItem.setConfigRuleId(_ctx.stringValue("ActiveConfigRulesResponse.OperateRuleResult.OperateRuleItemList["+ i +"].ConfigRuleId"));
operateRuleItemList.add(operateRuleItem);
}
operateRuleResult.setOperateRuleItemList(operateRuleItemList);
activeConfigRulesResponse.setOperateRuleResult(operateRuleResult);
return activeConfigRulesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/AttachAggregateConfigRuleToCompliancePackResponseUnmarshaller.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.config.transform.v20200907;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.config.model.v20200907.AttachAggregateConfigRuleToCompliancePackResponse;
import com.aliyuncs.config.model.v20200907.AttachAggregateConfigRuleToCompliancePackResponse.OperateRuleResult;
import com.aliyuncs.config.model.v20200907.AttachAggregateConfigRuleToCompliancePackResponse.OperateRuleResult.OperateRuleItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class AttachAggregateConfigRuleToCompliancePackResponseUnmarshaller {
public static AttachAggregateConfigRuleToCompliancePackResponse unmarshall(AttachAggregateConfigRuleToCompliancePackResponse attachAggregateConfigRuleToCompliancePackResponse, UnmarshallerContext _ctx) {
attachAggregateConfigRuleToCompliancePackResponse.setRequestId(_ctx.stringValue("AttachAggregateConfigRuleToCompliancePackResponse.RequestId"));
OperateRuleResult operateRuleResult = new OperateRuleResult();
List<OperateRuleItem> operateRuleItemList = new ArrayList<OperateRuleItem>();
for (int i = 0; i < _ctx.lengthValue("AttachAggregateConfigRuleToCompliancePackResponse.OperateRuleResult.OperateRuleItemList.Length"); i++) {
OperateRuleItem operateRuleItem = new OperateRuleItem();
operateRuleItem.setErrorCode(_ctx.stringValue("AttachAggregateConfigRuleToCompliancePackResponse.OperateRuleResult.OperateRuleItemList["+ i +"].ErrorCode"));
operateRuleItem.setSuccess(_ctx.booleanValue("AttachAggregateConfigRuleToCompliancePackResponse.OperateRuleResult.OperateRuleItemList["+ i +"].Success"));
operateRuleItem.setConfigRuleId(_ctx.stringValue("AttachAggregateConfigRuleToCompliancePackResponse.OperateRuleResult.OperateRuleItemList["+ i +"].ConfigRuleId"));
operateRuleItemList.add(operateRuleItem);
}
operateRuleResult.setOperateRuleItemList(operateRuleItemList);
attachAggregateConfigRuleToCompliancePackResponse.setOperateRuleResult(operateRuleResult);
return attachAggregateConfigRuleToCompliancePackResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/AttachConfigRuleToCompliancePackResponseUnmarshaller.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.config.transform.v20200907;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.config.model.v20200907.AttachConfigRuleToCompliancePackResponse;
import com.aliyuncs.config.model.v20200907.AttachConfigRuleToCompliancePackResponse.OperateRuleResult;
import com.aliyuncs.config.model.v20200907.AttachConfigRuleToCompliancePackResponse.OperateRuleResult.OperateRuleItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class AttachConfigRuleToCompliancePackResponseUnmarshaller {
public static AttachConfigRuleToCompliancePackResponse unmarshall(AttachConfigRuleToCompliancePackResponse attachConfigRuleToCompliancePackResponse, UnmarshallerContext _ctx) {
attachConfigRuleToCompliancePackResponse.setRequestId(_ctx.stringValue("AttachConfigRuleToCompliancePackResponse.RequestId"));
OperateRuleResult operateRuleResult = new OperateRuleResult();
List<OperateRuleItem> operateRuleItemList = new ArrayList<OperateRuleItem>();
for (int i = 0; i < _ctx.lengthValue("AttachConfigRuleToCompliancePackResponse.OperateRuleResult.OperateRuleItemList.Length"); i++) {
OperateRuleItem operateRuleItem = new OperateRuleItem();
operateRuleItem.setErrorCode(_ctx.stringValue("AttachConfigRuleToCompliancePackResponse.OperateRuleResult.OperateRuleItemList["+ i +"].ErrorCode"));
operateRuleItem.setSuccess(_ctx.booleanValue("AttachConfigRuleToCompliancePackResponse.OperateRuleResult.OperateRuleItemList["+ i +"].Success"));
operateRuleItem.setConfigRuleId(_ctx.stringValue("AttachConfigRuleToCompliancePackResponse.OperateRuleResult.OperateRuleItemList["+ i +"].ConfigRuleId"));
operateRuleItemList.add(operateRuleItem);
}
operateRuleResult.setOperateRuleItemList(operateRuleItemList);
attachConfigRuleToCompliancePackResponse.setOperateRuleResult(operateRuleResult);
return attachConfigRuleToCompliancePackResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/CopyCompliancePacksResponseUnmarshaller.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.config.transform.v20200907;
import com.aliyuncs.config.model.v20200907.CopyCompliancePacksResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CopyCompliancePacksResponseUnmarshaller {
public static CopyCompliancePacksResponse unmarshall(CopyCompliancePacksResponse copyCompliancePacksResponse, UnmarshallerContext _ctx) {
copyCompliancePacksResponse.setRequestId(_ctx.stringValue("CopyCompliancePacksResponse.RequestId"));
copyCompliancePacksResponse.setCopyRulesResult(_ctx.booleanValue("CopyCompliancePacksResponse.CopyRulesResult"));
return copyCompliancePacksResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/CopyConfigRulesResponseUnmarshaller.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.config.transform.v20200907;
import com.aliyuncs.config.model.v20200907.CopyConfigRulesResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CopyConfigRulesResponseUnmarshaller {
public static CopyConfigRulesResponse unmarshall(CopyConfigRulesResponse copyConfigRulesResponse, UnmarshallerContext _ctx) {
copyConfigRulesResponse.setRequestId(_ctx.stringValue("CopyConfigRulesResponse.RequestId"));
copyConfigRulesResponse.setCopyRulesResult(_ctx.booleanValue("CopyConfigRulesResponse.CopyRulesResult"));
return copyConfigRulesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/CreateAdvancedSearchFileResponseUnmarshaller.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.config.transform.v20200907;
import com.aliyuncs.config.model.v20200907.CreateAdvancedSearchFileResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateAdvancedSearchFileResponseUnmarshaller {
public static CreateAdvancedSearchFileResponse unmarshall(CreateAdvancedSearchFileResponse createAdvancedSearchFileResponse, UnmarshallerContext _ctx) {
createAdvancedSearchFileResponse.setRequestId(_ctx.stringValue("CreateAdvancedSearchFileResponse.RequestId"));
createAdvancedSearchFileResponse.setSuccess(_ctx.booleanValue("CreateAdvancedSearchFileResponse.Success"));
return createAdvancedSearchFileResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/CreateAggregateAdvancedSearchFileResponseUnmarshaller.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.config.transform.v20200907;
import com.aliyuncs.config.model.v20200907.CreateAggregateAdvancedSearchFileResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateAggregateAdvancedSearchFileResponseUnmarshaller {
public static CreateAggregateAdvancedSearchFileResponse unmarshall(CreateAggregateAdvancedSearchFileResponse createAggregateAdvancedSearchFileResponse, UnmarshallerContext _ctx) {
createAggregateAdvancedSearchFileResponse.setRequestId(_ctx.stringValue("CreateAggregateAdvancedSearchFileResponse.RequestId"));
createAggregateAdvancedSearchFileResponse.setSuccess(_ctx.booleanValue("CreateAggregateAdvancedSearchFileResponse.Success"));
return createAggregateAdvancedSearchFileResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/CreateAggregateCompliancePackResponseUnmarshaller.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.config.transform.v20200907;
import com.aliyuncs.config.model.v20200907.CreateAggregateCompliancePackResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateAggregateCompliancePackResponseUnmarshaller {
public static CreateAggregateCompliancePackResponse unmarshall(CreateAggregateCompliancePackResponse createAggregateCompliancePackResponse, UnmarshallerContext _ctx) {
createAggregateCompliancePackResponse.setRequestId(_ctx.stringValue("CreateAggregateCompliancePackResponse.RequestId"));
createAggregateCompliancePackResponse.setCompliancePackId(_ctx.stringValue("CreateAggregateCompliancePackResponse.CompliancePackId"));
return createAggregateCompliancePackResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/CreateAggregateConfigDeliveryChannelResponseUnmarshaller.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.config.transform.v20200907;
import com.aliyuncs.config.model.v20200907.CreateAggregateConfigDeliveryChannelResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateAggregateConfigDeliveryChannelResponseUnmarshaller {
public static CreateAggregateConfigDeliveryChannelResponse unmarshall(CreateAggregateConfigDeliveryChannelResponse createAggregateConfigDeliveryChannelResponse, UnmarshallerContext _ctx) {
createAggregateConfigDeliveryChannelResponse.setRequestId(_ctx.stringValue("CreateAggregateConfigDeliveryChannelResponse.RequestId"));
createAggregateConfigDeliveryChannelResponse.setDeliveryChannelId(_ctx.stringValue("CreateAggregateConfigDeliveryChannelResponse.DeliveryChannelId"));
return createAggregateConfigDeliveryChannelResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/CreateAggregateConfigRuleResponseUnmarshaller.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.config.transform.v20200907;
import com.aliyuncs.config.model.v20200907.CreateAggregateConfigRuleResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateAggregateConfigRuleResponseUnmarshaller {
public static CreateAggregateConfigRuleResponse unmarshall(CreateAggregateConfigRuleResponse createAggregateConfigRuleResponse, UnmarshallerContext _ctx) {
createAggregateConfigRuleResponse.setRequestId(_ctx.stringValue("CreateAggregateConfigRuleResponse.RequestId"));
createAggregateConfigRuleResponse.setConfigRuleId(_ctx.stringValue("CreateAggregateConfigRuleResponse.ConfigRuleId"));
return createAggregateConfigRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/CreateAggregateRemediationResponseUnmarshaller.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.config.transform.v20200907;
import com.aliyuncs.config.model.v20200907.CreateAggregateRemediationResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateAggregateRemediationResponseUnmarshaller {
public static CreateAggregateRemediationResponse unmarshall(CreateAggregateRemediationResponse createAggregateRemediationResponse, UnmarshallerContext _ctx) {
createAggregateRemediationResponse.setRequestId(_ctx.stringValue("CreateAggregateRemediationResponse.RequestId"));
createAggregateRemediationResponse.setRemediationId(_ctx.stringValue("CreateAggregateRemediationResponse.RemediationId"));
return createAggregateRemediationResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/CreateAggregatorResponseUnmarshaller.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.config.transform.v20200907;
import com.aliyuncs.config.model.v20200907.CreateAggregatorResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateAggregatorResponseUnmarshaller {
public static CreateAggregatorResponse unmarshall(CreateAggregatorResponse createAggregatorResponse, UnmarshallerContext _ctx) {
createAggregatorResponse.setRequestId(_ctx.stringValue("CreateAggregatorResponse.RequestId"));
createAggregatorResponse.setAggregatorId(_ctx.stringValue("CreateAggregatorResponse.AggregatorId"));
return createAggregatorResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/CreateCompliancePackResponseUnmarshaller.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.config.transform.v20200907;
import com.aliyuncs.config.model.v20200907.CreateCompliancePackResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateCompliancePackResponseUnmarshaller {
public static CreateCompliancePackResponse unmarshall(CreateCompliancePackResponse createCompliancePackResponse, UnmarshallerContext _ctx) {
createCompliancePackResponse.setRequestId(_ctx.stringValue("CreateCompliancePackResponse.RequestId"));
createCompliancePackResponse.setCompliancePackId(_ctx.stringValue("CreateCompliancePackResponse.CompliancePackId"));
return createCompliancePackResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/CreateConfigDeliveryChannelResponseUnmarshaller.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.config.transform.v20200907;
import com.aliyuncs.config.model.v20200907.CreateConfigDeliveryChannelResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateConfigDeliveryChannelResponseUnmarshaller {
public static CreateConfigDeliveryChannelResponse unmarshall(CreateConfigDeliveryChannelResponse createConfigDeliveryChannelResponse, UnmarshallerContext _ctx) {
createConfigDeliveryChannelResponse.setRequestId(_ctx.stringValue("CreateConfigDeliveryChannelResponse.RequestId"));
createConfigDeliveryChannelResponse.setDeliveryChannelId(_ctx.stringValue("CreateConfigDeliveryChannelResponse.DeliveryChannelId"));
return createConfigDeliveryChannelResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/CreateConfigRuleResponseUnmarshaller.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.config.transform.v20200907;
import com.aliyuncs.config.model.v20200907.CreateConfigRuleResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateConfigRuleResponseUnmarshaller {
public static CreateConfigRuleResponse unmarshall(CreateConfigRuleResponse createConfigRuleResponse, UnmarshallerContext _ctx) {
createConfigRuleResponse.setRequestId(_ctx.stringValue("CreateConfigRuleResponse.RequestId"));
createConfigRuleResponse.setConfigRuleId(_ctx.stringValue("CreateConfigRuleResponse.ConfigRuleId"));
return createConfigRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/CreateDeliveryChannelResponseUnmarshaller.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.config.transform.v20200907;
import com.aliyuncs.config.model.v20200907.CreateDeliveryChannelResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateDeliveryChannelResponseUnmarshaller {
public static CreateDeliveryChannelResponse unmarshall(CreateDeliveryChannelResponse createDeliveryChannelResponse, UnmarshallerContext _ctx) {
createDeliveryChannelResponse.setRequestId(_ctx.stringValue("CreateDeliveryChannelResponse.RequestId"));
createDeliveryChannelResponse.setDeliveryChannelId(_ctx.stringValue("CreateDeliveryChannelResponse.DeliveryChannelId"));
return createDeliveryChannelResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/CreateRemediationResponseUnmarshaller.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.config.transform.v20200907;
import com.aliyuncs.config.model.v20200907.CreateRemediationResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateRemediationResponseUnmarshaller {
public static CreateRemediationResponse unmarshall(CreateRemediationResponse createRemediationResponse, UnmarshallerContext _ctx) {
createRemediationResponse.setRequestId(_ctx.stringValue("CreateRemediationResponse.RequestId"));
createRemediationResponse.setRemediationId(_ctx.stringValue("CreateRemediationResponse.RemediationId"));
return createRemediationResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/DeactiveAggregateConfigRulesResponseUnmarshaller.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.config.transform.v20200907;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.config.model.v20200907.DeactiveAggregateConfigRulesResponse;
import com.aliyuncs.config.model.v20200907.DeactiveAggregateConfigRulesResponse.OperateRuleResult;
import com.aliyuncs.config.model.v20200907.DeactiveAggregateConfigRulesResponse.OperateRuleResult.OperateRuleItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeactiveAggregateConfigRulesResponseUnmarshaller {
public static DeactiveAggregateConfigRulesResponse unmarshall(DeactiveAggregateConfigRulesResponse deactiveAggregateConfigRulesResponse, UnmarshallerContext _ctx) {
deactiveAggregateConfigRulesResponse.setRequestId(_ctx.stringValue("DeactiveAggregateConfigRulesResponse.RequestId"));
OperateRuleResult operateRuleResult = new OperateRuleResult();
List<OperateRuleItem> operateRuleItemList = new ArrayList<OperateRuleItem>();
for (int i = 0; i < _ctx.lengthValue("DeactiveAggregateConfigRulesResponse.OperateRuleResult.OperateRuleItemList.Length"); i++) {
OperateRuleItem operateRuleItem = new OperateRuleItem();
operateRuleItem.setErrorCode(_ctx.stringValue("DeactiveAggregateConfigRulesResponse.OperateRuleResult.OperateRuleItemList["+ i +"].ErrorCode"));
operateRuleItem.setSuccess(_ctx.booleanValue("DeactiveAggregateConfigRulesResponse.OperateRuleResult.OperateRuleItemList["+ i +"].Success"));
operateRuleItem.setConfigRuleId(_ctx.stringValue("DeactiveAggregateConfigRulesResponse.OperateRuleResult.OperateRuleItemList["+ i +"].ConfigRuleId"));
operateRuleItemList.add(operateRuleItem);
}
operateRuleResult.setOperateRuleItemList(operateRuleItemList);
deactiveAggregateConfigRulesResponse.setOperateRuleResult(operateRuleResult);
return deactiveAggregateConfigRulesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/DeactiveConfigRulesResponseUnmarshaller.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.config.transform.v20200907;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.config.model.v20200907.DeactiveConfigRulesResponse;
import com.aliyuncs.config.model.v20200907.DeactiveConfigRulesResponse.OperateRuleResult;
import com.aliyuncs.config.model.v20200907.DeactiveConfigRulesResponse.OperateRuleResult.OperateRuleItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeactiveConfigRulesResponseUnmarshaller {
public static DeactiveConfigRulesResponse unmarshall(DeactiveConfigRulesResponse deactiveConfigRulesResponse, UnmarshallerContext _ctx) {
deactiveConfigRulesResponse.setRequestId(_ctx.stringValue("DeactiveConfigRulesResponse.RequestId"));
OperateRuleResult operateRuleResult = new OperateRuleResult();
List<OperateRuleItem> operateRuleItemList = new ArrayList<OperateRuleItem>();
for (int i = 0; i < _ctx.lengthValue("DeactiveConfigRulesResponse.OperateRuleResult.OperateRuleItemList.Length"); i++) {
OperateRuleItem operateRuleItem = new OperateRuleItem();
operateRuleItem.setErrorCode(_ctx.stringValue("DeactiveConfigRulesResponse.OperateRuleResult.OperateRuleItemList["+ i +"].ErrorCode"));
operateRuleItem.setSuccess(_ctx.booleanValue("DeactiveConfigRulesResponse.OperateRuleResult.OperateRuleItemList["+ i +"].Success"));
operateRuleItem.setConfigRuleId(_ctx.stringValue("DeactiveConfigRulesResponse.OperateRuleResult.OperateRuleItemList["+ i +"].ConfigRuleId"));
operateRuleItemList.add(operateRuleItem);
}
operateRuleResult.setOperateRuleItemList(operateRuleItemList);
deactiveConfigRulesResponse.setOperateRuleResult(operateRuleResult);
return deactiveConfigRulesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/DeleteAggregateCompliancePacksResponseUnmarshaller.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.config.transform.v20200907;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.config.model.v20200907.DeleteAggregateCompliancePacksResponse;
import com.aliyuncs.config.model.v20200907.DeleteAggregateCompliancePacksResponse.OperateCompliancePacksResult;
import com.aliyuncs.config.model.v20200907.DeleteAggregateCompliancePacksResponse.OperateCompliancePacksResult.OperateCompliancePacksItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteAggregateCompliancePacksResponseUnmarshaller {
public static DeleteAggregateCompliancePacksResponse unmarshall(DeleteAggregateCompliancePacksResponse deleteAggregateCompliancePacksResponse, UnmarshallerContext _ctx) {
deleteAggregateCompliancePacksResponse.setRequestId(_ctx.stringValue("DeleteAggregateCompliancePacksResponse.RequestId"));
OperateCompliancePacksResult operateCompliancePacksResult = new OperateCompliancePacksResult();
List<OperateCompliancePacksItem> operateCompliancePacks = new ArrayList<OperateCompliancePacksItem>();
for (int i = 0; i < _ctx.lengthValue("DeleteAggregateCompliancePacksResponse.OperateCompliancePacksResult.OperateCompliancePacks.Length"); i++) {
OperateCompliancePacksItem operateCompliancePacksItem = new OperateCompliancePacksItem();
operateCompliancePacksItem.setCompliancePackId(_ctx.stringValue("DeleteAggregateCompliancePacksResponse.OperateCompliancePacksResult.OperateCompliancePacks["+ i +"].CompliancePackId"));
operateCompliancePacksItem.setErrorCode(_ctx.stringValue("DeleteAggregateCompliancePacksResponse.OperateCompliancePacksResult.OperateCompliancePacks["+ i +"].ErrorCode"));
operateCompliancePacksItem.setSuccess(_ctx.booleanValue("DeleteAggregateCompliancePacksResponse.OperateCompliancePacksResult.OperateCompliancePacks["+ i +"].Success"));
operateCompliancePacks.add(operateCompliancePacksItem);
}
operateCompliancePacksResult.setOperateCompliancePacks(operateCompliancePacks);
deleteAggregateCompliancePacksResponse.setOperateCompliancePacksResult(operateCompliancePacksResult);
return deleteAggregateCompliancePacksResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/DeleteAggregateConfigDeliveryChannelResponseUnmarshaller.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.config.transform.v20200907;
import com.aliyuncs.config.model.v20200907.DeleteAggregateConfigDeliveryChannelResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteAggregateConfigDeliveryChannelResponseUnmarshaller {
public static DeleteAggregateConfigDeliveryChannelResponse unmarshall(DeleteAggregateConfigDeliveryChannelResponse deleteAggregateConfigDeliveryChannelResponse, UnmarshallerContext _ctx) {
deleteAggregateConfigDeliveryChannelResponse.setRequestId(_ctx.stringValue("DeleteAggregateConfigDeliveryChannelResponse.RequestId"));
deleteAggregateConfigDeliveryChannelResponse.setDeliveryChannelId(_ctx.stringValue("DeleteAggregateConfigDeliveryChannelResponse.DeliveryChannelId"));
return deleteAggregateConfigDeliveryChannelResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/DeleteAggregateConfigRulesResponseUnmarshaller.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.config.transform.v20200907;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.config.model.v20200907.DeleteAggregateConfigRulesResponse;
import com.aliyuncs.config.model.v20200907.DeleteAggregateConfigRulesResponse.OperateRuleResult;
import com.aliyuncs.config.model.v20200907.DeleteAggregateConfigRulesResponse.OperateRuleResult.OperateRuleItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteAggregateConfigRulesResponseUnmarshaller {
public static DeleteAggregateConfigRulesResponse unmarshall(DeleteAggregateConfigRulesResponse deleteAggregateConfigRulesResponse, UnmarshallerContext _ctx) {
deleteAggregateConfigRulesResponse.setRequestId(_ctx.stringValue("DeleteAggregateConfigRulesResponse.RequestId"));
OperateRuleResult operateRuleResult = new OperateRuleResult();
List<OperateRuleItem> operateRuleItemList = new ArrayList<OperateRuleItem>();
for (int i = 0; i < _ctx.lengthValue("DeleteAggregateConfigRulesResponse.OperateRuleResult.OperateRuleItemList.Length"); i++) {
OperateRuleItem operateRuleItem = new OperateRuleItem();
operateRuleItem.setErrorCode(_ctx.stringValue("DeleteAggregateConfigRulesResponse.OperateRuleResult.OperateRuleItemList["+ i +"].ErrorCode"));
operateRuleItem.setSuccess(_ctx.booleanValue("DeleteAggregateConfigRulesResponse.OperateRuleResult.OperateRuleItemList["+ i +"].Success"));
operateRuleItem.setConfigRuleId(_ctx.stringValue("DeleteAggregateConfigRulesResponse.OperateRuleResult.OperateRuleItemList["+ i +"].ConfigRuleId"));
operateRuleItemList.add(operateRuleItem);
}
operateRuleResult.setOperateRuleItemList(operateRuleItemList);
deleteAggregateConfigRulesResponse.setOperateRuleResult(operateRuleResult);
return deleteAggregateConfigRulesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/DeleteAggregateRemediationsResponseUnmarshaller.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.config.transform.v20200907;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.config.model.v20200907.DeleteAggregateRemediationsResponse;
import com.aliyuncs.config.model.v20200907.DeleteAggregateRemediationsResponse.RemediationDeleteResult;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteAggregateRemediationsResponseUnmarshaller {
public static DeleteAggregateRemediationsResponse unmarshall(DeleteAggregateRemediationsResponse deleteAggregateRemediationsResponse, UnmarshallerContext _ctx) {
deleteAggregateRemediationsResponse.setRequestId(_ctx.stringValue("DeleteAggregateRemediationsResponse.RequestId"));
List<RemediationDeleteResult> remediationDeleteResults = new ArrayList<RemediationDeleteResult>();
for (int i = 0; i < _ctx.lengthValue("DeleteAggregateRemediationsResponse.RemediationDeleteResults.Length"); i++) {
RemediationDeleteResult remediationDeleteResult = new RemediationDeleteResult();
remediationDeleteResult.setRemediationId(_ctx.stringValue("DeleteAggregateRemediationsResponse.RemediationDeleteResults["+ i +"].RemediationId"));
remediationDeleteResult.setErrorMessage(_ctx.stringValue("DeleteAggregateRemediationsResponse.RemediationDeleteResults["+ i +"].ErrorMessage"));
remediationDeleteResult.setSuccess(_ctx.booleanValue("DeleteAggregateRemediationsResponse.RemediationDeleteResults["+ i +"].Success"));
remediationDeleteResults.add(remediationDeleteResult);
}
deleteAggregateRemediationsResponse.setRemediationDeleteResults(remediationDeleteResults);
return deleteAggregateRemediationsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/DeleteAggregatorsResponseUnmarshaller.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.config.transform.v20200907;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.config.model.v20200907.DeleteAggregatorsResponse;
import com.aliyuncs.config.model.v20200907.DeleteAggregatorsResponse.OperateAggregatorsResult;
import com.aliyuncs.config.model.v20200907.DeleteAggregatorsResponse.OperateAggregatorsResult.OperateAggregatorList;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteAggregatorsResponseUnmarshaller {
public static DeleteAggregatorsResponse unmarshall(DeleteAggregatorsResponse deleteAggregatorsResponse, UnmarshallerContext _ctx) {
deleteAggregatorsResponse.setRequestId(_ctx.stringValue("DeleteAggregatorsResponse.RequestId"));
OperateAggregatorsResult operateAggregatorsResult = new OperateAggregatorsResult();
List<OperateAggregatorList> operateAggregators = new ArrayList<OperateAggregatorList>();
for (int i = 0; i < _ctx.lengthValue("DeleteAggregatorsResponse.OperateAggregatorsResult.OperateAggregators.Length"); i++) {
OperateAggregatorList operateAggregatorList = new OperateAggregatorList();
operateAggregatorList.setErrorCode(_ctx.stringValue("DeleteAggregatorsResponse.OperateAggregatorsResult.OperateAggregators["+ i +"].ErrorCode"));
operateAggregatorList.setSuccess(_ctx.booleanValue("DeleteAggregatorsResponse.OperateAggregatorsResult.OperateAggregators["+ i +"].Success"));
operateAggregatorList.setAggregatorId(_ctx.stringValue("DeleteAggregatorsResponse.OperateAggregatorsResult.OperateAggregators["+ i +"].AggregatorId"));
operateAggregators.add(operateAggregatorList);
}
operateAggregatorsResult.setOperateAggregators(operateAggregators);
deleteAggregatorsResponse.setOperateAggregatorsResult(operateAggregatorsResult);
return deleteAggregatorsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/DeleteCompliancePacksResponseUnmarshaller.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.config.transform.v20200907;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.config.model.v20200907.DeleteCompliancePacksResponse;
import com.aliyuncs.config.model.v20200907.DeleteCompliancePacksResponse.OperateCompliancePacksResult;
import com.aliyuncs.config.model.v20200907.DeleteCompliancePacksResponse.OperateCompliancePacksResult.OperateCompliancePacksItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteCompliancePacksResponseUnmarshaller {
public static DeleteCompliancePacksResponse unmarshall(DeleteCompliancePacksResponse deleteCompliancePacksResponse, UnmarshallerContext _ctx) {
deleteCompliancePacksResponse.setRequestId(_ctx.stringValue("DeleteCompliancePacksResponse.RequestId"));
OperateCompliancePacksResult operateCompliancePacksResult = new OperateCompliancePacksResult();
List<OperateCompliancePacksItem> operateCompliancePacks = new ArrayList<OperateCompliancePacksItem>();
for (int i = 0; i < _ctx.lengthValue("DeleteCompliancePacksResponse.OperateCompliancePacksResult.OperateCompliancePacks.Length"); i++) {
OperateCompliancePacksItem operateCompliancePacksItem = new OperateCompliancePacksItem();
operateCompliancePacksItem.setCompliancePackId(_ctx.stringValue("DeleteCompliancePacksResponse.OperateCompliancePacksResult.OperateCompliancePacks["+ i +"].CompliancePackId"));
operateCompliancePacksItem.setErrorCode(_ctx.stringValue("DeleteCompliancePacksResponse.OperateCompliancePacksResult.OperateCompliancePacks["+ i +"].ErrorCode"));
operateCompliancePacksItem.setSuccess(_ctx.booleanValue("DeleteCompliancePacksResponse.OperateCompliancePacksResult.OperateCompliancePacks["+ i +"].Success"));
operateCompliancePacks.add(operateCompliancePacksItem);
}
operateCompliancePacksResult.setOperateCompliancePacks(operateCompliancePacks);
deleteCompliancePacksResponse.setOperateCompliancePacksResult(operateCompliancePacksResult);
return deleteCompliancePacksResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/DeleteConfigDeliveryChannelResponseUnmarshaller.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.config.transform.v20200907;
import com.aliyuncs.config.model.v20200907.DeleteConfigDeliveryChannelResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteConfigDeliveryChannelResponseUnmarshaller {
public static DeleteConfigDeliveryChannelResponse unmarshall(DeleteConfigDeliveryChannelResponse deleteConfigDeliveryChannelResponse, UnmarshallerContext _ctx) {
deleteConfigDeliveryChannelResponse.setRequestId(_ctx.stringValue("DeleteConfigDeliveryChannelResponse.RequestId"));
deleteConfigDeliveryChannelResponse.setDeliveryChannelId(_ctx.stringValue("DeleteConfigDeliveryChannelResponse.DeliveryChannelId"));
return deleteConfigDeliveryChannelResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/DeleteConfigRulesResponseUnmarshaller.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.config.transform.v20200907;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.config.model.v20200907.DeleteConfigRulesResponse;
import com.aliyuncs.config.model.v20200907.DeleteConfigRulesResponse.OperateRuleResult;
import com.aliyuncs.config.model.v20200907.DeleteConfigRulesResponse.OperateRuleResult.OperateRuleItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteConfigRulesResponseUnmarshaller {
public static DeleteConfigRulesResponse unmarshall(DeleteConfigRulesResponse deleteConfigRulesResponse, UnmarshallerContext _ctx) {
deleteConfigRulesResponse.setRequestId(_ctx.stringValue("DeleteConfigRulesResponse.RequestId"));
OperateRuleResult operateRuleResult = new OperateRuleResult();
List<OperateRuleItem> operateRuleItemList = new ArrayList<OperateRuleItem>();
for (int i = 0; i < _ctx.lengthValue("DeleteConfigRulesResponse.OperateRuleResult.OperateRuleItemList.Length"); i++) {
OperateRuleItem operateRuleItem = new OperateRuleItem();
operateRuleItem.setErrorCode(_ctx.stringValue("DeleteConfigRulesResponse.OperateRuleResult.OperateRuleItemList["+ i +"].ErrorCode"));
operateRuleItem.setSuccess(_ctx.booleanValue("DeleteConfigRulesResponse.OperateRuleResult.OperateRuleItemList["+ i +"].Success"));
operateRuleItem.setConfigRuleId(_ctx.stringValue("DeleteConfigRulesResponse.OperateRuleResult.OperateRuleItemList["+ i +"].ConfigRuleId"));
operateRuleItemList.add(operateRuleItem);
}
operateRuleResult.setOperateRuleItemList(operateRuleItemList);
deleteConfigRulesResponse.setOperateRuleResult(operateRuleResult);
return deleteConfigRulesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/DeleteRemediationsResponseUnmarshaller.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.config.transform.v20200907;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.config.model.v20200907.DeleteRemediationsResponse;
import com.aliyuncs.config.model.v20200907.DeleteRemediationsResponse.RemediationDeleteResult;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteRemediationsResponseUnmarshaller {
public static DeleteRemediationsResponse unmarshall(DeleteRemediationsResponse deleteRemediationsResponse, UnmarshallerContext _ctx) {
deleteRemediationsResponse.setRequestId(_ctx.stringValue("DeleteRemediationsResponse.RequestId"));
List<RemediationDeleteResult> remediationDeleteResults = new ArrayList<RemediationDeleteResult>();
for (int i = 0; i < _ctx.lengthValue("DeleteRemediationsResponse.RemediationDeleteResults.Length"); i++) {
RemediationDeleteResult remediationDeleteResult = new RemediationDeleteResult();
remediationDeleteResult.setRemediationId(_ctx.stringValue("DeleteRemediationsResponse.RemediationDeleteResults["+ i +"].RemediationId"));
remediationDeleteResult.setErrorMessage(_ctx.stringValue("DeleteRemediationsResponse.RemediationDeleteResults["+ i +"].ErrorMessage"));
remediationDeleteResult.setSuccess(_ctx.booleanValue("DeleteRemediationsResponse.RemediationDeleteResults["+ i +"].Success"));
remediationDeleteResults.add(remediationDeleteResult);
}
deleteRemediationsResponse.setRemediationDeleteResults(remediationDeleteResults);
return deleteRemediationsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/DescribeRemediationResponseUnmarshaller.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.config.transform.v20200907;
import com.aliyuncs.config.model.v20200907.DescribeRemediationResponse;
import com.aliyuncs.config.model.v20200907.DescribeRemediationResponse.Remediation;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeRemediationResponseUnmarshaller {
public static DescribeRemediationResponse unmarshall(DescribeRemediationResponse describeRemediationResponse, UnmarshallerContext _ctx) {
describeRemediationResponse.setRequestId(_ctx.stringValue("DescribeRemediationResponse.RequestId"));
Remediation remediation = new Remediation();
remediation.setLastSuccessfulInvocationType(_ctx.stringValue("DescribeRemediationResponse.Remediation.LastSuccessfulInvocationType"));
remediation.setRemediationTemplateId(_ctx.stringValue("DescribeRemediationResponse.Remediation.RemediationTemplateId"));
remediation.setRemediationDynamicParams(_ctx.stringValue("DescribeRemediationResponse.Remediation.RemediationDynamicParams"));
remediation.setRemediationOriginParams(_ctx.stringValue("DescribeRemediationResponse.Remediation.RemediationOriginParams"));
remediation.setRemediationId(_ctx.stringValue("DescribeRemediationResponse.Remediation.RemediationId"));
remediation.setRemediationSourceType(_ctx.stringValue("DescribeRemediationResponse.Remediation.RemediationSourceType"));
remediation.setRemediationType(_ctx.stringValue("DescribeRemediationResponse.Remediation.RemediationType"));
remediation.setLastSuccessfulInvocationId(_ctx.stringValue("DescribeRemediationResponse.Remediation.LastSuccessfulInvocationId"));
remediation.setAccountId(_ctx.longValue("DescribeRemediationResponse.Remediation.AccountId"));
remediation.setInvokeType(_ctx.stringValue("DescribeRemediationResponse.Remediation.InvokeType"));
remediation.setConfigRuleId(_ctx.stringValue("DescribeRemediationResponse.Remediation.ConfigRuleId"));
remediation.setLastSuccessfulInvocationTime(_ctx.longValue("DescribeRemediationResponse.Remediation.LastSuccessfulInvocationTime"));
describeRemediationResponse.setRemediation(remediation);
return describeRemediationResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/DetachAggregateConfigRuleToCompliancePackResponseUnmarshaller.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.config.transform.v20200907;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.config.model.v20200907.DetachAggregateConfigRuleToCompliancePackResponse;
import com.aliyuncs.config.model.v20200907.DetachAggregateConfigRuleToCompliancePackResponse.OperateRuleResult;
import com.aliyuncs.config.model.v20200907.DetachAggregateConfigRuleToCompliancePackResponse.OperateRuleResult.OperateRuleItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DetachAggregateConfigRuleToCompliancePackResponseUnmarshaller {
public static DetachAggregateConfigRuleToCompliancePackResponse unmarshall(DetachAggregateConfigRuleToCompliancePackResponse detachAggregateConfigRuleToCompliancePackResponse, UnmarshallerContext _ctx) {
detachAggregateConfigRuleToCompliancePackResponse.setRequestId(_ctx.stringValue("DetachAggregateConfigRuleToCompliancePackResponse.RequestId"));
OperateRuleResult operateRuleResult = new OperateRuleResult();
List<OperateRuleItem> operateRuleItemList = new ArrayList<OperateRuleItem>();
for (int i = 0; i < _ctx.lengthValue("DetachAggregateConfigRuleToCompliancePackResponse.OperateRuleResult.OperateRuleItemList.Length"); i++) {
OperateRuleItem operateRuleItem = new OperateRuleItem();
operateRuleItem.setErrorCode(_ctx.stringValue("DetachAggregateConfigRuleToCompliancePackResponse.OperateRuleResult.OperateRuleItemList["+ i +"].ErrorCode"));
operateRuleItem.setSuccess(_ctx.booleanValue("DetachAggregateConfigRuleToCompliancePackResponse.OperateRuleResult.OperateRuleItemList["+ i +"].Success"));
operateRuleItem.setConfigRuleId(_ctx.stringValue("DetachAggregateConfigRuleToCompliancePackResponse.OperateRuleResult.OperateRuleItemList["+ i +"].ConfigRuleId"));
operateRuleItemList.add(operateRuleItem);
}
operateRuleResult.setOperateRuleItemList(operateRuleItemList);
detachAggregateConfigRuleToCompliancePackResponse.setOperateRuleResult(operateRuleResult);
return detachAggregateConfigRuleToCompliancePackResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/DetachConfigRuleToCompliancePackResponseUnmarshaller.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.config.transform.v20200907;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.config.model.v20200907.DetachConfigRuleToCompliancePackResponse;
import com.aliyuncs.config.model.v20200907.DetachConfigRuleToCompliancePackResponse.OperateRuleResult;
import com.aliyuncs.config.model.v20200907.DetachConfigRuleToCompliancePackResponse.OperateRuleResult.OperateRuleItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DetachConfigRuleToCompliancePackResponseUnmarshaller {
public static DetachConfigRuleToCompliancePackResponse unmarshall(DetachConfigRuleToCompliancePackResponse detachConfigRuleToCompliancePackResponse, UnmarshallerContext _ctx) {
detachConfigRuleToCompliancePackResponse.setRequestId(_ctx.stringValue("DetachConfigRuleToCompliancePackResponse.RequestId"));
OperateRuleResult operateRuleResult = new OperateRuleResult();
List<OperateRuleItem> operateRuleItemList = new ArrayList<OperateRuleItem>();
for (int i = 0; i < _ctx.lengthValue("DetachConfigRuleToCompliancePackResponse.OperateRuleResult.OperateRuleItemList.Length"); i++) {
OperateRuleItem operateRuleItem = new OperateRuleItem();
operateRuleItem.setErrorCode(_ctx.stringValue("DetachConfigRuleToCompliancePackResponse.OperateRuleResult.OperateRuleItemList["+ i +"].ErrorCode"));
operateRuleItem.setSuccess(_ctx.booleanValue("DetachConfigRuleToCompliancePackResponse.OperateRuleResult.OperateRuleItemList["+ i +"].Success"));
operateRuleItem.setConfigRuleId(_ctx.stringValue("DetachConfigRuleToCompliancePackResponse.OperateRuleResult.OperateRuleItemList["+ i +"].ConfigRuleId"));
operateRuleItemList.add(operateRuleItem);
}
operateRuleResult.setOperateRuleItemList(operateRuleItemList);
detachConfigRuleToCompliancePackResponse.setOperateRuleResult(operateRuleResult);
return detachConfigRuleToCompliancePackResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/EvaluatePreConfigRulesResponseUnmarshaller.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.config.transform.v20200907;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.config.model.v20200907.EvaluatePreConfigRulesResponse;
import com.aliyuncs.config.model.v20200907.EvaluatePreConfigRulesResponse.ResourceEvaluation;
import com.aliyuncs.config.model.v20200907.EvaluatePreConfigRulesResponse.ResourceEvaluation.Rule;
import com.aliyuncs.transform.UnmarshallerContext;
public class EvaluatePreConfigRulesResponseUnmarshaller {
public static EvaluatePreConfigRulesResponse unmarshall(EvaluatePreConfigRulesResponse evaluatePreConfigRulesResponse, UnmarshallerContext _ctx) {
evaluatePreConfigRulesResponse.setRequestId(_ctx.stringValue("EvaluatePreConfigRulesResponse.RequestId"));
List<ResourceEvaluation> resourceEvaluations = new ArrayList<ResourceEvaluation>();
for (int i = 0; i < _ctx.lengthValue("EvaluatePreConfigRulesResponse.ResourceEvaluations.Length"); i++) {
ResourceEvaluation resourceEvaluation = new ResourceEvaluation();
resourceEvaluation.setResourceLogicalId(_ctx.stringValue("EvaluatePreConfigRulesResponse.ResourceEvaluations["+ i +"].ResourceLogicalId"));
resourceEvaluation.setResourceType(_ctx.stringValue("EvaluatePreConfigRulesResponse.ResourceEvaluations["+ i +"].ResourceType"));
List<Rule> rules = new ArrayList<Rule>();
for (int j = 0; j < _ctx.lengthValue("EvaluatePreConfigRulesResponse.ResourceEvaluations["+ i +"].Rules.Length"); j++) {
Rule rule = new Rule();
rule.setIdentifier(_ctx.stringValue("EvaluatePreConfigRulesResponse.ResourceEvaluations["+ i +"].Rules["+ j +"].Identifier"));
rule.setComplianceType(_ctx.stringValue("EvaluatePreConfigRulesResponse.ResourceEvaluations["+ i +"].Rules["+ j +"].ComplianceType"));
rule.setAnnotation(_ctx.stringValue("EvaluatePreConfigRulesResponse.ResourceEvaluations["+ i +"].Rules["+ j +"].Annotation"));
rule.setHelpUrl(_ctx.stringValue("EvaluatePreConfigRulesResponse.ResourceEvaluations["+ i +"].Rules["+ j +"].HelpUrl"));
rules.add(rule);
}
resourceEvaluation.setRules(rules);
resourceEvaluations.add(resourceEvaluation);
}
evaluatePreConfigRulesResponse.setResourceEvaluations(resourceEvaluations);
return evaluatePreConfigRulesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/GenerateAggregateCompliancePackReportResponseUnmarshaller.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.config.transform.v20200907;
import com.aliyuncs.config.model.v20200907.GenerateAggregateCompliancePackReportResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class GenerateAggregateCompliancePackReportResponseUnmarshaller {
public static GenerateAggregateCompliancePackReportResponse unmarshall(GenerateAggregateCompliancePackReportResponse generateAggregateCompliancePackReportResponse, UnmarshallerContext _ctx) {
generateAggregateCompliancePackReportResponse.setRequestId(_ctx.stringValue("GenerateAggregateCompliancePackReportResponse.RequestId"));
generateAggregateCompliancePackReportResponse.setCompliancePackId(_ctx.stringValue("GenerateAggregateCompliancePackReportResponse.CompliancePackId"));
return generateAggregateCompliancePackReportResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/GenerateAggregateConfigRulesReportResponseUnmarshaller.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.config.transform.v20200907;
import com.aliyuncs.config.model.v20200907.GenerateAggregateConfigRulesReportResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class GenerateAggregateConfigRulesReportResponseUnmarshaller {
public static GenerateAggregateConfigRulesReportResponse unmarshall(GenerateAggregateConfigRulesReportResponse generateAggregateConfigRulesReportResponse, UnmarshallerContext _ctx) {
generateAggregateConfigRulesReportResponse.setRequestId(_ctx.stringValue("GenerateAggregateConfigRulesReportResponse.RequestId"));
generateAggregateConfigRulesReportResponse.setAggregatorId(_ctx.stringValue("GenerateAggregateConfigRulesReportResponse.AggregatorId"));
generateAggregateConfigRulesReportResponse.setReportId(_ctx.stringValue("GenerateAggregateConfigRulesReportResponse.ReportId"));
return generateAggregateConfigRulesReportResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/GenerateAggregateResourceInventoryResponseUnmarshaller.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.config.transform.v20200907;
import com.aliyuncs.config.model.v20200907.GenerateAggregateResourceInventoryResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class GenerateAggregateResourceInventoryResponseUnmarshaller {
public static GenerateAggregateResourceInventoryResponse unmarshall(GenerateAggregateResourceInventoryResponse generateAggregateResourceInventoryResponse, UnmarshallerContext _ctx) {
generateAggregateResourceInventoryResponse.setRequestId(_ctx.stringValue("GenerateAggregateResourceInventoryResponse.RequestId"));
return generateAggregateResourceInventoryResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/GenerateCompliancePackReportResponseUnmarshaller.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.config.transform.v20200907;
import com.aliyuncs.config.model.v20200907.GenerateCompliancePackReportResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class GenerateCompliancePackReportResponseUnmarshaller {
public static GenerateCompliancePackReportResponse unmarshall(GenerateCompliancePackReportResponse generateCompliancePackReportResponse, UnmarshallerContext _ctx) {
generateCompliancePackReportResponse.setRequestId(_ctx.stringValue("GenerateCompliancePackReportResponse.RequestId"));
generateCompliancePackReportResponse.setCompliancePackId(_ctx.stringValue("GenerateCompliancePackReportResponse.CompliancePackId"));
return generateCompliancePackReportResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/GenerateConfigRulesReportResponseUnmarshaller.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.config.transform.v20200907;
import com.aliyuncs.config.model.v20200907.GenerateConfigRulesReportResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class GenerateConfigRulesReportResponseUnmarshaller {
public static GenerateConfigRulesReportResponse unmarshall(GenerateConfigRulesReportResponse generateConfigRulesReportResponse, UnmarshallerContext _ctx) {
generateConfigRulesReportResponse.setRequestId(_ctx.stringValue("GenerateConfigRulesReportResponse.RequestId"));
generateConfigRulesReportResponse.setReportId(_ctx.stringValue("GenerateConfigRulesReportResponse.ReportId"));
return generateConfigRulesReportResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/GenerateResourceInventoryResponseUnmarshaller.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.config.transform.v20200907;
import com.aliyuncs.config.model.v20200907.GenerateResourceInventoryResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class GenerateResourceInventoryResponseUnmarshaller {
public static GenerateResourceInventoryResponse unmarshall(GenerateResourceInventoryResponse generateResourceInventoryResponse, UnmarshallerContext _ctx) {
generateResourceInventoryResponse.setRequestId(_ctx.stringValue("GenerateResourceInventoryResponse.RequestId"));
return generateResourceInventoryResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/GetAdvancedSearchFileResponseUnmarshaller.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.config.transform.v20200907;
import com.aliyuncs.config.model.v20200907.GetAdvancedSearchFileResponse;
import com.aliyuncs.config.model.v20200907.GetAdvancedSearchFileResponse.ResourceSearch;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAdvancedSearchFileResponseUnmarshaller {
public static GetAdvancedSearchFileResponse unmarshall(GetAdvancedSearchFileResponse getAdvancedSearchFileResponse, UnmarshallerContext _ctx) {
getAdvancedSearchFileResponse.setRequestId(_ctx.stringValue("GetAdvancedSearchFileResponse.RequestId"));
ResourceSearch resourceSearch = new ResourceSearch();
resourceSearch.setDownloadUrl(_ctx.stringValue("GetAdvancedSearchFileResponse.ResourceSearch.DownloadUrl"));
resourceSearch.setStatus(_ctx.stringValue("GetAdvancedSearchFileResponse.ResourceSearch.Status"));
resourceSearch.setAccountId(_ctx.longValue("GetAdvancedSearchFileResponse.ResourceSearch.AccountId"));
resourceSearch.setResourceInventoryGenerateTime(_ctx.longValue("GetAdvancedSearchFileResponse.ResourceSearch.ResourceInventoryGenerateTime"));
getAdvancedSearchFileResponse.setResourceSearch(resourceSearch);
return getAdvancedSearchFileResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/GetAggregateAccountComplianceByPackResponseUnmarshaller.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.config.transform.v20200907;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.config.model.v20200907.GetAggregateAccountComplianceByPackResponse;
import com.aliyuncs.config.model.v20200907.GetAggregateAccountComplianceByPackResponse.AccountComplianceResult;
import com.aliyuncs.config.model.v20200907.GetAggregateAccountComplianceByPackResponse.AccountComplianceResult.AccountCompliancesItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAggregateAccountComplianceByPackResponseUnmarshaller {
public static GetAggregateAccountComplianceByPackResponse unmarshall(GetAggregateAccountComplianceByPackResponse getAggregateAccountComplianceByPackResponse, UnmarshallerContext _ctx) {
getAggregateAccountComplianceByPackResponse.setRequestId(_ctx.stringValue("GetAggregateAccountComplianceByPackResponse.RequestId"));
AccountComplianceResult accountComplianceResult = new AccountComplianceResult();
accountComplianceResult.setCompliancePackId(_ctx.stringValue("GetAggregateAccountComplianceByPackResponse.AccountComplianceResult.CompliancePackId"));
accountComplianceResult.setNonCompliantCount(_ctx.integerValue("GetAggregateAccountComplianceByPackResponse.AccountComplianceResult.NonCompliantCount"));
accountComplianceResult.setTotalCount(_ctx.integerValue("GetAggregateAccountComplianceByPackResponse.AccountComplianceResult.TotalCount"));
List<AccountCompliancesItem> accountCompliances = new ArrayList<AccountCompliancesItem>();
for (int i = 0; i < _ctx.lengthValue("GetAggregateAccountComplianceByPackResponse.AccountComplianceResult.AccountCompliances.Length"); i++) {
AccountCompliancesItem accountCompliancesItem = new AccountCompliancesItem();
accountCompliancesItem.setComplianceType(_ctx.stringValue("GetAggregateAccountComplianceByPackResponse.AccountComplianceResult.AccountCompliances["+ i +"].ComplianceType"));
accountCompliancesItem.setAccountId(_ctx.longValue("GetAggregateAccountComplianceByPackResponse.AccountComplianceResult.AccountCompliances["+ i +"].AccountId"));
accountCompliancesItem.setAccountName(_ctx.stringValue("GetAggregateAccountComplianceByPackResponse.AccountComplianceResult.AccountCompliances["+ i +"].AccountName"));
accountCompliances.add(accountCompliancesItem);
}
accountComplianceResult.setAccountCompliances(accountCompliances);
getAggregateAccountComplianceByPackResponse.setAccountComplianceResult(accountComplianceResult);
return getAggregateAccountComplianceByPackResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/GetAggregateAdvancedSearchFileResponseUnmarshaller.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.config.transform.v20200907;
import com.aliyuncs.config.model.v20200907.GetAggregateAdvancedSearchFileResponse;
import com.aliyuncs.config.model.v20200907.GetAggregateAdvancedSearchFileResponse.ResourceSearch;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAggregateAdvancedSearchFileResponseUnmarshaller {
public static GetAggregateAdvancedSearchFileResponse unmarshall(GetAggregateAdvancedSearchFileResponse getAggregateAdvancedSearchFileResponse, UnmarshallerContext _ctx) {
getAggregateAdvancedSearchFileResponse.setRequestId(_ctx.stringValue("GetAggregateAdvancedSearchFileResponse.RequestId"));
ResourceSearch resourceSearch = new ResourceSearch();
resourceSearch.setDownloadUrl(_ctx.stringValue("GetAggregateAdvancedSearchFileResponse.ResourceSearch.DownloadUrl"));
resourceSearch.setStatus(_ctx.stringValue("GetAggregateAdvancedSearchFileResponse.ResourceSearch.Status"));
resourceSearch.setAccountId(_ctx.longValue("GetAggregateAdvancedSearchFileResponse.ResourceSearch.AccountId"));
resourceSearch.setResourceInventoryGenerateTime(_ctx.longValue("GetAggregateAdvancedSearchFileResponse.ResourceSearch.ResourceInventoryGenerateTime"));
getAggregateAdvancedSearchFileResponse.setResourceSearch(resourceSearch);
return getAggregateAdvancedSearchFileResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/GetAggregateCompliancePackReportResponseUnmarshaller.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.config.transform.v20200907;
import com.aliyuncs.config.model.v20200907.GetAggregateCompliancePackReportResponse;
import com.aliyuncs.config.model.v20200907.GetAggregateCompliancePackReportResponse.CompliancePackReport;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAggregateCompliancePackReportResponseUnmarshaller {
public static GetAggregateCompliancePackReportResponse unmarshall(GetAggregateCompliancePackReportResponse getAggregateCompliancePackReportResponse, UnmarshallerContext _ctx) {
getAggregateCompliancePackReportResponse.setRequestId(_ctx.stringValue("GetAggregateCompliancePackReportResponse.RequestId"));
CompliancePackReport compliancePackReport = new CompliancePackReport();
compliancePackReport.setReportUrl(_ctx.stringValue("GetAggregateCompliancePackReportResponse.CompliancePackReport.ReportUrl"));
compliancePackReport.setReportStatus(_ctx.stringValue("GetAggregateCompliancePackReportResponse.CompliancePackReport.ReportStatus"));
compliancePackReport.setCompliancePackId(_ctx.stringValue("GetAggregateCompliancePackReportResponse.CompliancePackReport.CompliancePackId"));
compliancePackReport.setAccountId(_ctx.longValue("GetAggregateCompliancePackReportResponse.CompliancePackReport.AccountId"));
compliancePackReport.setReportCreateTimestamp(_ctx.longValue("GetAggregateCompliancePackReportResponse.CompliancePackReport.ReportCreateTimestamp"));
getAggregateCompliancePackReportResponse.setCompliancePackReport(compliancePackReport);
return getAggregateCompliancePackReportResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/GetAggregateCompliancePackResponseUnmarshaller.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.config.transform.v20200907;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.config.model.v20200907.GetAggregateCompliancePackResponse;
import com.aliyuncs.config.model.v20200907.GetAggregateCompliancePackResponse.CompliancePack;
import com.aliyuncs.config.model.v20200907.GetAggregateCompliancePackResponse.CompliancePack.ConfigRulesItem;
import com.aliyuncs.config.model.v20200907.GetAggregateCompliancePackResponse.CompliancePack.ConfigRulesItem.ConfigRuleParametersItem;
import com.aliyuncs.config.model.v20200907.GetAggregateCompliancePackResponse.CompliancePack.Scope;
import com.aliyuncs.config.model.v20200907.GetAggregateCompliancePackResponse.CompliancePack.Scope.ExcludeTagsScopeItem;
import com.aliyuncs.config.model.v20200907.GetAggregateCompliancePackResponse.CompliancePack.Scope.TagsScopeItem;
import com.aliyuncs.config.model.v20200907.GetAggregateCompliancePackResponse.CompliancePack.TagsItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAggregateCompliancePackResponseUnmarshaller {
public static GetAggregateCompliancePackResponse unmarshall(GetAggregateCompliancePackResponse getAggregateCompliancePackResponse, UnmarshallerContext _ctx) {
getAggregateCompliancePackResponse.setRequestId(_ctx.stringValue("GetAggregateCompliancePackResponse.RequestId"));
CompliancePack compliancePack = new CompliancePack();
compliancePack.setStatus(_ctx.stringValue("GetAggregateCompliancePackResponse.CompliancePack.Status"));
compliancePack.setRiskLevel(_ctx.integerValue("GetAggregateCompliancePackResponse.CompliancePack.RiskLevel"));
compliancePack.setCompliancePackId(_ctx.stringValue("GetAggregateCompliancePackResponse.CompliancePack.CompliancePackId"));
compliancePack.setDescription(_ctx.stringValue("GetAggregateCompliancePackResponse.CompliancePack.Description"));
compliancePack.setTemplateContent(_ctx.stringValue("GetAggregateCompliancePackResponse.CompliancePack.TemplateContent"));
compliancePack.setCompliancePackName(_ctx.stringValue("GetAggregateCompliancePackResponse.CompliancePack.CompliancePackName"));
compliancePack.setAccountId(_ctx.longValue("GetAggregateCompliancePackResponse.CompliancePack.AccountId"));
compliancePack.setAggregatorId(_ctx.stringValue("GetAggregateCompliancePackResponse.CompliancePack.AggregatorId"));
compliancePack.setCompliancePackTemplateId(_ctx.stringValue("GetAggregateCompliancePackResponse.CompliancePack.CompliancePackTemplateId"));
compliancePack.setCreateTimestamp(_ctx.longValue("GetAggregateCompliancePackResponse.CompliancePack.CreateTimestamp"));
Scope scope = new Scope();
scope.setExcludeRegionIdsScope(_ctx.stringValue("GetAggregateCompliancePackResponse.CompliancePack.Scope.ExcludeRegionIdsScope"));
scope.setResourceIdsScope(_ctx.stringValue("GetAggregateCompliancePackResponse.CompliancePack.Scope.ResourceIdsScope"));
scope.setExcludeResourceGroupIdsScope(_ctx.stringValue("GetAggregateCompliancePackResponse.CompliancePack.Scope.ExcludeResourceGroupIdsScope"));
scope.setTagKeyScope(_ctx.stringValue("GetAggregateCompliancePackResponse.CompliancePack.Scope.TagKeyScope"));
scope.setTagValueScope(_ctx.stringValue("GetAggregateCompliancePackResponse.CompliancePack.Scope.TagValueScope"));
scope.setRegionIdsScope(_ctx.stringValue("GetAggregateCompliancePackResponse.CompliancePack.Scope.RegionIdsScope"));
scope.setExcludeResourceIdsScope(_ctx.stringValue("GetAggregateCompliancePackResponse.CompliancePack.Scope.ExcludeResourceIdsScope"));
scope.setResourceGroupIdsScope(_ctx.stringValue("GetAggregateCompliancePackResponse.CompliancePack.Scope.ResourceGroupIdsScope"));
List<TagsScopeItem> tagsScope = new ArrayList<TagsScopeItem>();
for (int i = 0; i < _ctx.lengthValue("GetAggregateCompliancePackResponse.CompliancePack.Scope.TagsScope.Length"); i++) {
TagsScopeItem tagsScopeItem = new TagsScopeItem();
tagsScopeItem.setTagKey(_ctx.stringValue("GetAggregateCompliancePackResponse.CompliancePack.Scope.TagsScope["+ i +"].TagKey"));
tagsScopeItem.setTagValue(_ctx.stringValue("GetAggregateCompliancePackResponse.CompliancePack.Scope.TagsScope["+ i +"].TagValue"));
tagsScope.add(tagsScopeItem);
}
scope.setTagsScope(tagsScope);
List<ExcludeTagsScopeItem> excludeTagsScope = new ArrayList<ExcludeTagsScopeItem>();
for (int i = 0; i < _ctx.lengthValue("GetAggregateCompliancePackResponse.CompliancePack.Scope.ExcludeTagsScope.Length"); i++) {
ExcludeTagsScopeItem excludeTagsScopeItem = new ExcludeTagsScopeItem();
excludeTagsScopeItem.setTagKey(_ctx.stringValue("GetAggregateCompliancePackResponse.CompliancePack.Scope.ExcludeTagsScope["+ i +"].TagKey"));
excludeTagsScopeItem.setTagValue(_ctx.stringValue("GetAggregateCompliancePackResponse.CompliancePack.Scope.ExcludeTagsScope["+ i +"].TagValue"));
excludeTagsScope.add(excludeTagsScopeItem);
}
scope.setExcludeTagsScope(excludeTagsScope);
compliancePack.setScope(scope);
List<ConfigRulesItem> configRules = new ArrayList<ConfigRulesItem>();
for (int i = 0; i < _ctx.lengthValue("GetAggregateCompliancePackResponse.CompliancePack.ConfigRules.Length"); i++) {
ConfigRulesItem configRulesItem = new ConfigRulesItem();
configRulesItem.setManagedRuleIdentifier(_ctx.stringValue("GetAggregateCompliancePackResponse.CompliancePack.ConfigRules["+ i +"].ManagedRuleIdentifier"));
configRulesItem.setConfigRuleName(_ctx.stringValue("GetAggregateCompliancePackResponse.CompliancePack.ConfigRules["+ i +"].ConfigRuleName"));
configRulesItem.setConfigRuleId(_ctx.stringValue("GetAggregateCompliancePackResponse.CompliancePack.ConfigRules["+ i +"].ConfigRuleId"));
configRulesItem.setDescription(_ctx.stringValue("GetAggregateCompliancePackResponse.CompliancePack.ConfigRules["+ i +"].Description"));
configRulesItem.setRiskLevel(_ctx.integerValue("GetAggregateCompliancePackResponse.CompliancePack.ConfigRules["+ i +"].RiskLevel"));
configRulesItem.setResourceTypesScope(_ctx.stringValue("GetAggregateCompliancePackResponse.CompliancePack.ConfigRules["+ i +"].ResourceTypesScope"));
List<ConfigRuleParametersItem> configRuleParameters = new ArrayList<ConfigRuleParametersItem>();
for (int j = 0; j < _ctx.lengthValue("GetAggregateCompliancePackResponse.CompliancePack.ConfigRules["+ i +"].ConfigRuleParameters.Length"); j++) {
ConfigRuleParametersItem configRuleParametersItem = new ConfigRuleParametersItem();
configRuleParametersItem.setRequired(_ctx.booleanValue("GetAggregateCompliancePackResponse.CompliancePack.ConfigRules["+ i +"].ConfigRuleParameters["+ j +"].Required"));
configRuleParametersItem.setParameterName(_ctx.stringValue("GetAggregateCompliancePackResponse.CompliancePack.ConfigRules["+ i +"].ConfigRuleParameters["+ j +"].ParameterName"));
configRuleParametersItem.setParameterValue(_ctx.stringValue("GetAggregateCompliancePackResponse.CompliancePack.ConfigRules["+ i +"].ConfigRuleParameters["+ j +"].ParameterValue"));
configRuleParameters.add(configRuleParametersItem);
}
configRulesItem.setConfigRuleParameters(configRuleParameters);
configRules.add(configRulesItem);
}
compliancePack.setConfigRules(configRules);
List<TagsItem> tags = new ArrayList<TagsItem>();
for (int i = 0; i < _ctx.lengthValue("GetAggregateCompliancePackResponse.CompliancePack.Tags.Length"); i++) {
TagsItem tagsItem = new TagsItem();
tagsItem.setTagKey(_ctx.stringValue("GetAggregateCompliancePackResponse.CompliancePack.Tags["+ i +"].TagKey"));
tagsItem.setTagValue(_ctx.stringValue("GetAggregateCompliancePackResponse.CompliancePack.Tags["+ i +"].TagValue"));
tags.add(tagsItem);
}
compliancePack.setTags(tags);
getAggregateCompliancePackResponse.setCompliancePack(compliancePack);
return getAggregateCompliancePackResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/GetAggregateComplianceSummaryResponseUnmarshaller.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.config.transform.v20200907;
import com.aliyuncs.config.model.v20200907.GetAggregateComplianceSummaryResponse;
import com.aliyuncs.config.model.v20200907.GetAggregateComplianceSummaryResponse.ComplianceSummary;
import com.aliyuncs.config.model.v20200907.GetAggregateComplianceSummaryResponse.ComplianceSummary.ComplianceSummaryByConfigRule;
import com.aliyuncs.config.model.v20200907.GetAggregateComplianceSummaryResponse.ComplianceSummary.ComplianceSummaryByResource;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAggregateComplianceSummaryResponseUnmarshaller {
public static GetAggregateComplianceSummaryResponse unmarshall(GetAggregateComplianceSummaryResponse getAggregateComplianceSummaryResponse, UnmarshallerContext _ctx) {
getAggregateComplianceSummaryResponse.setRequestId(_ctx.stringValue("GetAggregateComplianceSummaryResponse.RequestId"));
ComplianceSummary complianceSummary = new ComplianceSummary();
ComplianceSummaryByResource complianceSummaryByResource = new ComplianceSummaryByResource();
complianceSummaryByResource.setCompliantCount(_ctx.integerValue("GetAggregateComplianceSummaryResponse.ComplianceSummary.ComplianceSummaryByResource.CompliantCount"));
complianceSummaryByResource.setNonCompliantCount(_ctx.integerValue("GetAggregateComplianceSummaryResponse.ComplianceSummary.ComplianceSummaryByResource.NonCompliantCount"));
complianceSummaryByResource.setComplianceSummaryTimestamp(_ctx.longValue("GetAggregateComplianceSummaryResponse.ComplianceSummary.ComplianceSummaryByResource.ComplianceSummaryTimestamp"));
complianceSummaryByResource.setTotalCount(_ctx.longValue("GetAggregateComplianceSummaryResponse.ComplianceSummary.ComplianceSummaryByResource.TotalCount"));
complianceSummary.setComplianceSummaryByResource(complianceSummaryByResource);
ComplianceSummaryByConfigRule complianceSummaryByConfigRule = new ComplianceSummaryByConfigRule();
complianceSummaryByConfigRule.setCompliantCount(_ctx.integerValue("GetAggregateComplianceSummaryResponse.ComplianceSummary.ComplianceSummaryByConfigRule.CompliantCount"));
complianceSummaryByConfigRule.setNonCompliantCount(_ctx.integerValue("GetAggregateComplianceSummaryResponse.ComplianceSummary.ComplianceSummaryByConfigRule.NonCompliantCount"));
complianceSummaryByConfigRule.setComplianceSummaryTimestamp(_ctx.longValue("GetAggregateComplianceSummaryResponse.ComplianceSummary.ComplianceSummaryByConfigRule.ComplianceSummaryTimestamp"));
complianceSummaryByConfigRule.setTotalCount(_ctx.longValue("GetAggregateComplianceSummaryResponse.ComplianceSummary.ComplianceSummaryByConfigRule.TotalCount"));
complianceSummary.setComplianceSummaryByConfigRule(complianceSummaryByConfigRule);
getAggregateComplianceSummaryResponse.setComplianceSummary(complianceSummary);
return getAggregateComplianceSummaryResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/GetAggregateConfigDeliveryChannelResponseUnmarshaller.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.config.transform.v20200907;
import com.aliyuncs.config.model.v20200907.GetAggregateConfigDeliveryChannelResponse;
import com.aliyuncs.config.model.v20200907.GetAggregateConfigDeliveryChannelResponse.DeliveryChannel;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAggregateConfigDeliveryChannelResponseUnmarshaller {
public static GetAggregateConfigDeliveryChannelResponse unmarshall(GetAggregateConfigDeliveryChannelResponse getAggregateConfigDeliveryChannelResponse, UnmarshallerContext _ctx) {
getAggregateConfigDeliveryChannelResponse.setRequestId(_ctx.stringValue("GetAggregateConfigDeliveryChannelResponse.RequestId"));
DeliveryChannel deliveryChannel = new DeliveryChannel();
deliveryChannel.setStatus(_ctx.integerValue("GetAggregateConfigDeliveryChannelResponse.DeliveryChannel.Status"));
deliveryChannel.setDeliveryChannelId(_ctx.stringValue("GetAggregateConfigDeliveryChannelResponse.DeliveryChannel.DeliveryChannelId"));
deliveryChannel.setDeliveryChannelName(_ctx.stringValue("GetAggregateConfigDeliveryChannelResponse.DeliveryChannel.DeliveryChannelName"));
deliveryChannel.setDeliveryChannelType(_ctx.stringValue("GetAggregateConfigDeliveryChannelResponse.DeliveryChannel.DeliveryChannelType"));
deliveryChannel.setDeliveryChannelTargetArn(_ctx.stringValue("GetAggregateConfigDeliveryChannelResponse.DeliveryChannel.DeliveryChannelTargetArn"));
deliveryChannel.setDeliveryChannelAssumeRoleArn(_ctx.stringValue("GetAggregateConfigDeliveryChannelResponse.DeliveryChannel.DeliveryChannelAssumeRoleArn"));
deliveryChannel.setDeliveryChannelCondition(_ctx.stringValue("GetAggregateConfigDeliveryChannelResponse.DeliveryChannel.DeliveryChannelCondition"));
deliveryChannel.setOversizedDataOSSTargetArn(_ctx.stringValue("GetAggregateConfigDeliveryChannelResponse.DeliveryChannel.OversizedDataOSSTargetArn"));
deliveryChannel.setDescription(_ctx.stringValue("GetAggregateConfigDeliveryChannelResponse.DeliveryChannel.Description"));
deliveryChannel.setCompliantSnapshot(_ctx.booleanValue("GetAggregateConfigDeliveryChannelResponse.DeliveryChannel.CompliantSnapshot"));
deliveryChannel.setConfigurationItemChangeNotification(_ctx.booleanValue("GetAggregateConfigDeliveryChannelResponse.DeliveryChannel.ConfigurationItemChangeNotification"));
deliveryChannel.setNonCompliantNotification(_ctx.booleanValue("GetAggregateConfigDeliveryChannelResponse.DeliveryChannel.NonCompliantNotification"));
deliveryChannel.setAggregatorId(_ctx.stringValue("GetAggregateConfigDeliveryChannelResponse.DeliveryChannel.AggregatorId"));
deliveryChannel.setAccountId(_ctx.stringValue("GetAggregateConfigDeliveryChannelResponse.DeliveryChannel.AccountId"));
deliveryChannel.setDeliverySnapshotTime(_ctx.stringValue("GetAggregateConfigDeliveryChannelResponse.DeliveryChannel.DeliverySnapshotTime"));
deliveryChannel.setConfigurationSnapshot(_ctx.booleanValue("GetAggregateConfigDeliveryChannelResponse.DeliveryChannel.ConfigurationSnapshot"));
getAggregateConfigDeliveryChannelResponse.setDeliveryChannel(deliveryChannel);
return getAggregateConfigDeliveryChannelResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/GetAggregateConfigRuleComplianceByPackResponseUnmarshaller.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.config.transform.v20200907;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.config.model.v20200907.GetAggregateConfigRuleComplianceByPackResponse;
import com.aliyuncs.config.model.v20200907.GetAggregateConfigRuleComplianceByPackResponse.ConfigRuleComplianceResult;
import com.aliyuncs.config.model.v20200907.GetAggregateConfigRuleComplianceByPackResponse.ConfigRuleComplianceResult.ConfigRuleCompliancesItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAggregateConfigRuleComplianceByPackResponseUnmarshaller {
public static GetAggregateConfigRuleComplianceByPackResponse unmarshall(GetAggregateConfigRuleComplianceByPackResponse getAggregateConfigRuleComplianceByPackResponse, UnmarshallerContext _ctx) {
getAggregateConfigRuleComplianceByPackResponse.setRequestId(_ctx.stringValue("GetAggregateConfigRuleComplianceByPackResponse.RequestId"));
ConfigRuleComplianceResult configRuleComplianceResult = new ConfigRuleComplianceResult();
configRuleComplianceResult.setCompliancePackId(_ctx.stringValue("GetAggregateConfigRuleComplianceByPackResponse.ConfigRuleComplianceResult.CompliancePackId"));
configRuleComplianceResult.setNonCompliantCount(_ctx.integerValue("GetAggregateConfigRuleComplianceByPackResponse.ConfigRuleComplianceResult.NonCompliantCount"));
configRuleComplianceResult.setTotalCount(_ctx.integerValue("GetAggregateConfigRuleComplianceByPackResponse.ConfigRuleComplianceResult.TotalCount"));
List<ConfigRuleCompliancesItem> configRuleCompliances = new ArrayList<ConfigRuleCompliancesItem>();
for (int i = 0; i < _ctx.lengthValue("GetAggregateConfigRuleComplianceByPackResponse.ConfigRuleComplianceResult.ConfigRuleCompliances.Length"); i++) {
ConfigRuleCompliancesItem configRuleCompliancesItem = new ConfigRuleCompliancesItem();
configRuleCompliancesItem.setComplianceType(_ctx.stringValue("GetAggregateConfigRuleComplianceByPackResponse.ConfigRuleComplianceResult.ConfigRuleCompliances["+ i +"].ComplianceType"));
configRuleCompliancesItem.setConfigRuleName(_ctx.stringValue("GetAggregateConfigRuleComplianceByPackResponse.ConfigRuleComplianceResult.ConfigRuleCompliances["+ i +"].ConfigRuleName"));
configRuleCompliancesItem.setConfigRuleId(_ctx.stringValue("GetAggregateConfigRuleComplianceByPackResponse.ConfigRuleComplianceResult.ConfigRuleCompliances["+ i +"].ConfigRuleId"));
configRuleCompliances.add(configRuleCompliancesItem);
}
configRuleComplianceResult.setConfigRuleCompliances(configRuleCompliances);
getAggregateConfigRuleComplianceByPackResponse.setConfigRuleComplianceResult(configRuleComplianceResult);
return getAggregateConfigRuleComplianceByPackResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/GetAggregateConfigRuleResponseUnmarshaller.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.config.transform.v20200907;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.config.model.v20200907.GetAggregateConfigRuleResponse;
import com.aliyuncs.config.model.v20200907.GetAggregateConfigRuleResponse.ConfigRule;
import com.aliyuncs.config.model.v20200907.GetAggregateConfigRuleResponse.ConfigRule.Compliance;
import com.aliyuncs.config.model.v20200907.GetAggregateConfigRuleResponse.ConfigRule.ConfigRuleEvaluationStatus;
import com.aliyuncs.config.model.v20200907.GetAggregateConfigRuleResponse.ConfigRule.CreateBy;
import com.aliyuncs.config.model.v20200907.GetAggregateConfigRuleResponse.ConfigRule.ExcludeTagsScopeItem;
import com.aliyuncs.config.model.v20200907.GetAggregateConfigRuleResponse.ConfigRule.ManagedRule;
import com.aliyuncs.config.model.v20200907.GetAggregateConfigRuleResponse.ConfigRule.ManagedRule.SourceDetailsItem2;
import com.aliyuncs.config.model.v20200907.GetAggregateConfigRuleResponse.ConfigRule.Scope;
import com.aliyuncs.config.model.v20200907.GetAggregateConfigRuleResponse.ConfigRule.Source;
import com.aliyuncs.config.model.v20200907.GetAggregateConfigRuleResponse.ConfigRule.Source.SourceDetailsItem;
import com.aliyuncs.config.model.v20200907.GetAggregateConfigRuleResponse.ConfigRule.TagsItem;
import com.aliyuncs.config.model.v20200907.GetAggregateConfigRuleResponse.ConfigRule.TagsScopeItem;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAggregateConfigRuleResponseUnmarshaller {
public static GetAggregateConfigRuleResponse unmarshall(GetAggregateConfigRuleResponse getAggregateConfigRuleResponse, UnmarshallerContext _ctx) {
getAggregateConfigRuleResponse.setRequestId(_ctx.stringValue("GetAggregateConfigRuleResponse.RequestId"));
ConfigRule configRule = new ConfigRule();
configRule.setRiskLevel(_ctx.integerValue("GetAggregateConfigRuleResponse.ConfigRule.RiskLevel"));
configRule.setInputParameters(_ctx.mapValue("GetAggregateConfigRuleResponse.ConfigRule.InputParameters"));
configRule.setConfigRuleState(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.ConfigRuleState"));
configRule.setMaximumExecutionFrequency(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.MaximumExecutionFrequency"));
configRule.setConfigRuleArn(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.ConfigRuleArn"));
configRule.setDescription(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.Description"));
configRule.setConfigRuleName(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.ConfigRuleName"));
configRule.setConfigRuleId(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.ConfigRuleId"));
configRule.setModifiedTimestamp(_ctx.longValue("GetAggregateConfigRuleResponse.ConfigRule.ModifiedTimestamp"));
configRule.setCreateTimestamp(_ctx.longValue("GetAggregateConfigRuleResponse.ConfigRule.CreateTimestamp"));
configRule.setResourceTypesScope(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.ResourceTypesScope"));
configRule.setExcludeRegionIdsScope(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.ExcludeRegionIdsScope"));
configRule.setRegionIdsScope(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.RegionIdsScope"));
configRule.setExcludeResourceIdsScope(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.ExcludeResourceIdsScope"));
configRule.setResourceIdsScope(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.ResourceIdsScope"));
configRule.setResourceGroupIdsScope(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.ResourceGroupIdsScope"));
configRule.setExcludeResourceGroupIdsScope(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.ExcludeResourceGroupIdsScope"));
configRule.setTagKeyScope(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.TagKeyScope"));
configRule.setTagValueScope(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.TagValueScope"));
configRule.setConfigRuleTriggerTypes(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.ConfigRuleTriggerTypes"));
configRule.setTagKeyLogicScope(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.TagKeyLogicScope"));
configRule.setFolderIdsScope(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.FolderIdsScope"));
configRule.setExcludeFolderIdsScope(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.ExcludeFolderIdsScope"));
configRule.setExcludeAccountIdsScope(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.ExcludeAccountIdsScope"));
configRule.setResourceNameScope(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.ResourceNameScope"));
configRule.setAccountId(_ctx.longValue("GetAggregateConfigRuleResponse.ConfigRule.AccountId"));
configRule.setServiceChannel(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.ServiceChannel"));
configRule.setExtendContent(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.ExtendContent"));
configRule.setAccountIdsScope(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.AccountIdsScope"));
Source source = new Source();
source.setOwner(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.Source.Owner"));
source.setIdentifier(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.Source.Identifier"));
source.setConditions(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.Source.Conditions"));
List<Map<Object, Object>> sourceConditions = _ctx.listMapValue("GetAggregateConfigRuleResponse.ConfigRule.Source.SourceConditions");
source.setSourceConditions(sourceConditions);
List<SourceDetailsItem> sourceDetails = new ArrayList<SourceDetailsItem>();
for (int i = 0; i < _ctx.lengthValue("GetAggregateConfigRuleResponse.ConfigRule.Source.SourceDetails.Length"); i++) {
SourceDetailsItem sourceDetailsItem = new SourceDetailsItem();
sourceDetailsItem.setMessageType(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.Source.SourceDetails["+ i +"].MessageType"));
sourceDetailsItem.setEventSource(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.Source.SourceDetails["+ i +"].EventSource"));
sourceDetailsItem.setMaximumExecutionFrequency(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.Source.SourceDetails["+ i +"].MaximumExecutionFrequency"));
sourceDetails.add(sourceDetailsItem);
}
source.setSourceDetails(sourceDetails);
configRule.setSource(source);
ManagedRule managedRule = new ManagedRule();
managedRule.setHelpUrl(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.ManagedRule.HelpUrl"));
managedRule.setDescription(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.ManagedRule.Description"));
managedRule.setIdentifier(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.ManagedRule.Identifier"));
managedRule.setOptionalInputParameterDetails(_ctx.mapValue("GetAggregateConfigRuleResponse.ConfigRule.ManagedRule.OptionalInputParameterDetails"));
managedRule.setManagedRuleName(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.ManagedRule.ManagedRuleName"));
managedRule.setCompulsoryInputParameterDetails(_ctx.mapValue("GetAggregateConfigRuleResponse.ConfigRule.ManagedRule.CompulsoryInputParameterDetails"));
List<String> labels = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("GetAggregateConfigRuleResponse.ConfigRule.ManagedRule.Labels.Length"); i++) {
labels.add(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.ManagedRule.Labels["+ i +"]"));
}
managedRule.setLabels(labels);
List<SourceDetailsItem2> sourceDetails1 = new ArrayList<SourceDetailsItem2>();
for (int i = 0; i < _ctx.lengthValue("GetAggregateConfigRuleResponse.ConfigRule.ManagedRule.SourceDetails.Length"); i++) {
SourceDetailsItem2 sourceDetailsItem2 = new SourceDetailsItem2();
sourceDetailsItem2.setMessageType(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.ManagedRule.SourceDetails["+ i +"].MessageType"));
sourceDetailsItem2.setEventSource(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.ManagedRule.SourceDetails["+ i +"].EventSource"));
sourceDetailsItem2.setMaximumExecutionFrequency(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.ManagedRule.SourceDetails["+ i +"].MaximumExecutionFrequency"));
sourceDetails1.add(sourceDetailsItem2);
}
managedRule.setSourceDetails1(sourceDetails1);
configRule.setManagedRule(managedRule);
CreateBy createBy = new CreateBy();
createBy.setCompliancePackId(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.CreateBy.CompliancePackId"));
createBy.setAggregatorName(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.CreateBy.AggregatorName"));
createBy.setCompliancePackName(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.CreateBy.CompliancePackName"));
createBy.setCreatorName(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.CreateBy.CreatorName"));
createBy.setCreatorType(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.CreateBy.CreatorType"));
createBy.setCreatorId(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.CreateBy.CreatorId"));
createBy.setAggregatorId(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.CreateBy.AggregatorId"));
configRule.setCreateBy(createBy);
ConfigRuleEvaluationStatus configRuleEvaluationStatus = new ConfigRuleEvaluationStatus();
configRuleEvaluationStatus.setLastErrorCode(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.ConfigRuleEvaluationStatus.LastErrorCode"));
configRuleEvaluationStatus.setLastSuccessfulEvaluationTimestamp(_ctx.longValue("GetAggregateConfigRuleResponse.ConfigRule.ConfigRuleEvaluationStatus.LastSuccessfulEvaluationTimestamp"));
configRuleEvaluationStatus.setFirstActivatedTimestamp(_ctx.longValue("GetAggregateConfigRuleResponse.ConfigRule.ConfigRuleEvaluationStatus.FirstActivatedTimestamp"));
configRuleEvaluationStatus.setFirstEvaluationStarted(_ctx.booleanValue("GetAggregateConfigRuleResponse.ConfigRule.ConfigRuleEvaluationStatus.FirstEvaluationStarted"));
configRuleEvaluationStatus.setLastSuccessfulInvocationTimestamp(_ctx.longValue("GetAggregateConfigRuleResponse.ConfigRule.ConfigRuleEvaluationStatus.LastSuccessfulInvocationTimestamp"));
configRuleEvaluationStatus.setLastErrorMessage(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.ConfigRuleEvaluationStatus.LastErrorMessage"));
configRuleEvaluationStatus.setLastFailedEvaluationTimestamp(_ctx.longValue("GetAggregateConfigRuleResponse.ConfigRule.ConfigRuleEvaluationStatus.LastFailedEvaluationTimestamp"));
configRuleEvaluationStatus.setLastFailedInvocationTimestamp(_ctx.longValue("GetAggregateConfigRuleResponse.ConfigRule.ConfigRuleEvaluationStatus.LastFailedInvocationTimestamp"));
configRule.setConfigRuleEvaluationStatus(configRuleEvaluationStatus);
Scope scope = new Scope();
List<String> complianceResourceTypes = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("GetAggregateConfigRuleResponse.ConfigRule.Scope.ComplianceResourceTypes.Length"); i++) {
complianceResourceTypes.add(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.Scope.ComplianceResourceTypes["+ i +"]"));
}
scope.setComplianceResourceTypes(complianceResourceTypes);
configRule.setScope(scope);
Compliance compliance = new Compliance();
compliance.setComplianceType(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.Compliance.ComplianceType"));
compliance.setCount(_ctx.integerValue("GetAggregateConfigRuleResponse.ConfigRule.Compliance.Count"));
configRule.setCompliance(compliance);
List<TagsScopeItem> tagsScope = new ArrayList<TagsScopeItem>();
for (int i = 0; i < _ctx.lengthValue("GetAggregateConfigRuleResponse.ConfigRule.TagsScope.Length"); i++) {
TagsScopeItem tagsScopeItem = new TagsScopeItem();
tagsScopeItem.setTagKey(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.TagsScope["+ i +"].TagKey"));
tagsScopeItem.setTagValue(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.TagsScope["+ i +"].TagValue"));
tagsScope.add(tagsScopeItem);
}
configRule.setTagsScope(tagsScope);
List<ExcludeTagsScopeItem> excludeTagsScope = new ArrayList<ExcludeTagsScopeItem>();
for (int i = 0; i < _ctx.lengthValue("GetAggregateConfigRuleResponse.ConfigRule.ExcludeTagsScope.Length"); i++) {
ExcludeTagsScopeItem excludeTagsScopeItem = new ExcludeTagsScopeItem();
excludeTagsScopeItem.setTagKey(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.ExcludeTagsScope["+ i +"].TagKey"));
excludeTagsScopeItem.setTagValue(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.ExcludeTagsScope["+ i +"].TagValue"));
excludeTagsScope.add(excludeTagsScopeItem);
}
configRule.setExcludeTagsScope(excludeTagsScope);
List<TagsItem> tags = new ArrayList<TagsItem>();
for (int i = 0; i < _ctx.lengthValue("GetAggregateConfigRuleResponse.ConfigRule.Tags.Length"); i++) {
TagsItem tagsItem = new TagsItem();
tagsItem.setTagKey(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.Tags["+ i +"].TagKey"));
tagsItem.setTagValue(_ctx.stringValue("GetAggregateConfigRuleResponse.ConfigRule.Tags["+ i +"].TagValue"));
tags.add(tagsItem);
}
configRule.setTags(tags);
getAggregateConfigRuleResponse.setConfigRule(configRule);
return getAggregateConfigRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/GetAggregateConfigRuleSummaryByRiskLevelResponseUnmarshaller.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.config.transform.v20200907;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.config.model.v20200907.GetAggregateConfigRuleSummaryByRiskLevelResponse;
import com.aliyuncs.config.model.v20200907.GetAggregateConfigRuleSummaryByRiskLevelResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAggregateConfigRuleSummaryByRiskLevelResponseUnmarshaller {
public static GetAggregateConfigRuleSummaryByRiskLevelResponse unmarshall(GetAggregateConfigRuleSummaryByRiskLevelResponse getAggregateConfigRuleSummaryByRiskLevelResponse, UnmarshallerContext _ctx) {
getAggregateConfigRuleSummaryByRiskLevelResponse.setRequestId(_ctx.stringValue("GetAggregateConfigRuleSummaryByRiskLevelResponse.RequestId"));
List<Data> configRuleSummaries = new ArrayList<Data>();
for (int i = 0; i < _ctx.lengthValue("GetAggregateConfigRuleSummaryByRiskLevelResponse.ConfigRuleSummaries.Length"); i++) {
Data data = new Data();
data.setCompliantCount(_ctx.integerValue("GetAggregateConfigRuleSummaryByRiskLevelResponse.ConfigRuleSummaries["+ i +"].CompliantCount"));
data.setNonCompliantCount(_ctx.integerValue("GetAggregateConfigRuleSummaryByRiskLevelResponse.ConfigRuleSummaries["+ i +"].NonCompliantCount"));
data.setRiskLevel(_ctx.integerValue("GetAggregateConfigRuleSummaryByRiskLevelResponse.ConfigRuleSummaries["+ i +"].RiskLevel"));
configRuleSummaries.add(data);
}
getAggregateConfigRuleSummaryByRiskLevelResponse.setConfigRuleSummaries(configRuleSummaries);
return getAggregateConfigRuleSummaryByRiskLevelResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/GetAggregateConfigRulesReportResponseUnmarshaller.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.config.transform.v20200907;
import com.aliyuncs.config.model.v20200907.GetAggregateConfigRulesReportResponse;
import com.aliyuncs.config.model.v20200907.GetAggregateConfigRulesReportResponse.ConfigRulesReport;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAggregateConfigRulesReportResponseUnmarshaller {
public static GetAggregateConfigRulesReportResponse unmarshall(GetAggregateConfigRulesReportResponse getAggregateConfigRulesReportResponse, UnmarshallerContext _ctx) {
getAggregateConfigRulesReportResponse.setRequestId(_ctx.stringValue("GetAggregateConfigRulesReportResponse.RequestId"));
ConfigRulesReport configRulesReport = new ConfigRulesReport();
configRulesReport.setReportUrl(_ctx.stringValue("GetAggregateConfigRulesReportResponse.ConfigRulesReport.ReportUrl"));
configRulesReport.setReportStatus(_ctx.stringValue("GetAggregateConfigRulesReportResponse.ConfigRulesReport.ReportStatus"));
configRulesReport.setAccountId(_ctx.longValue("GetAggregateConfigRulesReportResponse.ConfigRulesReport.AccountId"));
configRulesReport.setAggregatorId(_ctx.stringValue("GetAggregateConfigRulesReportResponse.ConfigRulesReport.AggregatorId"));
configRulesReport.setReportCreateTimestamp(_ctx.longValue("GetAggregateConfigRulesReportResponse.ConfigRulesReport.ReportCreateTimestamp"));
configRulesReport.setReportId(_ctx.stringValue("GetAggregateConfigRulesReportResponse.ConfigRulesReport.ReportId"));
getAggregateConfigRulesReportResponse.setConfigRulesReport(configRulesReport);
return getAggregateConfigRulesReportResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/GetAggregateDiscoveredResourceResponseUnmarshaller.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.config.transform.v20200907;
import com.aliyuncs.config.model.v20200907.GetAggregateDiscoveredResourceResponse;
import com.aliyuncs.config.model.v20200907.GetAggregateDiscoveredResourceResponse.DiscoveredResourceDetail;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAggregateDiscoveredResourceResponseUnmarshaller {
public static GetAggregateDiscoveredResourceResponse unmarshall(GetAggregateDiscoveredResourceResponse getAggregateDiscoveredResourceResponse, UnmarshallerContext _ctx) {
getAggregateDiscoveredResourceResponse.setRequestId(_ctx.stringValue("GetAggregateDiscoveredResourceResponse.RequestId"));
DiscoveredResourceDetail discoveredResourceDetail = new DiscoveredResourceDetail();
discoveredResourceDetail.setAvailabilityZone(_ctx.stringValue("GetAggregateDiscoveredResourceResponse.DiscoveredResourceDetail.AvailabilityZone"));
discoveredResourceDetail.setResourceType(_ctx.stringValue("GetAggregateDiscoveredResourceResponse.DiscoveredResourceDetail.ResourceType"));
discoveredResourceDetail.setConfiguration(_ctx.stringValue("GetAggregateDiscoveredResourceResponse.DiscoveredResourceDetail.Configuration"));
discoveredResourceDetail.setRegion(_ctx.stringValue("GetAggregateDiscoveredResourceResponse.DiscoveredResourceDetail.Region"));
discoveredResourceDetail.setResourceCreationTime(_ctx.longValue("GetAggregateDiscoveredResourceResponse.DiscoveredResourceDetail.ResourceCreationTime"));
discoveredResourceDetail.setTags(_ctx.stringValue("GetAggregateDiscoveredResourceResponse.DiscoveredResourceDetail.Tags"));
discoveredResourceDetail.setAccountId(_ctx.longValue("GetAggregateDiscoveredResourceResponse.DiscoveredResourceDetail.AccountId"));
discoveredResourceDetail.setResourceId(_ctx.stringValue("GetAggregateDiscoveredResourceResponse.DiscoveredResourceDetail.ResourceId"));
discoveredResourceDetail.setResourceDeleted(_ctx.integerValue("GetAggregateDiscoveredResourceResponse.DiscoveredResourceDetail.ResourceDeleted"));
discoveredResourceDetail.setResourceName(_ctx.stringValue("GetAggregateDiscoveredResourceResponse.DiscoveredResourceDetail.ResourceName"));
discoveredResourceDetail.setResourceStatus(_ctx.stringValue("GetAggregateDiscoveredResourceResponse.DiscoveredResourceDetail.ResourceStatus"));
discoveredResourceDetail.setVersion(_ctx.longValue("GetAggregateDiscoveredResourceResponse.DiscoveredResourceDetail.Version"));
discoveredResourceDetail.setComplianceType(_ctx.stringValue("GetAggregateDiscoveredResourceResponse.DiscoveredResourceDetail.ComplianceType"));
discoveredResourceDetail.setVpcId(_ctx.stringValue("GetAggregateDiscoveredResourceResponse.DiscoveredResourceDetail.VpcId"));
discoveredResourceDetail.setVSwitchId(_ctx.stringValue("GetAggregateDiscoveredResourceResponse.DiscoveredResourceDetail.VSwitchId"));
getAggregateDiscoveredResourceResponse.setDiscoveredResourceDetail(discoveredResourceDetail);
return getAggregateDiscoveredResourceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/GetAggregateResourceComplianceByConfigRuleResponseUnmarshaller.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.config.transform.v20200907;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.config.model.v20200907.GetAggregateResourceComplianceByConfigRuleResponse;
import com.aliyuncs.config.model.v20200907.GetAggregateResourceComplianceByConfigRuleResponse.ComplianceResult;
import com.aliyuncs.config.model.v20200907.GetAggregateResourceComplianceByConfigRuleResponse.ComplianceResult.CompliancesItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAggregateResourceComplianceByConfigRuleResponseUnmarshaller {
public static GetAggregateResourceComplianceByConfigRuleResponse unmarshall(GetAggregateResourceComplianceByConfigRuleResponse getAggregateResourceComplianceByConfigRuleResponse, UnmarshallerContext _ctx) {
getAggregateResourceComplianceByConfigRuleResponse.setRequestId(_ctx.stringValue("GetAggregateResourceComplianceByConfigRuleResponse.RequestId"));
ComplianceResult complianceResult = new ComplianceResult();
complianceResult.setTotalCount(_ctx.longValue("GetAggregateResourceComplianceByConfigRuleResponse.ComplianceResult.TotalCount"));
List<CompliancesItem> compliances = new ArrayList<CompliancesItem>();
for (int i = 0; i < _ctx.lengthValue("GetAggregateResourceComplianceByConfigRuleResponse.ComplianceResult.Compliances.Length"); i++) {
CompliancesItem compliancesItem = new CompliancesItem();
compliancesItem.setComplianceType(_ctx.stringValue("GetAggregateResourceComplianceByConfigRuleResponse.ComplianceResult.Compliances["+ i +"].ComplianceType"));
compliancesItem.setCount(_ctx.integerValue("GetAggregateResourceComplianceByConfigRuleResponse.ComplianceResult.Compliances["+ i +"].Count"));
compliances.add(compliancesItem);
}
complianceResult.setCompliances(compliances);
getAggregateResourceComplianceByConfigRuleResponse.setComplianceResult(complianceResult);
return getAggregateResourceComplianceByConfigRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/GetAggregateResourceComplianceByPackResponseUnmarshaller.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.config.transform.v20200907;
import com.aliyuncs.config.model.v20200907.GetAggregateResourceComplianceByPackResponse;
import com.aliyuncs.config.model.v20200907.GetAggregateResourceComplianceByPackResponse.ResourceComplianceResult;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAggregateResourceComplianceByPackResponseUnmarshaller {
public static GetAggregateResourceComplianceByPackResponse unmarshall(GetAggregateResourceComplianceByPackResponse getAggregateResourceComplianceByPackResponse, UnmarshallerContext _ctx) {
getAggregateResourceComplianceByPackResponse.setRequestId(_ctx.stringValue("GetAggregateResourceComplianceByPackResponse.RequestId"));
ResourceComplianceResult resourceComplianceResult = new ResourceComplianceResult();
resourceComplianceResult.setCompliancePackId(_ctx.stringValue("GetAggregateResourceComplianceByPackResponse.ResourceComplianceResult.CompliancePackId"));
resourceComplianceResult.setNonCompliantCount(_ctx.integerValue("GetAggregateResourceComplianceByPackResponse.ResourceComplianceResult.NonCompliantCount"));
resourceComplianceResult.setTotalCount(_ctx.integerValue("GetAggregateResourceComplianceByPackResponse.ResourceComplianceResult.TotalCount"));
getAggregateResourceComplianceByPackResponse.setResourceComplianceResult(resourceComplianceResult);
return getAggregateResourceComplianceByPackResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/GetAggregateResourceComplianceGroupByRegionResponseUnmarshaller.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.config.transform.v20200907;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.config.model.v20200907.GetAggregateResourceComplianceGroupByRegionResponse;
import com.aliyuncs.config.model.v20200907.GetAggregateResourceComplianceGroupByRegionResponse.ComplianceResult;
import com.aliyuncs.config.model.v20200907.GetAggregateResourceComplianceGroupByRegionResponse.ComplianceResult.ComplianceResultListItem;
import com.aliyuncs.config.model.v20200907.GetAggregateResourceComplianceGroupByRegionResponse.ComplianceResult.ComplianceResultListItem.CompliancesItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAggregateResourceComplianceGroupByRegionResponseUnmarshaller {
public static GetAggregateResourceComplianceGroupByRegionResponse unmarshall(GetAggregateResourceComplianceGroupByRegionResponse getAggregateResourceComplianceGroupByRegionResponse, UnmarshallerContext _ctx) {
getAggregateResourceComplianceGroupByRegionResponse.setRequestId(_ctx.stringValue("GetAggregateResourceComplianceGroupByRegionResponse.RequestId"));
ComplianceResult complianceResult = new ComplianceResult();
List<ComplianceResultListItem> complianceResultList = new ArrayList<ComplianceResultListItem>();
for (int i = 0; i < _ctx.lengthValue("GetAggregateResourceComplianceGroupByRegionResponse.ComplianceResult.ComplianceResultList.Length"); i++) {
ComplianceResultListItem complianceResultListItem = new ComplianceResultListItem();
complianceResultListItem.setRegionId(_ctx.stringValue("GetAggregateResourceComplianceGroupByRegionResponse.ComplianceResult.ComplianceResultList["+ i +"].RegionId"));
List<CompliancesItem> compliances = new ArrayList<CompliancesItem>();
for (int j = 0; j < _ctx.lengthValue("GetAggregateResourceComplianceGroupByRegionResponse.ComplianceResult.ComplianceResultList["+ i +"].Compliances.Length"); j++) {
CompliancesItem compliancesItem = new CompliancesItem();
compliancesItem.setComplianceType(_ctx.stringValue("GetAggregateResourceComplianceGroupByRegionResponse.ComplianceResult.ComplianceResultList["+ i +"].Compliances["+ j +"].ComplianceType"));
compliancesItem.setCount(_ctx.longValue("GetAggregateResourceComplianceGroupByRegionResponse.ComplianceResult.ComplianceResultList["+ i +"].Compliances["+ j +"].Count"));
compliances.add(compliancesItem);
}
complianceResultListItem.setCompliances(compliances);
complianceResultList.add(complianceResultListItem);
}
complianceResult.setComplianceResultList(complianceResultList);
getAggregateResourceComplianceGroupByRegionResponse.setComplianceResult(complianceResult);
return getAggregateResourceComplianceGroupByRegionResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/GetAggregateResourceComplianceGroupByResourceTypeResponseUnmarshaller.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.config.transform.v20200907;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.config.model.v20200907.GetAggregateResourceComplianceGroupByResourceTypeResponse;
import com.aliyuncs.config.model.v20200907.GetAggregateResourceComplianceGroupByResourceTypeResponse.ComplianceResult;
import com.aliyuncs.config.model.v20200907.GetAggregateResourceComplianceGroupByResourceTypeResponse.ComplianceResult.ComplianceResultListItem;
import com.aliyuncs.config.model.v20200907.GetAggregateResourceComplianceGroupByResourceTypeResponse.ComplianceResult.ComplianceResultListItem.CompliancesItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAggregateResourceComplianceGroupByResourceTypeResponseUnmarshaller {
public static GetAggregateResourceComplianceGroupByResourceTypeResponse unmarshall(GetAggregateResourceComplianceGroupByResourceTypeResponse getAggregateResourceComplianceGroupByResourceTypeResponse, UnmarshallerContext _ctx) {
getAggregateResourceComplianceGroupByResourceTypeResponse.setRequestId(_ctx.stringValue("GetAggregateResourceComplianceGroupByResourceTypeResponse.RequestId"));
ComplianceResult complianceResult = new ComplianceResult();
List<ComplianceResultListItem> complianceResultList = new ArrayList<ComplianceResultListItem>();
for (int i = 0; i < _ctx.lengthValue("GetAggregateResourceComplianceGroupByResourceTypeResponse.ComplianceResult.ComplianceResultList.Length"); i++) {
ComplianceResultListItem complianceResultListItem = new ComplianceResultListItem();
complianceResultListItem.setResourceType(_ctx.stringValue("GetAggregateResourceComplianceGroupByResourceTypeResponse.ComplianceResult.ComplianceResultList["+ i +"].ResourceType"));
List<CompliancesItem> compliances = new ArrayList<CompliancesItem>();
for (int j = 0; j < _ctx.lengthValue("GetAggregateResourceComplianceGroupByResourceTypeResponse.ComplianceResult.ComplianceResultList["+ i +"].Compliances.Length"); j++) {
CompliancesItem compliancesItem = new CompliancesItem();
compliancesItem.setComplianceType(_ctx.stringValue("GetAggregateResourceComplianceGroupByResourceTypeResponse.ComplianceResult.ComplianceResultList["+ i +"].Compliances["+ j +"].ComplianceType"));
compliancesItem.setCount(_ctx.longValue("GetAggregateResourceComplianceGroupByResourceTypeResponse.ComplianceResult.ComplianceResultList["+ i +"].Compliances["+ j +"].Count"));
compliances.add(compliancesItem);
}
complianceResultListItem.setCompliances(compliances);
complianceResultList.add(complianceResultListItem);
}
complianceResult.setComplianceResultList(complianceResultList);
getAggregateResourceComplianceGroupByResourceTypeResponse.setComplianceResult(complianceResult);
return getAggregateResourceComplianceGroupByResourceTypeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/GetAggregateResourceComplianceTimelineResponseUnmarshaller.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.config.transform.v20200907;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.config.model.v20200907.GetAggregateResourceComplianceTimelineResponse;
import com.aliyuncs.config.model.v20200907.GetAggregateResourceComplianceTimelineResponse.ResourceComplianceTimeline;
import com.aliyuncs.config.model.v20200907.GetAggregateResourceComplianceTimelineResponse.ResourceComplianceTimeline.ComplianceListItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAggregateResourceComplianceTimelineResponseUnmarshaller {
public static GetAggregateResourceComplianceTimelineResponse unmarshall(GetAggregateResourceComplianceTimelineResponse getAggregateResourceComplianceTimelineResponse, UnmarshallerContext _ctx) {
getAggregateResourceComplianceTimelineResponse.setRequestId(_ctx.stringValue("GetAggregateResourceComplianceTimelineResponse.RequestId"));
ResourceComplianceTimeline resourceComplianceTimeline = new ResourceComplianceTimeline();
resourceComplianceTimeline.setNextToken(_ctx.stringValue("GetAggregateResourceComplianceTimelineResponse.ResourceComplianceTimeline.NextToken"));
resourceComplianceTimeline.setMaxResults(_ctx.integerValue("GetAggregateResourceComplianceTimelineResponse.ResourceComplianceTimeline.MaxResults"));
List<ComplianceListItem> complianceList = new ArrayList<ComplianceListItem>();
for (int i = 0; i < _ctx.lengthValue("GetAggregateResourceComplianceTimelineResponse.ResourceComplianceTimeline.ComplianceList.Length"); i++) {
ComplianceListItem complianceListItem = new ComplianceListItem();
complianceListItem.setTags(_ctx.stringValue("GetAggregateResourceComplianceTimelineResponse.ResourceComplianceTimeline.ComplianceList["+ i +"].Tags"));
complianceListItem.setAccountId(_ctx.stringValue("GetAggregateResourceComplianceTimelineResponse.ResourceComplianceTimeline.ComplianceList["+ i +"].AccountId"));
complianceListItem.setAvailabilityZone(_ctx.stringValue("GetAggregateResourceComplianceTimelineResponse.ResourceComplianceTimeline.ComplianceList["+ i +"].AvailabilityZone"));
complianceListItem.setResourceType(_ctx.stringValue("GetAggregateResourceComplianceTimelineResponse.ResourceComplianceTimeline.ComplianceList["+ i +"].ResourceType"));
complianceListItem.setResourceCreateTime(_ctx.longValue("GetAggregateResourceComplianceTimelineResponse.ResourceComplianceTimeline.ComplianceList["+ i +"].ResourceCreateTime"));
complianceListItem.setRegion(_ctx.stringValue("GetAggregateResourceComplianceTimelineResponse.ResourceComplianceTimeline.ComplianceList["+ i +"].Region"));
complianceListItem.setConfiguration(_ctx.stringValue("GetAggregateResourceComplianceTimelineResponse.ResourceComplianceTimeline.ComplianceList["+ i +"].Configuration"));
complianceListItem.setCaptureTime(_ctx.longValue("GetAggregateResourceComplianceTimelineResponse.ResourceComplianceTimeline.ComplianceList["+ i +"].CaptureTime"));
complianceListItem.setConfigurationDiff(_ctx.stringValue("GetAggregateResourceComplianceTimelineResponse.ResourceComplianceTimeline.ComplianceList["+ i +"].ConfigurationDiff"));
complianceListItem.setResourceId(_ctx.stringValue("GetAggregateResourceComplianceTimelineResponse.ResourceComplianceTimeline.ComplianceList["+ i +"].ResourceId"));
complianceListItem.setResourceName(_ctx.stringValue("GetAggregateResourceComplianceTimelineResponse.ResourceComplianceTimeline.ComplianceList["+ i +"].ResourceName"));
complianceListItem.setResourceStatus(_ctx.stringValue("GetAggregateResourceComplianceTimelineResponse.ResourceComplianceTimeline.ComplianceList["+ i +"].ResourceStatus"));
complianceList.add(complianceListItem);
}
resourceComplianceTimeline.setComplianceList(complianceList);
getAggregateResourceComplianceTimelineResponse.setResourceComplianceTimeline(resourceComplianceTimeline);
return getAggregateResourceComplianceTimelineResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/GetAggregateResourceConfigurationTimelineResponseUnmarshaller.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.config.transform.v20200907;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.config.model.v20200907.GetAggregateResourceConfigurationTimelineResponse;
import com.aliyuncs.config.model.v20200907.GetAggregateResourceConfigurationTimelineResponse.ResourceConfigurationTimeline;
import com.aliyuncs.config.model.v20200907.GetAggregateResourceConfigurationTimelineResponse.ResourceConfigurationTimeline.ConfigurationListItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAggregateResourceConfigurationTimelineResponseUnmarshaller {
public static GetAggregateResourceConfigurationTimelineResponse unmarshall(GetAggregateResourceConfigurationTimelineResponse getAggregateResourceConfigurationTimelineResponse, UnmarshallerContext _ctx) {
getAggregateResourceConfigurationTimelineResponse.setRequestId(_ctx.stringValue("GetAggregateResourceConfigurationTimelineResponse.RequestId"));
ResourceConfigurationTimeline resourceConfigurationTimeline = new ResourceConfigurationTimeline();
resourceConfigurationTimeline.setNextToken(_ctx.stringValue("GetAggregateResourceConfigurationTimelineResponse.ResourceConfigurationTimeline.NextToken"));
resourceConfigurationTimeline.setMaxResults(_ctx.integerValue("GetAggregateResourceConfigurationTimelineResponse.ResourceConfigurationTimeline.MaxResults"));
List<ConfigurationListItem> configurationList = new ArrayList<ConfigurationListItem>();
for (int i = 0; i < _ctx.lengthValue("GetAggregateResourceConfigurationTimelineResponse.ResourceConfigurationTimeline.ConfigurationList.Length"); i++) {
ConfigurationListItem configurationListItem = new ConfigurationListItem();
configurationListItem.setRelationship(_ctx.stringValue("GetAggregateResourceConfigurationTimelineResponse.ResourceConfigurationTimeline.ConfigurationList["+ i +"].Relationship"));
configurationListItem.setTags(_ctx.stringValue("GetAggregateResourceConfigurationTimelineResponse.ResourceConfigurationTimeline.ConfigurationList["+ i +"].Tags"));
configurationListItem.setAccountId(_ctx.longValue("GetAggregateResourceConfigurationTimelineResponse.ResourceConfigurationTimeline.ConfigurationList["+ i +"].AccountId"));
configurationListItem.setResourceEventType(_ctx.stringValue("GetAggregateResourceConfigurationTimelineResponse.ResourceConfigurationTimeline.ConfigurationList["+ i +"].ResourceEventType"));
configurationListItem.setRelationshipDiff(_ctx.stringValue("GetAggregateResourceConfigurationTimelineResponse.ResourceConfigurationTimeline.ConfigurationList["+ i +"].RelationshipDiff"));
configurationListItem.setAvailabilityZone(_ctx.stringValue("GetAggregateResourceConfigurationTimelineResponse.ResourceConfigurationTimeline.ConfigurationList["+ i +"].AvailabilityZone"));
configurationListItem.setResourceType(_ctx.stringValue("GetAggregateResourceConfigurationTimelineResponse.ResourceConfigurationTimeline.ConfigurationList["+ i +"].ResourceType"));
configurationListItem.setResourceCreateTime(_ctx.stringValue("GetAggregateResourceConfigurationTimelineResponse.ResourceConfigurationTimeline.ConfigurationList["+ i +"].ResourceCreateTime"));
configurationListItem.setRegion(_ctx.stringValue("GetAggregateResourceConfigurationTimelineResponse.ResourceConfigurationTimeline.ConfigurationList["+ i +"].Region"));
configurationListItem.setCaptureTime(_ctx.stringValue("GetAggregateResourceConfigurationTimelineResponse.ResourceConfigurationTimeline.ConfigurationList["+ i +"].CaptureTime"));
configurationListItem.setConfigurationDiff(_ctx.stringValue("GetAggregateResourceConfigurationTimelineResponse.ResourceConfigurationTimeline.ConfigurationList["+ i +"].ConfigurationDiff"));
configurationListItem.setResourceId(_ctx.stringValue("GetAggregateResourceConfigurationTimelineResponse.ResourceConfigurationTimeline.ConfigurationList["+ i +"].ResourceId"));
configurationListItem.setResourceName(_ctx.stringValue("GetAggregateResourceConfigurationTimelineResponse.ResourceConfigurationTimeline.ConfigurationList["+ i +"].ResourceName"));
configurationList.add(configurationListItem);
}
resourceConfigurationTimeline.setConfigurationList(configurationList);
getAggregateResourceConfigurationTimelineResponse.setResourceConfigurationTimeline(resourceConfigurationTimeline);
return getAggregateResourceConfigurationTimelineResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/GetAggregateResourceCountsGroupByRegionResponseUnmarshaller.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.config.transform.v20200907;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.config.model.v20200907.GetAggregateResourceCountsGroupByRegionResponse;
import com.aliyuncs.config.model.v20200907.GetAggregateResourceCountsGroupByRegionResponse.GroupedResourceCount;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAggregateResourceCountsGroupByRegionResponseUnmarshaller {
public static GetAggregateResourceCountsGroupByRegionResponse unmarshall(GetAggregateResourceCountsGroupByRegionResponse getAggregateResourceCountsGroupByRegionResponse, UnmarshallerContext _ctx) {
getAggregateResourceCountsGroupByRegionResponse.setRequestId(_ctx.stringValue("GetAggregateResourceCountsGroupByRegionResponse.RequestId"));
List<GroupedResourceCount> discoveredResourceCountsSummary = new ArrayList<GroupedResourceCount>();
for (int i = 0; i < _ctx.lengthValue("GetAggregateResourceCountsGroupByRegionResponse.DiscoveredResourceCountsSummary.Length"); i++) {
GroupedResourceCount groupedResourceCount = new GroupedResourceCount();
groupedResourceCount.setResourceCount(_ctx.longValue("GetAggregateResourceCountsGroupByRegionResponse.DiscoveredResourceCountsSummary["+ i +"].ResourceCount"));
groupedResourceCount.setGroupName(_ctx.stringValue("GetAggregateResourceCountsGroupByRegionResponse.DiscoveredResourceCountsSummary["+ i +"].GroupName"));
groupedResourceCount.setRegion(_ctx.stringValue("GetAggregateResourceCountsGroupByRegionResponse.DiscoveredResourceCountsSummary["+ i +"].Region"));
discoveredResourceCountsSummary.add(groupedResourceCount);
}
getAggregateResourceCountsGroupByRegionResponse.setDiscoveredResourceCountsSummary(discoveredResourceCountsSummary);
return getAggregateResourceCountsGroupByRegionResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/GetAggregateResourceCountsGroupByResourceTypeResponseUnmarshaller.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.config.transform.v20200907;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.config.model.v20200907.GetAggregateResourceCountsGroupByResourceTypeResponse;
import com.aliyuncs.config.model.v20200907.GetAggregateResourceCountsGroupByResourceTypeResponse.GroupedResourceCount;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAggregateResourceCountsGroupByResourceTypeResponseUnmarshaller {
public static GetAggregateResourceCountsGroupByResourceTypeResponse unmarshall(GetAggregateResourceCountsGroupByResourceTypeResponse getAggregateResourceCountsGroupByResourceTypeResponse, UnmarshallerContext _ctx) {
getAggregateResourceCountsGroupByResourceTypeResponse.setRequestId(_ctx.stringValue("GetAggregateResourceCountsGroupByResourceTypeResponse.RequestId"));
List<GroupedResourceCount> discoveredResourceCountsSummary = new ArrayList<GroupedResourceCount>();
for (int i = 0; i < _ctx.lengthValue("GetAggregateResourceCountsGroupByResourceTypeResponse.DiscoveredResourceCountsSummary.Length"); i++) {
GroupedResourceCount groupedResourceCount = new GroupedResourceCount();
groupedResourceCount.setResourceCount(_ctx.longValue("GetAggregateResourceCountsGroupByResourceTypeResponse.DiscoveredResourceCountsSummary["+ i +"].ResourceCount"));
groupedResourceCount.setGroupName(_ctx.stringValue("GetAggregateResourceCountsGroupByResourceTypeResponse.DiscoveredResourceCountsSummary["+ i +"].GroupName"));
groupedResourceCount.setResourceType(_ctx.stringValue("GetAggregateResourceCountsGroupByResourceTypeResponse.DiscoveredResourceCountsSummary["+ i +"].ResourceType"));
discoveredResourceCountsSummary.add(groupedResourceCount);
}
getAggregateResourceCountsGroupByResourceTypeResponse.setDiscoveredResourceCountsSummary(discoveredResourceCountsSummary);
return getAggregateResourceCountsGroupByResourceTypeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/GetAggregateResourceInventoryResponseUnmarshaller.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.config.transform.v20200907;
import com.aliyuncs.config.model.v20200907.GetAggregateResourceInventoryResponse;
import com.aliyuncs.config.model.v20200907.GetAggregateResourceInventoryResponse.ResourceInventory;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAggregateResourceInventoryResponseUnmarshaller {
public static GetAggregateResourceInventoryResponse unmarshall(GetAggregateResourceInventoryResponse getAggregateResourceInventoryResponse, UnmarshallerContext _ctx) {
getAggregateResourceInventoryResponse.setRequestId(_ctx.stringValue("GetAggregateResourceInventoryResponse.RequestId"));
ResourceInventory resourceInventory = new ResourceInventory();
resourceInventory.setDownloadUrl(_ctx.stringValue("GetAggregateResourceInventoryResponse.ResourceInventory.DownloadUrl"));
resourceInventory.setStatus(_ctx.stringValue("GetAggregateResourceInventoryResponse.ResourceInventory.Status"));
resourceInventory.setAccountId(_ctx.longValue("GetAggregateResourceInventoryResponse.ResourceInventory.AccountId"));
resourceInventory.setResourceInventoryGenerateTime(_ctx.longValue("GetAggregateResourceInventoryResponse.ResourceInventory.ResourceInventoryGenerateTime"));
getAggregateResourceInventoryResponse.setResourceInventory(resourceInventory);
return getAggregateResourceInventoryResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/GetAggregatorResponseUnmarshaller.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.config.transform.v20200907;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.config.model.v20200907.GetAggregatorResponse;
import com.aliyuncs.config.model.v20200907.GetAggregatorResponse.Aggregator;
import com.aliyuncs.config.model.v20200907.GetAggregatorResponse.Aggregator.AggregatorAccountsItem;
import com.aliyuncs.config.model.v20200907.GetAggregatorResponse.Aggregator.TagsItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAggregatorResponseUnmarshaller {
public static GetAggregatorResponse unmarshall(GetAggregatorResponse getAggregatorResponse, UnmarshallerContext _ctx) {
getAggregatorResponse.setRequestId(_ctx.stringValue("GetAggregatorResponse.RequestId"));
Aggregator aggregator = new Aggregator();
aggregator.setAggregatorCreateTimestamp(_ctx.stringValue("GetAggregatorResponse.Aggregator.AggregatorCreateTimestamp"));
aggregator.setAggregatorAccountCount(_ctx.longValue("GetAggregatorResponse.Aggregator.AggregatorAccountCount"));
aggregator.setDescription(_ctx.stringValue("GetAggregatorResponse.Aggregator.Description"));
aggregator.setAggregatorName(_ctx.stringValue("GetAggregatorResponse.Aggregator.AggregatorName"));
aggregator.setAggregatorStatus(_ctx.integerValue("GetAggregatorResponse.Aggregator.AggregatorStatus"));
aggregator.setAggregatorType(_ctx.stringValue("GetAggregatorResponse.Aggregator.AggregatorType"));
aggregator.setAccountId(_ctx.longValue("GetAggregatorResponse.Aggregator.AccountId"));
aggregator.setAggregatorId(_ctx.stringValue("GetAggregatorResponse.Aggregator.AggregatorId"));
aggregator.setFolderId(_ctx.stringValue("GetAggregatorResponse.Aggregator.FolderId"));
List<AggregatorAccountsItem> aggregatorAccounts = new ArrayList<AggregatorAccountsItem>();
for (int i = 0; i < _ctx.lengthValue("GetAggregatorResponse.Aggregator.AggregatorAccounts.Length"); i++) {
AggregatorAccountsItem aggregatorAccountsItem = new AggregatorAccountsItem();
aggregatorAccountsItem.setRecorderStatus(_ctx.stringValue("GetAggregatorResponse.Aggregator.AggregatorAccounts["+ i +"].RecorderStatus"));
aggregatorAccountsItem.setAccountId(_ctx.longValue("GetAggregatorResponse.Aggregator.AggregatorAccounts["+ i +"].AccountId"));
aggregatorAccountsItem.setAccountType(_ctx.stringValue("GetAggregatorResponse.Aggregator.AggregatorAccounts["+ i +"].AccountType"));
aggregatorAccountsItem.setAccountName(_ctx.stringValue("GetAggregatorResponse.Aggregator.AggregatorAccounts["+ i +"].AccountName"));
aggregatorAccounts.add(aggregatorAccountsItem);
}
aggregator.setAggregatorAccounts(aggregatorAccounts);
List<TagsItem> tags = new ArrayList<TagsItem>();
for (int i = 0; i < _ctx.lengthValue("GetAggregatorResponse.Aggregator.Tags.Length"); i++) {
TagsItem tagsItem = new TagsItem();
tagsItem.setTagKey(_ctx.stringValue("GetAggregatorResponse.Aggregator.Tags["+ i +"].TagKey"));
tagsItem.setTagValue(_ctx.stringValue("GetAggregatorResponse.Aggregator.Tags["+ i +"].TagValue"));
tags.add(tagsItem);
}
aggregator.setTags(tags);
getAggregatorResponse.setAggregator(aggregator);
return getAggregatorResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/GetCompliancePackReportResponseUnmarshaller.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.config.transform.v20200907;
import com.aliyuncs.config.model.v20200907.GetCompliancePackReportResponse;
import com.aliyuncs.config.model.v20200907.GetCompliancePackReportResponse.CompliancePackReport;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetCompliancePackReportResponseUnmarshaller {
public static GetCompliancePackReportResponse unmarshall(GetCompliancePackReportResponse getCompliancePackReportResponse, UnmarshallerContext _ctx) {
getCompliancePackReportResponse.setRequestId(_ctx.stringValue("GetCompliancePackReportResponse.RequestId"));
CompliancePackReport compliancePackReport = new CompliancePackReport();
compliancePackReport.setReportUrl(_ctx.stringValue("GetCompliancePackReportResponse.CompliancePackReport.ReportUrl"));
compliancePackReport.setReportStatus(_ctx.stringValue("GetCompliancePackReportResponse.CompliancePackReport.ReportStatus"));
compliancePackReport.setCompliancePackId(_ctx.stringValue("GetCompliancePackReportResponse.CompliancePackReport.CompliancePackId"));
compliancePackReport.setAccountId(_ctx.longValue("GetCompliancePackReportResponse.CompliancePackReport.AccountId"));
compliancePackReport.setReportCreateTimestamp(_ctx.longValue("GetCompliancePackReportResponse.CompliancePackReport.ReportCreateTimestamp"));
getCompliancePackReportResponse.setCompliancePackReport(compliancePackReport);
return getCompliancePackReportResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/GetCompliancePackResponseUnmarshaller.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.config.transform.v20200907;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.config.model.v20200907.GetCompliancePackResponse;
import com.aliyuncs.config.model.v20200907.GetCompliancePackResponse.CompliancePack;
import com.aliyuncs.config.model.v20200907.GetCompliancePackResponse.CompliancePack.ConfigRulesItem;
import com.aliyuncs.config.model.v20200907.GetCompliancePackResponse.CompliancePack.ConfigRulesItem.ConfigRuleParametersItem;
import com.aliyuncs.config.model.v20200907.GetCompliancePackResponse.CompliancePack.Scope;
import com.aliyuncs.config.model.v20200907.GetCompliancePackResponse.CompliancePack.Scope.ExcludeTagsScopeItem;
import com.aliyuncs.config.model.v20200907.GetCompliancePackResponse.CompliancePack.Scope.TagsScopeItem;
import com.aliyuncs.config.model.v20200907.GetCompliancePackResponse.CompliancePack.TagsItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetCompliancePackResponseUnmarshaller {
public static GetCompliancePackResponse unmarshall(GetCompliancePackResponse getCompliancePackResponse, UnmarshallerContext _ctx) {
getCompliancePackResponse.setRequestId(_ctx.stringValue("GetCompliancePackResponse.RequestId"));
CompliancePack compliancePack = new CompliancePack();
compliancePack.setStatus(_ctx.stringValue("GetCompliancePackResponse.CompliancePack.Status"));
compliancePack.setCompliancePackId(_ctx.stringValue("GetCompliancePackResponse.CompliancePack.CompliancePackId"));
compliancePack.setRiskLevel(_ctx.integerValue("GetCompliancePackResponse.CompliancePack.RiskLevel"));
compliancePack.setDescription(_ctx.stringValue("GetCompliancePackResponse.CompliancePack.Description"));
compliancePack.setTemplateContent(_ctx.stringValue("GetCompliancePackResponse.CompliancePack.TemplateContent"));
compliancePack.setCompliancePackName(_ctx.stringValue("GetCompliancePackResponse.CompliancePack.CompliancePackName"));
compliancePack.setAccountId(_ctx.longValue("GetCompliancePackResponse.CompliancePack.AccountId"));
compliancePack.setCompliancePackTemplateId(_ctx.stringValue("GetCompliancePackResponse.CompliancePack.CompliancePackTemplateId"));
compliancePack.setCreateTimestamp(_ctx.longValue("GetCompliancePackResponse.CompliancePack.CreateTimestamp"));
Scope scope = new Scope();
scope.setExcludeRegionIdsScope(_ctx.stringValue("GetCompliancePackResponse.CompliancePack.Scope.ExcludeRegionIdsScope"));
scope.setResourceIdsScope(_ctx.stringValue("GetCompliancePackResponse.CompliancePack.Scope.ResourceIdsScope"));
scope.setExcludeResourceGroupIdsScope(_ctx.stringValue("GetCompliancePackResponse.CompliancePack.Scope.ExcludeResourceGroupIdsScope"));
scope.setTagKeyScope(_ctx.stringValue("GetCompliancePackResponse.CompliancePack.Scope.TagKeyScope"));
scope.setTagValueScope(_ctx.stringValue("GetCompliancePackResponse.CompliancePack.Scope.TagValueScope"));
scope.setRegionIdsScope(_ctx.stringValue("GetCompliancePackResponse.CompliancePack.Scope.RegionIdsScope"));
scope.setExcludeResourceIdsScope(_ctx.stringValue("GetCompliancePackResponse.CompliancePack.Scope.ExcludeResourceIdsScope"));
scope.setResourceGroupIdsScope(_ctx.stringValue("GetCompliancePackResponse.CompliancePack.Scope.ResourceGroupIdsScope"));
List<TagsScopeItem> tagsScope = new ArrayList<TagsScopeItem>();
for (int i = 0; i < _ctx.lengthValue("GetCompliancePackResponse.CompliancePack.Scope.TagsScope.Length"); i++) {
TagsScopeItem tagsScopeItem = new TagsScopeItem();
tagsScopeItem.setTagKey(_ctx.stringValue("GetCompliancePackResponse.CompliancePack.Scope.TagsScope["+ i +"].TagKey"));
tagsScopeItem.setTagValue(_ctx.stringValue("GetCompliancePackResponse.CompliancePack.Scope.TagsScope["+ i +"].TagValue"));
tagsScope.add(tagsScopeItem);
}
scope.setTagsScope(tagsScope);
List<ExcludeTagsScopeItem> excludeTagsScope = new ArrayList<ExcludeTagsScopeItem>();
for (int i = 0; i < _ctx.lengthValue("GetCompliancePackResponse.CompliancePack.Scope.ExcludeTagsScope.Length"); i++) {
ExcludeTagsScopeItem excludeTagsScopeItem = new ExcludeTagsScopeItem();
excludeTagsScopeItem.setTagKey(_ctx.stringValue("GetCompliancePackResponse.CompliancePack.Scope.ExcludeTagsScope["+ i +"].TagKey"));
excludeTagsScopeItem.setTagValue(_ctx.stringValue("GetCompliancePackResponse.CompliancePack.Scope.ExcludeTagsScope["+ i +"].TagValue"));
excludeTagsScope.add(excludeTagsScopeItem);
}
scope.setExcludeTagsScope(excludeTagsScope);
compliancePack.setScope(scope);
List<ConfigRulesItem> configRules = new ArrayList<ConfigRulesItem>();
for (int i = 0; i < _ctx.lengthValue("GetCompliancePackResponse.CompliancePack.ConfigRules.Length"); i++) {
ConfigRulesItem configRulesItem = new ConfigRulesItem();
configRulesItem.setManagedRuleIdentifier(_ctx.stringValue("GetCompliancePackResponse.CompliancePack.ConfigRules["+ i +"].ManagedRuleIdentifier"));
configRulesItem.setConfigRuleName(_ctx.stringValue("GetCompliancePackResponse.CompliancePack.ConfigRules["+ i +"].ConfigRuleName"));
configRulesItem.setConfigRuleId(_ctx.stringValue("GetCompliancePackResponse.CompliancePack.ConfigRules["+ i +"].ConfigRuleId"));
configRulesItem.setDescription(_ctx.stringValue("GetCompliancePackResponse.CompliancePack.ConfigRules["+ i +"].Description"));
configRulesItem.setRiskLevel(_ctx.integerValue("GetCompliancePackResponse.CompliancePack.ConfigRules["+ i +"].RiskLevel"));
configRulesItem.setResourceTypesScope(_ctx.stringValue("GetCompliancePackResponse.CompliancePack.ConfigRules["+ i +"].ResourceTypesScope"));
List<ConfigRuleParametersItem> configRuleParameters = new ArrayList<ConfigRuleParametersItem>();
for (int j = 0; j < _ctx.lengthValue("GetCompliancePackResponse.CompliancePack.ConfigRules["+ i +"].ConfigRuleParameters.Length"); j++) {
ConfigRuleParametersItem configRuleParametersItem = new ConfigRuleParametersItem();
configRuleParametersItem.setRequired(_ctx.booleanValue("GetCompliancePackResponse.CompliancePack.ConfigRules["+ i +"].ConfigRuleParameters["+ j +"].Required"));
configRuleParametersItem.setParameterName(_ctx.stringValue("GetCompliancePackResponse.CompliancePack.ConfigRules["+ i +"].ConfigRuleParameters["+ j +"].ParameterName"));
configRuleParametersItem.setParameterValue(_ctx.stringValue("GetCompliancePackResponse.CompliancePack.ConfigRules["+ i +"].ConfigRuleParameters["+ j +"].ParameterValue"));
configRuleParameters.add(configRuleParametersItem);
}
configRulesItem.setConfigRuleParameters(configRuleParameters);
configRules.add(configRulesItem);
}
compliancePack.setConfigRules(configRules);
List<TagsItem> tags = new ArrayList<TagsItem>();
for (int i = 0; i < _ctx.lengthValue("GetCompliancePackResponse.CompliancePack.Tags.Length"); i++) {
TagsItem tagsItem = new TagsItem();
tagsItem.setTagKey(_ctx.stringValue("GetCompliancePackResponse.CompliancePack.Tags["+ i +"].TagKey"));
tagsItem.setTagValue(_ctx.stringValue("GetCompliancePackResponse.CompliancePack.Tags["+ i +"].TagValue"));
tags.add(tagsItem);
}
compliancePack.setTags(tags);
getCompliancePackResponse.setCompliancePack(compliancePack);
return getCompliancePackResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/GetComplianceSummaryResponseUnmarshaller.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.config.transform.v20200907;
import com.aliyuncs.config.model.v20200907.GetComplianceSummaryResponse;
import com.aliyuncs.config.model.v20200907.GetComplianceSummaryResponse.ComplianceSummary;
import com.aliyuncs.config.model.v20200907.GetComplianceSummaryResponse.ComplianceSummary.ComplianceSummaryByConfigRule;
import com.aliyuncs.config.model.v20200907.GetComplianceSummaryResponse.ComplianceSummary.ComplianceSummaryByResource;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetComplianceSummaryResponseUnmarshaller {
public static GetComplianceSummaryResponse unmarshall(GetComplianceSummaryResponse getComplianceSummaryResponse, UnmarshallerContext _ctx) {
getComplianceSummaryResponse.setRequestId(_ctx.stringValue("GetComplianceSummaryResponse.RequestId"));
ComplianceSummary complianceSummary = new ComplianceSummary();
ComplianceSummaryByResource complianceSummaryByResource = new ComplianceSummaryByResource();
complianceSummaryByResource.setCompliantCount(_ctx.integerValue("GetComplianceSummaryResponse.ComplianceSummary.ComplianceSummaryByResource.CompliantCount"));
complianceSummaryByResource.setNonCompliantCount(_ctx.integerValue("GetComplianceSummaryResponse.ComplianceSummary.ComplianceSummaryByResource.NonCompliantCount"));
complianceSummaryByResource.setComplianceSummaryTimestamp(_ctx.longValue("GetComplianceSummaryResponse.ComplianceSummary.ComplianceSummaryByResource.ComplianceSummaryTimestamp"));
complianceSummaryByResource.setTotalCount(_ctx.longValue("GetComplianceSummaryResponse.ComplianceSummary.ComplianceSummaryByResource.TotalCount"));
complianceSummary.setComplianceSummaryByResource(complianceSummaryByResource);
ComplianceSummaryByConfigRule complianceSummaryByConfigRule = new ComplianceSummaryByConfigRule();
complianceSummaryByConfigRule.setCompliantCount(_ctx.integerValue("GetComplianceSummaryResponse.ComplianceSummary.ComplianceSummaryByConfigRule.CompliantCount"));
complianceSummaryByConfigRule.setNonCompliantCount(_ctx.integerValue("GetComplianceSummaryResponse.ComplianceSummary.ComplianceSummaryByConfigRule.NonCompliantCount"));
complianceSummaryByConfigRule.setComplianceSummaryTimestamp(_ctx.longValue("GetComplianceSummaryResponse.ComplianceSummary.ComplianceSummaryByConfigRule.ComplianceSummaryTimestamp"));
complianceSummaryByConfigRule.setTotalCount(_ctx.longValue("GetComplianceSummaryResponse.ComplianceSummary.ComplianceSummaryByConfigRule.TotalCount"));
complianceSummary.setComplianceSummaryByConfigRule(complianceSummaryByConfigRule);
getComplianceSummaryResponse.setComplianceSummary(complianceSummary);
return getComplianceSummaryResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/GetConfigDeliveryChannelResponseUnmarshaller.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.config.transform.v20200907;
import com.aliyuncs.config.model.v20200907.GetConfigDeliveryChannelResponse;
import com.aliyuncs.config.model.v20200907.GetConfigDeliveryChannelResponse.DeliveryChannel;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetConfigDeliveryChannelResponseUnmarshaller {
public static GetConfigDeliveryChannelResponse unmarshall(GetConfigDeliveryChannelResponse getConfigDeliveryChannelResponse, UnmarshallerContext _ctx) {
getConfigDeliveryChannelResponse.setRequestId(_ctx.stringValue("GetConfigDeliveryChannelResponse.RequestId"));
DeliveryChannel deliveryChannel = new DeliveryChannel();
deliveryChannel.setStatus(_ctx.integerValue("GetConfigDeliveryChannelResponse.DeliveryChannel.Status"));
deliveryChannel.setDeliveryChannelId(_ctx.stringValue("GetConfigDeliveryChannelResponse.DeliveryChannel.DeliveryChannelId"));
deliveryChannel.setDeliveryChannelName(_ctx.stringValue("GetConfigDeliveryChannelResponse.DeliveryChannel.DeliveryChannelName"));
deliveryChannel.setDeliveryChannelType(_ctx.stringValue("GetConfigDeliveryChannelResponse.DeliveryChannel.DeliveryChannelType"));
deliveryChannel.setDeliveryChannelTargetArn(_ctx.stringValue("GetConfigDeliveryChannelResponse.DeliveryChannel.DeliveryChannelTargetArn"));
deliveryChannel.setDeliveryChannelAssumeRoleArn(_ctx.stringValue("GetConfigDeliveryChannelResponse.DeliveryChannel.DeliveryChannelAssumeRoleArn"));
deliveryChannel.setDeliveryChannelCondition(_ctx.stringValue("GetConfigDeliveryChannelResponse.DeliveryChannel.DeliveryChannelCondition"));
deliveryChannel.setOversizedDataOSSTargetArn(_ctx.stringValue("GetConfigDeliveryChannelResponse.DeliveryChannel.OversizedDataOSSTargetArn"));
deliveryChannel.setDescription(_ctx.stringValue("GetConfigDeliveryChannelResponse.DeliveryChannel.Description"));
deliveryChannel.setConfigurationSnapshot(_ctx.booleanValue("GetConfigDeliveryChannelResponse.DeliveryChannel.ConfigurationSnapshot"));
deliveryChannel.setCompliantSnapshot(_ctx.booleanValue("GetConfigDeliveryChannelResponse.DeliveryChannel.CompliantSnapshot"));
deliveryChannel.setConfigurationItemChangeNotification(_ctx.booleanValue("GetConfigDeliveryChannelResponse.DeliveryChannel.ConfigurationItemChangeNotification"));
deliveryChannel.setNonCompliantNotification(_ctx.booleanValue("GetConfigDeliveryChannelResponse.DeliveryChannel.NonCompliantNotification"));
deliveryChannel.setAccountId(_ctx.longValue("GetConfigDeliveryChannelResponse.DeliveryChannel.AccountId"));
deliveryChannel.setDeliverySnapshotTime(_ctx.stringValue("GetConfigDeliveryChannelResponse.DeliveryChannel.DeliverySnapshotTime"));
getConfigDeliveryChannelResponse.setDeliveryChannel(deliveryChannel);
return getConfigDeliveryChannelResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/GetConfigRuleComplianceByPackResponseUnmarshaller.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.config.transform.v20200907;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.config.model.v20200907.GetConfigRuleComplianceByPackResponse;
import com.aliyuncs.config.model.v20200907.GetConfigRuleComplianceByPackResponse.ConfigRuleComplianceResult;
import com.aliyuncs.config.model.v20200907.GetConfigRuleComplianceByPackResponse.ConfigRuleComplianceResult.ConfigRuleCompliancesItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetConfigRuleComplianceByPackResponseUnmarshaller {
public static GetConfigRuleComplianceByPackResponse unmarshall(GetConfigRuleComplianceByPackResponse getConfigRuleComplianceByPackResponse, UnmarshallerContext _ctx) {
getConfigRuleComplianceByPackResponse.setRequestId(_ctx.stringValue("GetConfigRuleComplianceByPackResponse.RequestId"));
ConfigRuleComplianceResult configRuleComplianceResult = new ConfigRuleComplianceResult();
configRuleComplianceResult.setCompliancePackId(_ctx.stringValue("GetConfigRuleComplianceByPackResponse.ConfigRuleComplianceResult.CompliancePackId"));
configRuleComplianceResult.setNonCompliantCount(_ctx.integerValue("GetConfigRuleComplianceByPackResponse.ConfigRuleComplianceResult.NonCompliantCount"));
configRuleComplianceResult.setTotalCount(_ctx.integerValue("GetConfigRuleComplianceByPackResponse.ConfigRuleComplianceResult.TotalCount"));
List<ConfigRuleCompliancesItem> configRuleCompliances = new ArrayList<ConfigRuleCompliancesItem>();
for (int i = 0; i < _ctx.lengthValue("GetConfigRuleComplianceByPackResponse.ConfigRuleComplianceResult.ConfigRuleCompliances.Length"); i++) {
ConfigRuleCompliancesItem configRuleCompliancesItem = new ConfigRuleCompliancesItem();
configRuleCompliancesItem.setComplianceType(_ctx.stringValue("GetConfigRuleComplianceByPackResponse.ConfigRuleComplianceResult.ConfigRuleCompliances["+ i +"].ComplianceType"));
configRuleCompliancesItem.setConfigRuleName(_ctx.stringValue("GetConfigRuleComplianceByPackResponse.ConfigRuleComplianceResult.ConfigRuleCompliances["+ i +"].ConfigRuleName"));
configRuleCompliancesItem.setConfigRuleId(_ctx.stringValue("GetConfigRuleComplianceByPackResponse.ConfigRuleComplianceResult.ConfigRuleCompliances["+ i +"].ConfigRuleId"));
configRuleCompliances.add(configRuleCompliancesItem);
}
configRuleComplianceResult.setConfigRuleCompliances(configRuleCompliances);
getConfigRuleComplianceByPackResponse.setConfigRuleComplianceResult(configRuleComplianceResult);
return getConfigRuleComplianceByPackResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform
|
java-sources/com/aliyun/aliyun-java-sdk-config/2.2.18/com/aliyuncs/config/transform/v20200907/GetConfigRuleResponseUnmarshaller.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.config.transform.v20200907;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.config.model.v20200907.GetConfigRuleResponse;
import com.aliyuncs.config.model.v20200907.GetConfigRuleResponse.ConfigRule;
import com.aliyuncs.config.model.v20200907.GetConfigRuleResponse.ConfigRule.Compliance;
import com.aliyuncs.config.model.v20200907.GetConfigRuleResponse.ConfigRule.ComplianceExcludeTagsScope;
import com.aliyuncs.config.model.v20200907.GetConfigRuleResponse.ConfigRule.ConfigRuleEvaluationStatus;
import com.aliyuncs.config.model.v20200907.GetConfigRuleResponse.ConfigRule.CreateBy;
import com.aliyuncs.config.model.v20200907.GetConfigRuleResponse.ConfigRule.ManagedRule;
import com.aliyuncs.config.model.v20200907.GetConfigRuleResponse.ConfigRule.ManagedRule.SourceDetailsItem;
import com.aliyuncs.config.model.v20200907.GetConfigRuleResponse.ConfigRule.Scope;
import com.aliyuncs.config.model.v20200907.GetConfigRuleResponse.ConfigRule.Source;
import com.aliyuncs.config.model.v20200907.GetConfigRuleResponse.ConfigRule.Source.SourceDetailsItem2;
import com.aliyuncs.config.model.v20200907.GetConfigRuleResponse.ConfigRule.TagsItem;
import com.aliyuncs.config.model.v20200907.GetConfigRuleResponse.ConfigRule.TagsScopeItem;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetConfigRuleResponseUnmarshaller {
public static GetConfigRuleResponse unmarshall(GetConfigRuleResponse getConfigRuleResponse, UnmarshallerContext _ctx) {
getConfigRuleResponse.setRequestId(_ctx.stringValue("GetConfigRuleResponse.RequestId"));
ConfigRule configRule = new ConfigRule();
configRule.setAccountId(_ctx.longValue("GetConfigRuleResponse.ConfigRule.AccountId"));
configRule.setConfigRuleArn(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.ConfigRuleArn"));
configRule.setConfigRuleId(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.ConfigRuleId"));
configRule.setConfigRuleName(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.ConfigRuleName"));
configRule.setConfigRuleState(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.ConfigRuleState"));
configRule.setConfigRuleTriggerTypes(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.ConfigRuleTriggerTypes"));
configRule.setCreateTimestamp(_ctx.longValue("GetConfigRuleResponse.ConfigRule.CreateTimestamp"));
configRule.setDescription(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.Description"));
configRule.setExcludeRegionIdsScope(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.ExcludeRegionIdsScope"));
configRule.setExcludeResourceGroupIdsScope(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.ExcludeResourceGroupIdsScope"));
configRule.setExcludeResourceIdsScope(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.ExcludeResourceIdsScope"));
configRule.setInputParameters(_ctx.mapValue("GetConfigRuleResponse.ConfigRule.InputParameters"));
configRule.setMaximumExecutionFrequency(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.MaximumExecutionFrequency"));
configRule.setModifiedTimestamp(_ctx.longValue("GetConfigRuleResponse.ConfigRule.ModifiedTimestamp"));
configRule.setRegionIdsScope(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.RegionIdsScope"));
configRule.setResourceGroupIdsScope(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.ResourceGroupIdsScope"));
configRule.setResourceIdsScope(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.ResourceIdsScope"));
configRule.setResourceTypesScope(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.ResourceTypesScope"));
configRule.setRiskLevel(_ctx.integerValue("GetConfigRuleResponse.ConfigRule.RiskLevel"));
configRule.setServiceChannel(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.ServiceChannel"));
configRule.setTagKeyLogicScope(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.TagKeyLogicScope"));
configRule.setTagKeyScope(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.TagKeyScope"));
configRule.setTagValueScope(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.TagValueScope"));
configRule.setResourceNameScope(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.ResourceNameScope"));
configRule.setExtendContent(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.ExtendContent"));
Compliance compliance = new Compliance();
compliance.setComplianceType(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.Compliance.ComplianceType"));
compliance.setCount(_ctx.integerValue("GetConfigRuleResponse.ConfigRule.Compliance.Count"));
configRule.setCompliance(compliance);
ConfigRuleEvaluationStatus configRuleEvaluationStatus = new ConfigRuleEvaluationStatus();
configRuleEvaluationStatus.setFirstActivatedTimestamp(_ctx.longValue("GetConfigRuleResponse.ConfigRule.ConfigRuleEvaluationStatus.FirstActivatedTimestamp"));
configRuleEvaluationStatus.setFirstEvaluationStarted(_ctx.booleanValue("GetConfigRuleResponse.ConfigRule.ConfigRuleEvaluationStatus.FirstEvaluationStarted"));
configRuleEvaluationStatus.setLastErrorCode(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.ConfigRuleEvaluationStatus.LastErrorCode"));
configRuleEvaluationStatus.setLastErrorMessage(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.ConfigRuleEvaluationStatus.LastErrorMessage"));
configRuleEvaluationStatus.setLastFailedEvaluationTimestamp(_ctx.longValue("GetConfigRuleResponse.ConfigRule.ConfigRuleEvaluationStatus.LastFailedEvaluationTimestamp"));
configRuleEvaluationStatus.setLastFailedInvocationTimestamp(_ctx.longValue("GetConfigRuleResponse.ConfigRule.ConfigRuleEvaluationStatus.LastFailedInvocationTimestamp"));
configRuleEvaluationStatus.setLastSuccessfulEvaluationTimestamp(_ctx.longValue("GetConfigRuleResponse.ConfigRule.ConfigRuleEvaluationStatus.LastSuccessfulEvaluationTimestamp"));
configRuleEvaluationStatus.setLastSuccessfulInvocationTimestamp(_ctx.longValue("GetConfigRuleResponse.ConfigRule.ConfigRuleEvaluationStatus.LastSuccessfulInvocationTimestamp"));
configRule.setConfigRuleEvaluationStatus(configRuleEvaluationStatus);
CreateBy createBy = new CreateBy();
createBy.setAggregatorId(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.CreateBy.AggregatorId"));
createBy.setAggregatorName(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.CreateBy.AggregatorName"));
createBy.setCompliancePackId(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.CreateBy.CompliancePackId"));
createBy.setCompliancePackName(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.CreateBy.CompliancePackName"));
createBy.setCreatorId(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.CreateBy.CreatorId"));
createBy.setCreatorName(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.CreateBy.CreatorName"));
createBy.setCreatorType(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.CreateBy.CreatorType"));
configRule.setCreateBy(createBy);
ManagedRule managedRule = new ManagedRule();
managedRule.setCompulsoryInputParameterDetails(_ctx.mapValue("GetConfigRuleResponse.ConfigRule.ManagedRule.CompulsoryInputParameterDetails"));
managedRule.setDescription(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.ManagedRule.Description"));
managedRule.setHelpUrl(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.ManagedRule.HelpUrl"));
managedRule.setIdentifier(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.ManagedRule.Identifier"));
managedRule.setManagedRuleName(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.ManagedRule.ManagedRuleName"));
managedRule.setOptionalInputParameterDetails(_ctx.mapValue("GetConfigRuleResponse.ConfigRule.ManagedRule.OptionalInputParameterDetails"));
List<String> labels = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("GetConfigRuleResponse.ConfigRule.ManagedRule.Labels.Length"); i++) {
labels.add(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.ManagedRule.Labels["+ i +"]"));
}
managedRule.setLabels(labels);
List<SourceDetailsItem> sourceDetails = new ArrayList<SourceDetailsItem>();
for (int i = 0; i < _ctx.lengthValue("GetConfigRuleResponse.ConfigRule.ManagedRule.SourceDetails.Length"); i++) {
SourceDetailsItem sourceDetailsItem = new SourceDetailsItem();
sourceDetailsItem.setEventSource(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.ManagedRule.SourceDetails["+ i +"].EventSource"));
sourceDetailsItem.setMaximumExecutionFrequency(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.ManagedRule.SourceDetails["+ i +"].MaximumExecutionFrequency"));
sourceDetailsItem.setMessageType(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.ManagedRule.SourceDetails["+ i +"].MessageType"));
sourceDetails.add(sourceDetailsItem);
}
managedRule.setSourceDetails(sourceDetails);
configRule.setManagedRule(managedRule);
Scope scope = new Scope();
List<String> complianceResourceTypes = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("GetConfigRuleResponse.ConfigRule.Scope.ComplianceResourceTypes.Length"); i++) {
complianceResourceTypes.add(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.Scope.ComplianceResourceTypes["+ i +"]"));
}
scope.setComplianceResourceTypes(complianceResourceTypes);
configRule.setScope(scope);
Source source = new Source();
source.setConditions(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.Source.Conditions"));
source.setIdentifier(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.Source.Identifier"));
source.setOwner(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.Source.Owner"));
List<Map<Object, Object>> sourceConditions = _ctx.listMapValue("GetConfigRuleResponse.ConfigRule.Source.SourceConditions");
source.setSourceConditions(sourceConditions);
List<SourceDetailsItem2> sourceDetails1 = new ArrayList<SourceDetailsItem2>();
for (int i = 0; i < _ctx.lengthValue("GetConfigRuleResponse.ConfigRule.Source.SourceDetails.Length"); i++) {
SourceDetailsItem2 sourceDetailsItem2 = new SourceDetailsItem2();
sourceDetailsItem2.setEventSource(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.Source.SourceDetails["+ i +"].EventSource"));
sourceDetailsItem2.setMaximumExecutionFrequency(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.Source.SourceDetails["+ i +"].MaximumExecutionFrequency"));
sourceDetailsItem2.setMessageType(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.Source.SourceDetails["+ i +"].MessageType"));
sourceDetails1.add(sourceDetailsItem2);
}
source.setSourceDetails1(sourceDetails1);
configRule.setSource(source);
List<ComplianceExcludeTagsScope> excludeTagsScope = new ArrayList<ComplianceExcludeTagsScope>();
for (int i = 0; i < _ctx.lengthValue("GetConfigRuleResponse.ConfigRule.ExcludeTagsScope.Length"); i++) {
ComplianceExcludeTagsScope complianceExcludeTagsScope = new ComplianceExcludeTagsScope();
complianceExcludeTagsScope.setTagKey(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.ExcludeTagsScope["+ i +"].TagKey"));
complianceExcludeTagsScope.setTagValue(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.ExcludeTagsScope["+ i +"].TagValue"));
excludeTagsScope.add(complianceExcludeTagsScope);
}
configRule.setExcludeTagsScope(excludeTagsScope);
List<TagsScopeItem> tagsScope = new ArrayList<TagsScopeItem>();
for (int i = 0; i < _ctx.lengthValue("GetConfigRuleResponse.ConfigRule.TagsScope.Length"); i++) {
TagsScopeItem tagsScopeItem = new TagsScopeItem();
tagsScopeItem.setTagKey(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.TagsScope["+ i +"].TagKey"));
tagsScopeItem.setTagValue(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.TagsScope["+ i +"].TagValue"));
tagsScope.add(tagsScopeItem);
}
configRule.setTagsScope(tagsScope);
List<TagsItem> tags = new ArrayList<TagsItem>();
for (int i = 0; i < _ctx.lengthValue("GetConfigRuleResponse.ConfigRule.Tags.Length"); i++) {
TagsItem tagsItem = new TagsItem();
tagsItem.setTagKey(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.Tags["+ i +"].TagKey"));
tagsItem.setTagValue(_ctx.stringValue("GetConfigRuleResponse.ConfigRule.Tags["+ i +"].TagValue"));
tags.add(tagsItem);
}
configRule.setTags(tags);
getConfigRuleResponse.setConfigRule(configRule);
return getConfigRuleResponse;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.