diff --git a/aliyun-java-sdk-config/ChangeLog.txt b/aliyun-java-sdk-config/ChangeLog.txt index 26df1d4874..11a211f695 100644 --- a/aliyun-java-sdk-config/ChangeLog.txt +++ b/aliyun-java-sdk-config/ChangeLog.txt @@ -1,3 +1,6 @@ +2024-08-28 Version: 2.2.15 +- Support for rule feature. + 2024-06-20 Version: 2.2.14 - ConfigRule scope upgrade. diff --git a/aliyun-java-sdk-config/pom.xml b/aliyun-java-sdk-config/pom.xml index 56f81bd120..f8c8a099ff 100644 --- a/aliyun-java-sdk-config/pom.xml +++ b/aliyun-java-sdk-config/pom.xml @@ -4,7 +4,7 @@ com.aliyun aliyun-java-sdk-config jar - 2.2.14 + 2.2.15 aliyun-java-sdk-config http://www.aliyun.com Aliyun Open API SDK for Java diff --git a/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/model/v20200907/CreateAggregateConfigDeliveryChannelRequest.java b/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/model/v20200907/CreateAggregateConfigDeliveryChannelRequest.java index fe7bf3428c..5f2531672e 100644 --- a/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/model/v20200907/CreateAggregateConfigDeliveryChannelRequest.java +++ b/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/model/v20200907/CreateAggregateConfigDeliveryChannelRequest.java @@ -41,6 +41,8 @@ public class CreateAggregateConfigDeliveryChannelRequest extends RpcAcsRequest configRuleSummaries) { public static class Data { - private Integer riskLevel; - private Integer compliantCount; private Integer nonCompliantCount; - public Integer getRiskLevel() { - return this.riskLevel; - } - - public void setRiskLevel(Integer riskLevel) { - this.riskLevel = riskLevel; - } + private Integer riskLevel; public Integer getCompliantCount() { return this.compliantCount; @@ -76,6 +68,14 @@ public Integer getNonCompliantCount() { public void setNonCompliantCount(Integer nonCompliantCount) { this.nonCompliantCount = nonCompliantCount; } + + public Integer getRiskLevel() { + return this.riskLevel; + } + + public void setRiskLevel(Integer riskLevel) { + this.riskLevel = riskLevel; + } } @Override diff --git a/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/model/v20200907/GetConfigDeliveryChannelResponse.java b/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/model/v20200907/GetConfigDeliveryChannelResponse.java index 80ab3ea306..b973ce24f6 100644 --- a/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/model/v20200907/GetConfigDeliveryChannelResponse.java +++ b/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/model/v20200907/GetConfigDeliveryChannelResponse.java @@ -46,72 +46,66 @@ public void setDeliveryChannel(DeliveryChannel deliveryChannel) { public static class DeliveryChannel { - private Integer status; - - private String deliveryChannelId; + private Long accountId; - private String deliveryChannelName; + private Boolean compliantSnapshot; - private String deliveryChannelType; + private Boolean configurationItemChangeNotification; - private String deliveryChannelTargetArn; + private Boolean configurationSnapshot; private String deliveryChannelAssumeRoleArn; private String deliveryChannelCondition; - private String oversizedDataOSSTargetArn; + private String deliveryChannelId; - private String description; + private String deliveryChannelName; - private Boolean configurationSnapshot; + private String deliveryChannelTargetArn; - private Boolean configurationItemChangeNotification; + private String deliveryChannelType; - private Boolean nonCompliantNotification; + private String deliverySnapshotTime; - private Long accountId; + private String description; - private String deliverySnapshotTime; + private Boolean nonCompliantNotification; - public Integer getStatus() { - return this.status; - } + private String oversizedDataOSSTargetArn; - public void setStatus(Integer status) { - this.status = status; - } + private Integer status; - public String getDeliveryChannelId() { - return this.deliveryChannelId; + public Long getAccountId() { + return this.accountId; } - public void setDeliveryChannelId(String deliveryChannelId) { - this.deliveryChannelId = deliveryChannelId; + public void setAccountId(Long accountId) { + this.accountId = accountId; } - public String getDeliveryChannelName() { - return this.deliveryChannelName; + public Boolean getCompliantSnapshot() { + return this.compliantSnapshot; } - public void setDeliveryChannelName(String deliveryChannelName) { - this.deliveryChannelName = deliveryChannelName; + public void setCompliantSnapshot(Boolean compliantSnapshot) { + this.compliantSnapshot = compliantSnapshot; } - public String getDeliveryChannelType() { - return this.deliveryChannelType; + public Boolean getConfigurationItemChangeNotification() { + return this.configurationItemChangeNotification; } - public void setDeliveryChannelType(String deliveryChannelType) { - this.deliveryChannelType = deliveryChannelType; + public void setConfigurationItemChangeNotification(Boolean configurationItemChangeNotification) { + this.configurationItemChangeNotification = configurationItemChangeNotification; } - public String getDeliveryChannelTargetArn() { - return this.deliveryChannelTargetArn; + public Boolean getConfigurationSnapshot() { + return this.configurationSnapshot; } - public void setDeliveryChannelTargetArn(String deliveryChannelTargetArn) { - this.deliveryChannelTargetArn = deliveryChannelTargetArn; + public void setConfigurationSnapshot(Boolean configurationSnapshot) { + this.configurationSnapshot = configurationSnapshot; } public String getDeliveryChannelAssumeRoleArn() { @@ -130,36 +124,52 @@ public void setDeliveryChannelCondition(String deliveryChannelCondition) { this.deliveryChannelCondition = deliveryChannelCondition; } - public String getOversizedDataOSSTargetArn() { - return this.oversizedDataOSSTargetArn; + public String getDeliveryChannelId() { + return this.deliveryChannelId; } - public void setOversizedDataOSSTargetArn(String oversizedDataOSSTargetArn) { - this.oversizedDataOSSTargetArn = oversizedDataOSSTargetArn; + public void setDeliveryChannelId(String deliveryChannelId) { + this.deliveryChannelId = deliveryChannelId; } - public String getDescription() { - return this.description; + public String getDeliveryChannelName() { + return this.deliveryChannelName; } - public void setDescription(String description) { - this.description = description; + public void setDeliveryChannelName(String deliveryChannelName) { + this.deliveryChannelName = deliveryChannelName; } - public Boolean getConfigurationSnapshot() { - return this.configurationSnapshot; + public String getDeliveryChannelTargetArn() { + return this.deliveryChannelTargetArn; } - public void setConfigurationSnapshot(Boolean configurationSnapshot) { - this.configurationSnapshot = configurationSnapshot; + public void setDeliveryChannelTargetArn(String deliveryChannelTargetArn) { + this.deliveryChannelTargetArn = deliveryChannelTargetArn; } - public Boolean getConfigurationItemChangeNotification() { - return this.configurationItemChangeNotification; + public String getDeliveryChannelType() { + return this.deliveryChannelType; } - public void setConfigurationItemChangeNotification(Boolean configurationItemChangeNotification) { - this.configurationItemChangeNotification = configurationItemChangeNotification; + public void setDeliveryChannelType(String deliveryChannelType) { + this.deliveryChannelType = deliveryChannelType; + } + + public String getDeliverySnapshotTime() { + return this.deliverySnapshotTime; + } + + public void setDeliverySnapshotTime(String deliverySnapshotTime) { + this.deliverySnapshotTime = deliverySnapshotTime; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; } public Boolean getNonCompliantNotification() { @@ -170,20 +180,20 @@ public void setNonCompliantNotification(Boolean nonCompliantNotification) { this.nonCompliantNotification = nonCompliantNotification; } - public Long getAccountId() { - return this.accountId; + public String getOversizedDataOSSTargetArn() { + return this.oversizedDataOSSTargetArn; } - public void setAccountId(Long accountId) { - this.accountId = accountId; + public void setOversizedDataOSSTargetArn(String oversizedDataOSSTargetArn) { + this.oversizedDataOSSTargetArn = oversizedDataOSSTargetArn; } - public String getDeliverySnapshotTime() { - return this.deliverySnapshotTime; + public Integer getStatus() { + return this.status; } - public void setDeliverySnapshotTime(String deliverySnapshotTime) { - this.deliverySnapshotTime = deliverySnapshotTime; + public void setStatus(Integer status) { + this.status = status; } } diff --git a/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/model/v20200907/GetConfigRuleSummaryByRiskLevelRequest.java b/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/model/v20200907/GetConfigRuleSummaryByRiskLevelRequest.java index a126f429b4..2ff1f56457 100644 --- a/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/model/v20200907/GetConfigRuleSummaryByRiskLevelRequest.java +++ b/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/model/v20200907/GetConfigRuleSummaryByRiskLevelRequest.java @@ -26,7 +26,7 @@ public class GetConfigRuleSummaryByRiskLevelRequest extends RpcAcsRequest configRuleSummaries) { public static class Data { - private Integer riskLevel; - private Integer compliantCount; private Integer nonCompliantCount; - public Integer getRiskLevel() { - return this.riskLevel; - } - - public void setRiskLevel(Integer riskLevel) { - this.riskLevel = riskLevel; - } + private Integer riskLevel; public Integer getCompliantCount() { return this.compliantCount; @@ -76,6 +68,14 @@ public Integer getNonCompliantCount() { public void setNonCompliantCount(Integer nonCompliantCount) { this.nonCompliantCount = nonCompliantCount; } + + public Integer getRiskLevel() { + return this.riskLevel; + } + + public void setRiskLevel(Integer riskLevel) { + this.riskLevel = riskLevel; + } } @Override diff --git a/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/model/v20200907/ListAggregateConfigDeliveryChannelsResponse.java b/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/model/v20200907/ListAggregateConfigDeliveryChannelsResponse.java index cf6d204c6d..2c8ab617bd 100644 --- a/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/model/v20200907/ListAggregateConfigDeliveryChannelsResponse.java +++ b/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/model/v20200907/ListAggregateConfigDeliveryChannelsResponse.java @@ -47,74 +47,76 @@ public void setDeliveryChannels(List deliveryChannels) { public static class DeliveryChannel { - private Integer status; + private Long accountId; - private String deliveryChannelName; + private String aggregatorId; - private String deliveryChannelId; + private Boolean compliantSnapshot; - private String deliveryChannelType; + private Boolean configurationItemChangeNotification; - private String deliveryChannelTargetArn; + private Boolean configurationSnapshot; private String deliveryChannelAssumeRoleArn; private String deliveryChannelCondition; - private String oversizedDataOSSTargetArn; + private String deliveryChannelId; - private String description; + private String deliveryChannelName; - private Boolean configurationSnapshot; + private String deliveryChannelTargetArn; - private Boolean configurationItemChangeNotification; + private String deliveryChannelType; - private Boolean nonCompliantNotification; + private String deliverySnapshotTime; - private String aggregatorId; + private String description; - private Long accountId; + private Boolean nonCompliantNotification; - private String deliverySnapshotTime; + private String oversizedDataOSSTargetArn; - public Integer getStatus() { - return this.status; + private Integer status; + + public Long getAccountId() { + return this.accountId; } - public void setStatus(Integer status) { - this.status = status; + public void setAccountId(Long accountId) { + this.accountId = accountId; } - public String getDeliveryChannelName() { - return this.deliveryChannelName; + public String getAggregatorId() { + return this.aggregatorId; } - public void setDeliveryChannelName(String deliveryChannelName) { - this.deliveryChannelName = deliveryChannelName; + public void setAggregatorId(String aggregatorId) { + this.aggregatorId = aggregatorId; } - public String getDeliveryChannelId() { - return this.deliveryChannelId; + public Boolean getCompliantSnapshot() { + return this.compliantSnapshot; } - public void setDeliveryChannelId(String deliveryChannelId) { - this.deliveryChannelId = deliveryChannelId; + public void setCompliantSnapshot(Boolean compliantSnapshot) { + this.compliantSnapshot = compliantSnapshot; } - public String getDeliveryChannelType() { - return this.deliveryChannelType; + public Boolean getConfigurationItemChangeNotification() { + return this.configurationItemChangeNotification; } - public void setDeliveryChannelType(String deliveryChannelType) { - this.deliveryChannelType = deliveryChannelType; + public void setConfigurationItemChangeNotification(Boolean configurationItemChangeNotification) { + this.configurationItemChangeNotification = configurationItemChangeNotification; } - public String getDeliveryChannelTargetArn() { - return this.deliveryChannelTargetArn; + public Boolean getConfigurationSnapshot() { + return this.configurationSnapshot; } - public void setDeliveryChannelTargetArn(String deliveryChannelTargetArn) { - this.deliveryChannelTargetArn = deliveryChannelTargetArn; + public void setConfigurationSnapshot(Boolean configurationSnapshot) { + this.configurationSnapshot = configurationSnapshot; } public String getDeliveryChannelAssumeRoleArn() { @@ -133,68 +135,76 @@ public void setDeliveryChannelCondition(String deliveryChannelCondition) { this.deliveryChannelCondition = deliveryChannelCondition; } - public String getOversizedDataOSSTargetArn() { - return this.oversizedDataOSSTargetArn; + public String getDeliveryChannelId() { + return this.deliveryChannelId; } - public void setOversizedDataOSSTargetArn(String oversizedDataOSSTargetArn) { - this.oversizedDataOSSTargetArn = oversizedDataOSSTargetArn; + public void setDeliveryChannelId(String deliveryChannelId) { + this.deliveryChannelId = deliveryChannelId; } - public String getDescription() { - return this.description; + public String getDeliveryChannelName() { + return this.deliveryChannelName; } - public void setDescription(String description) { - this.description = description; + public void setDeliveryChannelName(String deliveryChannelName) { + this.deliveryChannelName = deliveryChannelName; } - public Boolean getConfigurationSnapshot() { - return this.configurationSnapshot; + public String getDeliveryChannelTargetArn() { + return this.deliveryChannelTargetArn; } - public void setConfigurationSnapshot(Boolean configurationSnapshot) { - this.configurationSnapshot = configurationSnapshot; + public void setDeliveryChannelTargetArn(String deliveryChannelTargetArn) { + this.deliveryChannelTargetArn = deliveryChannelTargetArn; } - public Boolean getConfigurationItemChangeNotification() { - return this.configurationItemChangeNotification; + public String getDeliveryChannelType() { + return this.deliveryChannelType; } - public void setConfigurationItemChangeNotification(Boolean configurationItemChangeNotification) { - this.configurationItemChangeNotification = configurationItemChangeNotification; + public void setDeliveryChannelType(String deliveryChannelType) { + this.deliveryChannelType = deliveryChannelType; } - public Boolean getNonCompliantNotification() { - return this.nonCompliantNotification; + public String getDeliverySnapshotTime() { + return this.deliverySnapshotTime; } - public void setNonCompliantNotification(Boolean nonCompliantNotification) { - this.nonCompliantNotification = nonCompliantNotification; + public void setDeliverySnapshotTime(String deliverySnapshotTime) { + this.deliverySnapshotTime = deliverySnapshotTime; } - public String getAggregatorId() { - return this.aggregatorId; + public String getDescription() { + return this.description; } - public void setAggregatorId(String aggregatorId) { - this.aggregatorId = aggregatorId; + public void setDescription(String description) { + this.description = description; } - public Long getAccountId() { - return this.accountId; + public Boolean getNonCompliantNotification() { + return this.nonCompliantNotification; } - public void setAccountId(Long accountId) { - this.accountId = accountId; + public void setNonCompliantNotification(Boolean nonCompliantNotification) { + this.nonCompliantNotification = nonCompliantNotification; } - public String getDeliverySnapshotTime() { - return this.deliverySnapshotTime; + public String getOversizedDataOSSTargetArn() { + return this.oversizedDataOSSTargetArn; } - public void setDeliverySnapshotTime(String deliverySnapshotTime) { - this.deliverySnapshotTime = deliverySnapshotTime; + public void setOversizedDataOSSTargetArn(String oversizedDataOSSTargetArn) { + this.oversizedDataOSSTargetArn = oversizedDataOSSTargetArn; + } + + public Integer getStatus() { + return this.status; + } + + public void setStatus(Integer status) { + this.status = status; } } diff --git a/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/model/v20200907/ListAggregateDiscoveredResourcesRequest.java b/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/model/v20200907/ListAggregateDiscoveredResourcesRequest.java index e47582c66d..f4090dfdb1 100644 --- a/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/model/v20200907/ListAggregateDiscoveredResourcesRequest.java +++ b/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/model/v20200907/ListAggregateDiscoveredResourcesRequest.java @@ -33,14 +33,20 @@ public class ListAggregateDiscoveredResourcesRequest extends RpcAcsRequest discoveredResourceProfileList; - public String getNextToken() { - return this.nextToken; - } - - public void setNextToken(String nextToken) { - this.nextToken = nextToken; - } - public Integer getMaxResults() { return this.maxResults; } @@ -71,6 +63,14 @@ public void setMaxResults(Integer maxResults) { this.maxResults = maxResults; } + public String getNextToken() { + return this.nextToken; + } + + public void setNextToken(String nextToken) { + this.nextToken = nextToken; + } + public Integer getTotalCount() { return this.totalCount; } @@ -89,36 +89,46 @@ public void setDiscoveredResourceProfileList(List dis public static class DiscoveredResourceProfile { - private String resourceType; + private Long accountId; + + private String availabilityZone; private String region; private Long resourceCreationTime; - private String tags; - - private Long accountId; + private Integer resourceDeleted; private String resourceId; private String resourceName; - private Integer resourceDeleted; + private Long resourceOwnerId; private String resourceStatus; - private Long resourceOwnerId; + private String resourceType; + + private String tags; + + private Long updateTime; private Long version; - private String availabilityZone; + public Long getAccountId() { + return this.accountId; + } - public String getResourceType() { - return this.resourceType; + public void setAccountId(Long accountId) { + this.accountId = accountId; } - public void setResourceType(String resourceType) { - this.resourceType = resourceType; + public String getAvailabilityZone() { + return this.availabilityZone; + } + + public void setAvailabilityZone(String availabilityZone) { + this.availabilityZone = availabilityZone; } public String getRegion() { @@ -137,20 +147,12 @@ public void setResourceCreationTime(Long resourceCreationTime) { this.resourceCreationTime = resourceCreationTime; } - public String getTags() { - return this.tags; - } - - public void setTags(String tags) { - this.tags = tags; - } - - public Long getAccountId() { - return this.accountId; + public Integer getResourceDeleted() { + return this.resourceDeleted; } - public void setAccountId(Long accountId) { - this.accountId = accountId; + public void setResourceDeleted(Integer resourceDeleted) { + this.resourceDeleted = resourceDeleted; } public String getResourceId() { @@ -169,12 +171,12 @@ public void setResourceName(String resourceName) { this.resourceName = resourceName; } - public Integer getResourceDeleted() { - return this.resourceDeleted; + public Long getResourceOwnerId() { + return this.resourceOwnerId; } - public void setResourceDeleted(Integer resourceDeleted) { - this.resourceDeleted = resourceDeleted; + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; } public String getResourceStatus() { @@ -185,28 +187,36 @@ public void setResourceStatus(String resourceStatus) { this.resourceStatus = resourceStatus; } - public Long getResourceOwnerId() { - return this.resourceOwnerId; + public String getResourceType() { + return this.resourceType; } - public void setResourceOwnerId(Long resourceOwnerId) { - this.resourceOwnerId = resourceOwnerId; + public void setResourceType(String resourceType) { + this.resourceType = resourceType; } - public Long getVersion() { - return this.version; + public String getTags() { + return this.tags; } - public void setVersion(Long version) { - this.version = version; + public void setTags(String tags) { + this.tags = tags; } - public String getAvailabilityZone() { - return this.availabilityZone; + public Long getUpdateTime() { + return this.updateTime; } - public void setAvailabilityZone(String availabilityZone) { - this.availabilityZone = availabilityZone; + public void setUpdateTime(Long updateTime) { + this.updateTime = updateTime; + } + + public Long getVersion() { + return this.version; + } + + public void setVersion(Long version) { + this.version = version; } } } diff --git a/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/model/v20200907/ListConfigDeliveryChannelsResponse.java b/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/model/v20200907/ListConfigDeliveryChannelsResponse.java index f62889ef3e..44d32d75c0 100644 --- a/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/model/v20200907/ListConfigDeliveryChannelsResponse.java +++ b/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/model/v20200907/ListConfigDeliveryChannelsResponse.java @@ -47,72 +47,66 @@ public void setDeliveryChannels(List deliveryChannels) { public static class DeliveryChannel { - private Integer status; - - private String deliveryChannelName; + private Long accountId; - private String deliveryChannelId; + private Boolean compliantSnapshot; - private String deliveryChannelType; + private Boolean configurationItemChangeNotification; - private String deliveryChannelTargetArn; + private Boolean configurationSnapshot; private String deliveryChannelAssumeRoleArn; private String deliveryChannelCondition; - private String oversizedDataOSSTargetArn; + private String deliveryChannelId; - private String description; + private String deliveryChannelName; - private Boolean configurationSnapshot; + private String deliveryChannelTargetArn; - private Boolean configurationItemChangeNotification; + private String deliveryChannelType; - private Boolean nonCompliantNotification; + private String deliverySnapshotTime; - private Long accountId; + private String description; - private String deliverySnapshotTime; + private Boolean nonCompliantNotification; - public Integer getStatus() { - return this.status; - } + private String oversizedDataOSSTargetArn; - public void setStatus(Integer status) { - this.status = status; - } + private Integer status; - public String getDeliveryChannelName() { - return this.deliveryChannelName; + public Long getAccountId() { + return this.accountId; } - public void setDeliveryChannelName(String deliveryChannelName) { - this.deliveryChannelName = deliveryChannelName; + public void setAccountId(Long accountId) { + this.accountId = accountId; } - public String getDeliveryChannelId() { - return this.deliveryChannelId; + public Boolean getCompliantSnapshot() { + return this.compliantSnapshot; } - public void setDeliveryChannelId(String deliveryChannelId) { - this.deliveryChannelId = deliveryChannelId; + public void setCompliantSnapshot(Boolean compliantSnapshot) { + this.compliantSnapshot = compliantSnapshot; } - public String getDeliveryChannelType() { - return this.deliveryChannelType; + public Boolean getConfigurationItemChangeNotification() { + return this.configurationItemChangeNotification; } - public void setDeliveryChannelType(String deliveryChannelType) { - this.deliveryChannelType = deliveryChannelType; + public void setConfigurationItemChangeNotification(Boolean configurationItemChangeNotification) { + this.configurationItemChangeNotification = configurationItemChangeNotification; } - public String getDeliveryChannelTargetArn() { - return this.deliveryChannelTargetArn; + public Boolean getConfigurationSnapshot() { + return this.configurationSnapshot; } - public void setDeliveryChannelTargetArn(String deliveryChannelTargetArn) { - this.deliveryChannelTargetArn = deliveryChannelTargetArn; + public void setConfigurationSnapshot(Boolean configurationSnapshot) { + this.configurationSnapshot = configurationSnapshot; } public String getDeliveryChannelAssumeRoleArn() { @@ -131,36 +125,52 @@ public void setDeliveryChannelCondition(String deliveryChannelCondition) { this.deliveryChannelCondition = deliveryChannelCondition; } - public String getOversizedDataOSSTargetArn() { - return this.oversizedDataOSSTargetArn; + public String getDeliveryChannelId() { + return this.deliveryChannelId; } - public void setOversizedDataOSSTargetArn(String oversizedDataOSSTargetArn) { - this.oversizedDataOSSTargetArn = oversizedDataOSSTargetArn; + public void setDeliveryChannelId(String deliveryChannelId) { + this.deliveryChannelId = deliveryChannelId; } - public String getDescription() { - return this.description; + public String getDeliveryChannelName() { + return this.deliveryChannelName; } - public void setDescription(String description) { - this.description = description; + public void setDeliveryChannelName(String deliveryChannelName) { + this.deliveryChannelName = deliveryChannelName; } - public Boolean getConfigurationSnapshot() { - return this.configurationSnapshot; + public String getDeliveryChannelTargetArn() { + return this.deliveryChannelTargetArn; } - public void setConfigurationSnapshot(Boolean configurationSnapshot) { - this.configurationSnapshot = configurationSnapshot; + public void setDeliveryChannelTargetArn(String deliveryChannelTargetArn) { + this.deliveryChannelTargetArn = deliveryChannelTargetArn; } - public Boolean getConfigurationItemChangeNotification() { - return this.configurationItemChangeNotification; + public String getDeliveryChannelType() { + return this.deliveryChannelType; } - public void setConfigurationItemChangeNotification(Boolean configurationItemChangeNotification) { - this.configurationItemChangeNotification = configurationItemChangeNotification; + public void setDeliveryChannelType(String deliveryChannelType) { + this.deliveryChannelType = deliveryChannelType; + } + + public String getDeliverySnapshotTime() { + return this.deliverySnapshotTime; + } + + public void setDeliverySnapshotTime(String deliverySnapshotTime) { + this.deliverySnapshotTime = deliverySnapshotTime; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; } public Boolean getNonCompliantNotification() { @@ -171,20 +181,20 @@ public void setNonCompliantNotification(Boolean nonCompliantNotification) { this.nonCompliantNotification = nonCompliantNotification; } - public Long getAccountId() { - return this.accountId; + public String getOversizedDataOSSTargetArn() { + return this.oversizedDataOSSTargetArn; } - public void setAccountId(Long accountId) { - this.accountId = accountId; + public void setOversizedDataOSSTargetArn(String oversizedDataOSSTargetArn) { + this.oversizedDataOSSTargetArn = oversizedDataOSSTargetArn; } - public String getDeliverySnapshotTime() { - return this.deliverySnapshotTime; + public Integer getStatus() { + return this.status; } - public void setDeliverySnapshotTime(String deliverySnapshotTime) { - this.deliverySnapshotTime = deliverySnapshotTime; + public void setStatus(Integer status) { + this.status = status; } } diff --git a/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/model/v20200907/ListDiscoveredResourcesRequest.java b/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/model/v20200907/ListDiscoveredResourcesRequest.java index d6f0d23693..736572a0ce 100644 --- a/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/model/v20200907/ListDiscoveredResourcesRequest.java +++ b/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/model/v20200907/ListDiscoveredResourcesRequest.java @@ -27,14 +27,20 @@ public class ListDiscoveredResourcesRequest extends RpcAcsRequest discoveredResourceProfileList; - public String getNextToken() { - return this.nextToken; - } - - public void setNextToken(String nextToken) { - this.nextToken = nextToken; - } - public Integer getMaxResults() { return this.maxResults; } @@ -71,6 +63,14 @@ public void setMaxResults(Integer maxResults) { this.maxResults = maxResults; } + public String getNextToken() { + return this.nextToken; + } + + public void setNextToken(String nextToken) { + this.nextToken = nextToken; + } + public Integer getTotalCount() { return this.totalCount; } @@ -89,34 +89,44 @@ public void setDiscoveredResourceProfileList(List dis public static class DiscoveredResourceProfile { - private String resourceType; + private Long accountId; + + private String availabilityZone; private String region; private Long resourceCreationTime; - private String tags; - - private Long accountId; + private Integer resourceDeleted; private String resourceId; private String resourceName; - private Integer resourceDeleted; - private String resourceStatus; + private String resourceType; + + private String tags; + + private Long updateTime; + private Long version; - private String availabilityZone; + public Long getAccountId() { + return this.accountId; + } - public String getResourceType() { - return this.resourceType; + public void setAccountId(Long accountId) { + this.accountId = accountId; } - public void setResourceType(String resourceType) { - this.resourceType = resourceType; + public String getAvailabilityZone() { + return this.availabilityZone; + } + + public void setAvailabilityZone(String availabilityZone) { + this.availabilityZone = availabilityZone; } public String getRegion() { @@ -135,20 +145,12 @@ public void setResourceCreationTime(Long resourceCreationTime) { this.resourceCreationTime = resourceCreationTime; } - public String getTags() { - return this.tags; - } - - public void setTags(String tags) { - this.tags = tags; - } - - public Long getAccountId() { - return this.accountId; + public Integer getResourceDeleted() { + return this.resourceDeleted; } - public void setAccountId(Long accountId) { - this.accountId = accountId; + public void setResourceDeleted(Integer resourceDeleted) { + this.resourceDeleted = resourceDeleted; } public String getResourceId() { @@ -167,14 +169,6 @@ public void setResourceName(String resourceName) { this.resourceName = resourceName; } - public Integer getResourceDeleted() { - return this.resourceDeleted; - } - - public void setResourceDeleted(Integer resourceDeleted) { - this.resourceDeleted = resourceDeleted; - } - public String getResourceStatus() { return this.resourceStatus; } @@ -183,20 +177,36 @@ public void setResourceStatus(String resourceStatus) { this.resourceStatus = resourceStatus; } - public Long getVersion() { - return this.version; + public String getResourceType() { + return this.resourceType; } - public void setVersion(Long version) { - this.version = version; + public void setResourceType(String resourceType) { + this.resourceType = resourceType; } - public String getAvailabilityZone() { - return this.availabilityZone; + public String getTags() { + return this.tags; } - public void setAvailabilityZone(String availabilityZone) { - this.availabilityZone = availabilityZone; + public void setTags(String tags) { + this.tags = tags; + } + + public Long getUpdateTime() { + return this.updateTime; + } + + public void setUpdateTime(Long updateTime) { + this.updateTime = updateTime; + } + + public Long getVersion() { + return this.version; + } + + public void setVersion(Long version) { + this.version = version; } } } diff --git a/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/model/v20200907/UpdateAggregateConfigDeliveryChannelRequest.java b/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/model/v20200907/UpdateAggregateConfigDeliveryChannelRequest.java index f095bc3891..922abf462d 100644 --- a/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/model/v20200907/UpdateAggregateConfigDeliveryChannelRequest.java +++ b/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/model/v20200907/UpdateAggregateConfigDeliveryChannelRequest.java @@ -41,6 +41,8 @@ public class UpdateAggregateConfigDeliveryChannelRequest extends RpcAcsRequest configRuleSummaries = new ArrayList(); for (int i = 0; i < _ctx.lengthValue("GetAggregateConfigRuleSummaryByRiskLevelResponse.ConfigRuleSummaries.Length"); i++) { Data data = new Data(); - data.setRiskLevel(_ctx.integerValue("GetAggregateConfigRuleSummaryByRiskLevelResponse.ConfigRuleSummaries["+ i +"].RiskLevel")); 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); } diff --git a/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/transform/v20200907/GetConfigDeliveryChannelResponseUnmarshaller.java b/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/transform/v20200907/GetConfigDeliveryChannelResponseUnmarshaller.java index 43ac631f8f..a77054edc4 100644 --- a/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/transform/v20200907/GetConfigDeliveryChannelResponseUnmarshaller.java +++ b/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/transform/v20200907/GetConfigDeliveryChannelResponseUnmarshaller.java @@ -26,20 +26,21 @@ public static GetConfigDeliveryChannelResponse unmarshall(GetConfigDeliveryChann getConfigDeliveryChannelResponse.setRequestId(_ctx.stringValue("GetConfigDeliveryChannelResponse.RequestId")); DeliveryChannel deliveryChannel = new DeliveryChannel(); - deliveryChannel.setStatus(_ctx.integerValue("GetConfigDeliveryChannelResponse.DeliveryChannel.Status")); + deliveryChannel.setAccountId(_ctx.longValue("GetConfigDeliveryChannelResponse.DeliveryChannel.AccountId")); + deliveryChannel.setCompliantSnapshot(_ctx.booleanValue("GetConfigDeliveryChannelResponse.DeliveryChannel.CompliantSnapshot")); + deliveryChannel.setConfigurationItemChangeNotification(_ctx.booleanValue("GetConfigDeliveryChannelResponse.DeliveryChannel.ConfigurationItemChangeNotification")); + deliveryChannel.setConfigurationSnapshot(_ctx.booleanValue("GetConfigDeliveryChannelResponse.DeliveryChannel.ConfigurationSnapshot")); + deliveryChannel.setDeliveryChannelAssumeRoleArn(_ctx.stringValue("GetConfigDeliveryChannelResponse.DeliveryChannel.DeliveryChannelAssumeRoleArn")); + deliveryChannel.setDeliveryChannelCondition(_ctx.stringValue("GetConfigDeliveryChannelResponse.DeliveryChannel.DeliveryChannelCondition")); 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.setDeliveryChannelType(_ctx.stringValue("GetConfigDeliveryChannelResponse.DeliveryChannel.DeliveryChannelType")); + deliveryChannel.setDeliverySnapshotTime(_ctx.stringValue("GetConfigDeliveryChannelResponse.DeliveryChannel.DeliverySnapshotTime")); deliveryChannel.setDescription(_ctx.stringValue("GetConfigDeliveryChannelResponse.DeliveryChannel.Description")); - deliveryChannel.setConfigurationSnapshot(_ctx.booleanValue("GetConfigDeliveryChannelResponse.DeliveryChannel.ConfigurationSnapshot")); - 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")); + deliveryChannel.setOversizedDataOSSTargetArn(_ctx.stringValue("GetConfigDeliveryChannelResponse.DeliveryChannel.OversizedDataOSSTargetArn")); + deliveryChannel.setStatus(_ctx.integerValue("GetConfigDeliveryChannelResponse.DeliveryChannel.Status")); getConfigDeliveryChannelResponse.setDeliveryChannel(deliveryChannel); return getConfigDeliveryChannelResponse; diff --git a/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/transform/v20200907/GetConfigRuleSummaryByRiskLevelResponseUnmarshaller.java b/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/transform/v20200907/GetConfigRuleSummaryByRiskLevelResponseUnmarshaller.java index 3d12990d85..0f2d4e0f93 100644 --- a/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/transform/v20200907/GetConfigRuleSummaryByRiskLevelResponseUnmarshaller.java +++ b/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/transform/v20200907/GetConfigRuleSummaryByRiskLevelResponseUnmarshaller.java @@ -31,9 +31,9 @@ public static GetConfigRuleSummaryByRiskLevelResponse unmarshall(GetConfigRuleSu List configRuleSummaries = new ArrayList(); for (int i = 0; i < _ctx.lengthValue("GetConfigRuleSummaryByRiskLevelResponse.ConfigRuleSummaries.Length"); i++) { Data data = new Data(); - data.setRiskLevel(_ctx.integerValue("GetConfigRuleSummaryByRiskLevelResponse.ConfigRuleSummaries["+ i +"].RiskLevel")); data.setCompliantCount(_ctx.integerValue("GetConfigRuleSummaryByRiskLevelResponse.ConfigRuleSummaries["+ i +"].CompliantCount")); data.setNonCompliantCount(_ctx.integerValue("GetConfigRuleSummaryByRiskLevelResponse.ConfigRuleSummaries["+ i +"].NonCompliantCount")); + data.setRiskLevel(_ctx.integerValue("GetConfigRuleSummaryByRiskLevelResponse.ConfigRuleSummaries["+ i +"].RiskLevel")); configRuleSummaries.add(data); } diff --git a/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/transform/v20200907/ListAggregateConfigDeliveryChannelsResponseUnmarshaller.java b/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/transform/v20200907/ListAggregateConfigDeliveryChannelsResponseUnmarshaller.java index dbdaf1fbee..6553081cf8 100644 --- a/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/transform/v20200907/ListAggregateConfigDeliveryChannelsResponseUnmarshaller.java +++ b/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/transform/v20200907/ListAggregateConfigDeliveryChannelsResponseUnmarshaller.java @@ -31,21 +31,22 @@ public static ListAggregateConfigDeliveryChannelsResponse unmarshall(ListAggrega List deliveryChannels = new ArrayList(); for (int i = 0; i < _ctx.lengthValue("ListAggregateConfigDeliveryChannelsResponse.DeliveryChannels.Length"); i++) { DeliveryChannel deliveryChannel = new DeliveryChannel(); - deliveryChannel.setStatus(_ctx.integerValue("ListAggregateConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].Status")); - deliveryChannel.setDeliveryChannelName(_ctx.stringValue("ListAggregateConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].DeliveryChannelName")); - deliveryChannel.setDeliveryChannelId(_ctx.stringValue("ListAggregateConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].DeliveryChannelId")); - deliveryChannel.setDeliveryChannelType(_ctx.stringValue("ListAggregateConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].DeliveryChannelType")); - deliveryChannel.setDeliveryChannelTargetArn(_ctx.stringValue("ListAggregateConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].DeliveryChannelTargetArn")); + deliveryChannel.setAccountId(_ctx.longValue("ListAggregateConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].AccountId")); + deliveryChannel.setAggregatorId(_ctx.stringValue("ListAggregateConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].AggregatorId")); + deliveryChannel.setCompliantSnapshot(_ctx.booleanValue("ListAggregateConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].CompliantSnapshot")); + deliveryChannel.setConfigurationItemChangeNotification(_ctx.booleanValue("ListAggregateConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].ConfigurationItemChangeNotification")); + deliveryChannel.setConfigurationSnapshot(_ctx.booleanValue("ListAggregateConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].ConfigurationSnapshot")); deliveryChannel.setDeliveryChannelAssumeRoleArn(_ctx.stringValue("ListAggregateConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].DeliveryChannelAssumeRoleArn")); deliveryChannel.setDeliveryChannelCondition(_ctx.stringValue("ListAggregateConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].DeliveryChannelCondition")); - deliveryChannel.setOversizedDataOSSTargetArn(_ctx.stringValue("ListAggregateConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].OversizedDataOSSTargetArn")); + deliveryChannel.setDeliveryChannelId(_ctx.stringValue("ListAggregateConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].DeliveryChannelId")); + deliveryChannel.setDeliveryChannelName(_ctx.stringValue("ListAggregateConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].DeliveryChannelName")); + deliveryChannel.setDeliveryChannelTargetArn(_ctx.stringValue("ListAggregateConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].DeliveryChannelTargetArn")); + deliveryChannel.setDeliveryChannelType(_ctx.stringValue("ListAggregateConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].DeliveryChannelType")); + deliveryChannel.setDeliverySnapshotTime(_ctx.stringValue("ListAggregateConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].DeliverySnapshotTime")); deliveryChannel.setDescription(_ctx.stringValue("ListAggregateConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].Description")); - deliveryChannel.setConfigurationSnapshot(_ctx.booleanValue("ListAggregateConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].ConfigurationSnapshot")); - deliveryChannel.setConfigurationItemChangeNotification(_ctx.booleanValue("ListAggregateConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].ConfigurationItemChangeNotification")); deliveryChannel.setNonCompliantNotification(_ctx.booleanValue("ListAggregateConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].NonCompliantNotification")); - deliveryChannel.setAggregatorId(_ctx.stringValue("ListAggregateConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].AggregatorId")); - deliveryChannel.setAccountId(_ctx.longValue("ListAggregateConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].AccountId")); - deliveryChannel.setDeliverySnapshotTime(_ctx.stringValue("ListAggregateConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].DeliverySnapshotTime")); + deliveryChannel.setOversizedDataOSSTargetArn(_ctx.stringValue("ListAggregateConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].OversizedDataOSSTargetArn")); + deliveryChannel.setStatus(_ctx.integerValue("ListAggregateConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].Status")); deliveryChannels.add(deliveryChannel); } diff --git a/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/transform/v20200907/ListAggregateDiscoveredResourcesResponseUnmarshaller.java b/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/transform/v20200907/ListAggregateDiscoveredResourcesResponseUnmarshaller.java index 9d4f846bde..89f052aa05 100644 --- a/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/transform/v20200907/ListAggregateDiscoveredResourcesResponseUnmarshaller.java +++ b/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/transform/v20200907/ListAggregateDiscoveredResourcesResponseUnmarshaller.java @@ -30,25 +30,26 @@ public static ListAggregateDiscoveredResourcesResponse unmarshall(ListAggregateD listAggregateDiscoveredResourcesResponse.setRequestId(_ctx.stringValue("ListAggregateDiscoveredResourcesResponse.RequestId")); DiscoveredResourceProfiles discoveredResourceProfiles = new DiscoveredResourceProfiles(); - discoveredResourceProfiles.setNextToken(_ctx.stringValue("ListAggregateDiscoveredResourcesResponse.DiscoveredResourceProfiles.NextToken")); discoveredResourceProfiles.setMaxResults(_ctx.integerValue("ListAggregateDiscoveredResourcesResponse.DiscoveredResourceProfiles.MaxResults")); + discoveredResourceProfiles.setNextToken(_ctx.stringValue("ListAggregateDiscoveredResourcesResponse.DiscoveredResourceProfiles.NextToken")); discoveredResourceProfiles.setTotalCount(_ctx.integerValue("ListAggregateDiscoveredResourcesResponse.DiscoveredResourceProfiles.TotalCount")); List discoveredResourceProfileList = new ArrayList(); for (int i = 0; i < _ctx.lengthValue("ListAggregateDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList.Length"); i++) { DiscoveredResourceProfile discoveredResourceProfile = new DiscoveredResourceProfile(); - discoveredResourceProfile.setResourceType(_ctx.stringValue("ListAggregateDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].ResourceType")); + discoveredResourceProfile.setAccountId(_ctx.longValue("ListAggregateDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].AccountId")); + discoveredResourceProfile.setAvailabilityZone(_ctx.stringValue("ListAggregateDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].AvailabilityZone")); discoveredResourceProfile.setRegion(_ctx.stringValue("ListAggregateDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].Region")); discoveredResourceProfile.setResourceCreationTime(_ctx.longValue("ListAggregateDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].ResourceCreationTime")); - discoveredResourceProfile.setTags(_ctx.stringValue("ListAggregateDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].Tags")); - discoveredResourceProfile.setAccountId(_ctx.longValue("ListAggregateDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].AccountId")); + discoveredResourceProfile.setResourceDeleted(_ctx.integerValue("ListAggregateDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].ResourceDeleted")); discoveredResourceProfile.setResourceId(_ctx.stringValue("ListAggregateDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].ResourceId")); discoveredResourceProfile.setResourceName(_ctx.stringValue("ListAggregateDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].ResourceName")); - discoveredResourceProfile.setResourceDeleted(_ctx.integerValue("ListAggregateDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].ResourceDeleted")); - discoveredResourceProfile.setResourceStatus(_ctx.stringValue("ListAggregateDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].ResourceStatus")); discoveredResourceProfile.setResourceOwnerId(_ctx.longValue("ListAggregateDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].ResourceOwnerId")); + discoveredResourceProfile.setResourceStatus(_ctx.stringValue("ListAggregateDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].ResourceStatus")); + discoveredResourceProfile.setResourceType(_ctx.stringValue("ListAggregateDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].ResourceType")); + discoveredResourceProfile.setTags(_ctx.stringValue("ListAggregateDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].Tags")); + discoveredResourceProfile.setUpdateTime(_ctx.longValue("ListAggregateDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].UpdateTime")); discoveredResourceProfile.setVersion(_ctx.longValue("ListAggregateDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].Version")); - discoveredResourceProfile.setAvailabilityZone(_ctx.stringValue("ListAggregateDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].AvailabilityZone")); discoveredResourceProfileList.add(discoveredResourceProfile); } diff --git a/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/transform/v20200907/ListConfigDeliveryChannelsResponseUnmarshaller.java b/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/transform/v20200907/ListConfigDeliveryChannelsResponseUnmarshaller.java index a02d4eeb60..12349dd469 100644 --- a/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/transform/v20200907/ListConfigDeliveryChannelsResponseUnmarshaller.java +++ b/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/transform/v20200907/ListConfigDeliveryChannelsResponseUnmarshaller.java @@ -31,20 +31,21 @@ public static ListConfigDeliveryChannelsResponse unmarshall(ListConfigDeliveryCh List deliveryChannels = new ArrayList(); for (int i = 0; i < _ctx.lengthValue("ListConfigDeliveryChannelsResponse.DeliveryChannels.Length"); i++) { DeliveryChannel deliveryChannel = new DeliveryChannel(); - deliveryChannel.setStatus(_ctx.integerValue("ListConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].Status")); - deliveryChannel.setDeliveryChannelName(_ctx.stringValue("ListConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].DeliveryChannelName")); - deliveryChannel.setDeliveryChannelId(_ctx.stringValue("ListConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].DeliveryChannelId")); - deliveryChannel.setDeliveryChannelType(_ctx.stringValue("ListConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].DeliveryChannelType")); - deliveryChannel.setDeliveryChannelTargetArn(_ctx.stringValue("ListConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].DeliveryChannelTargetArn")); + deliveryChannel.setAccountId(_ctx.longValue("ListConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].AccountId")); + deliveryChannel.setCompliantSnapshot(_ctx.booleanValue("ListConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].CompliantSnapshot")); + deliveryChannel.setConfigurationItemChangeNotification(_ctx.booleanValue("ListConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].ConfigurationItemChangeNotification")); + deliveryChannel.setConfigurationSnapshot(_ctx.booleanValue("ListConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].ConfigurationSnapshot")); deliveryChannel.setDeliveryChannelAssumeRoleArn(_ctx.stringValue("ListConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].DeliveryChannelAssumeRoleArn")); deliveryChannel.setDeliveryChannelCondition(_ctx.stringValue("ListConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].DeliveryChannelCondition")); - deliveryChannel.setOversizedDataOSSTargetArn(_ctx.stringValue("ListConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].OversizedDataOSSTargetArn")); + deliveryChannel.setDeliveryChannelId(_ctx.stringValue("ListConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].DeliveryChannelId")); + deliveryChannel.setDeliveryChannelName(_ctx.stringValue("ListConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].DeliveryChannelName")); + deliveryChannel.setDeliveryChannelTargetArn(_ctx.stringValue("ListConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].DeliveryChannelTargetArn")); + deliveryChannel.setDeliveryChannelType(_ctx.stringValue("ListConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].DeliveryChannelType")); + deliveryChannel.setDeliverySnapshotTime(_ctx.stringValue("ListConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].DeliverySnapshotTime")); deliveryChannel.setDescription(_ctx.stringValue("ListConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].Description")); - deliveryChannel.setConfigurationSnapshot(_ctx.booleanValue("ListConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].ConfigurationSnapshot")); - deliveryChannel.setConfigurationItemChangeNotification(_ctx.booleanValue("ListConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].ConfigurationItemChangeNotification")); deliveryChannel.setNonCompliantNotification(_ctx.booleanValue("ListConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].NonCompliantNotification")); - deliveryChannel.setAccountId(_ctx.longValue("ListConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].AccountId")); - deliveryChannel.setDeliverySnapshotTime(_ctx.stringValue("ListConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].DeliverySnapshotTime")); + deliveryChannel.setOversizedDataOSSTargetArn(_ctx.stringValue("ListConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].OversizedDataOSSTargetArn")); + deliveryChannel.setStatus(_ctx.integerValue("ListConfigDeliveryChannelsResponse.DeliveryChannels["+ i +"].Status")); deliveryChannels.add(deliveryChannel); } diff --git a/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/transform/v20200907/ListDiscoveredResourcesResponseUnmarshaller.java b/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/transform/v20200907/ListDiscoveredResourcesResponseUnmarshaller.java index 5e2528b568..ef2028bd1b 100644 --- a/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/transform/v20200907/ListDiscoveredResourcesResponseUnmarshaller.java +++ b/aliyun-java-sdk-config/src/main/java/com/aliyuncs/config/transform/v20200907/ListDiscoveredResourcesResponseUnmarshaller.java @@ -30,24 +30,25 @@ public static ListDiscoveredResourcesResponse unmarshall(ListDiscoveredResources listDiscoveredResourcesResponse.setRequestId(_ctx.stringValue("ListDiscoveredResourcesResponse.RequestId")); DiscoveredResourceProfiles discoveredResourceProfiles = new DiscoveredResourceProfiles(); - discoveredResourceProfiles.setNextToken(_ctx.stringValue("ListDiscoveredResourcesResponse.DiscoveredResourceProfiles.NextToken")); discoveredResourceProfiles.setMaxResults(_ctx.integerValue("ListDiscoveredResourcesResponse.DiscoveredResourceProfiles.MaxResults")); + discoveredResourceProfiles.setNextToken(_ctx.stringValue("ListDiscoveredResourcesResponse.DiscoveredResourceProfiles.NextToken")); discoveredResourceProfiles.setTotalCount(_ctx.integerValue("ListDiscoveredResourcesResponse.DiscoveredResourceProfiles.TotalCount")); List discoveredResourceProfileList = new ArrayList(); for (int i = 0; i < _ctx.lengthValue("ListDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList.Length"); i++) { DiscoveredResourceProfile discoveredResourceProfile = new DiscoveredResourceProfile(); - discoveredResourceProfile.setResourceType(_ctx.stringValue("ListDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].ResourceType")); + discoveredResourceProfile.setAccountId(_ctx.longValue("ListDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].AccountId")); + discoveredResourceProfile.setAvailabilityZone(_ctx.stringValue("ListDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].AvailabilityZone")); discoveredResourceProfile.setRegion(_ctx.stringValue("ListDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].Region")); discoveredResourceProfile.setResourceCreationTime(_ctx.longValue("ListDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].ResourceCreationTime")); - discoveredResourceProfile.setTags(_ctx.stringValue("ListDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].Tags")); - discoveredResourceProfile.setAccountId(_ctx.longValue("ListDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].AccountId")); + discoveredResourceProfile.setResourceDeleted(_ctx.integerValue("ListDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].ResourceDeleted")); discoveredResourceProfile.setResourceId(_ctx.stringValue("ListDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].ResourceId")); discoveredResourceProfile.setResourceName(_ctx.stringValue("ListDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].ResourceName")); - discoveredResourceProfile.setResourceDeleted(_ctx.integerValue("ListDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].ResourceDeleted")); discoveredResourceProfile.setResourceStatus(_ctx.stringValue("ListDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].ResourceStatus")); + discoveredResourceProfile.setResourceType(_ctx.stringValue("ListDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].ResourceType")); + discoveredResourceProfile.setTags(_ctx.stringValue("ListDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].Tags")); + discoveredResourceProfile.setUpdateTime(_ctx.longValue("ListDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].UpdateTime")); discoveredResourceProfile.setVersion(_ctx.longValue("ListDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].Version")); - discoveredResourceProfile.setAvailabilityZone(_ctx.stringValue("ListDiscoveredResourcesResponse.DiscoveredResourceProfiles.DiscoveredResourceProfileList["+ i +"].AvailabilityZone")); discoveredResourceProfileList.add(discoveredResourceProfile); }