Skip to content

Commit

Permalink
Support for rule feature.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Aug 28, 2024
1 parent 5e3e8ba commit 2c6376e
Show file tree
Hide file tree
Showing 30 changed files with 677 additions and 478 deletions.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-config/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-config/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-config</artifactId>
<packaging>jar</packaging>
<version>2.2.14</version>
<version>2.2.15</version>
<name>aliyun-java-sdk-config</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ public class CreateAggregateConfigDeliveryChannelRequest extends RpcAcsRequest<C

private Boolean configurationItemChangeNotification;

private Boolean compliantSnapshot;

private String deliveryChannelName;

private String deliverySnapshotTime;
Expand Down Expand Up @@ -145,6 +147,17 @@ public void setConfigurationItemChangeNotification(Boolean configurationItemChan
}
}

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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,9 @@
*/
public class CreateAggregateConfigDeliveryChannelResponse extends AcsResponse {

private String requestId;

private String deliveryChannelId;

public String getRequestId() {
return this.requestId;
}

public void setRequestId(String requestId) {
this.requestId = requestId;
}
private String requestId;

public String getDeliveryChannelId() {
return this.deliveryChannelId;
Expand All @@ -44,6 +36,14 @@ public void setDeliveryChannelId(String deliveryChannelId) {
this.deliveryChannelId = deliveryChannelId;
}

public String getRequestId() {
return this.requestId;
}

public void setRequestId(String requestId) {
this.requestId = requestId;
}

@Override
public CreateAggregateConfigDeliveryChannelResponse getInstance(UnmarshallerContext context) {
return CreateAggregateConfigDeliveryChannelResponseUnmarshaller.unmarshall(this, context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ public class CreateConfigDeliveryChannelRequest extends RpcAcsRequest<CreateConf

private Boolean configurationItemChangeNotification;

private Boolean compliantSnapshot;

private String deliveryChannelName;

private String deliverySnapshotTime;
Expand Down Expand Up @@ -132,6 +134,17 @@ public void setConfigurationItemChangeNotification(Boolean configurationItemChan
}
}

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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,9 @@
*/
public class CreateConfigDeliveryChannelResponse extends AcsResponse {

private String requestId;

private String deliveryChannelId;

public String getRequestId() {
return this.requestId;
}

public void setRequestId(String requestId) {
this.requestId = requestId;
}
private String requestId;

public String getDeliveryChannelId() {
return this.deliveryChannelId;
Expand All @@ -44,6 +36,14 @@ public void setDeliveryChannelId(String deliveryChannelId) {
this.deliveryChannelId = deliveryChannelId;
}

public String getRequestId() {
return this.requestId;
}

public void setRequestId(String requestId) {
this.requestId = requestId;
}

@Override
public CreateConfigDeliveryChannelResponse getInstance(UnmarshallerContext context) {
return CreateConfigDeliveryChannelResponseUnmarshaller.unmarshall(this, context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,74 +46,76 @@ public void setDeliveryChannel(DeliveryChannel deliveryChannel) {

public static class DeliveryChannel {

private Integer status;
private String accountId;

private String deliveryChannelId;
private String aggregatorId;

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 String aggregatorId;
private String description;

private String accountId;
private Boolean nonCompliantNotification;

private String deliverySnapshotTime;
private String oversizedDataOSSTargetArn;

public Integer getStatus() {
return this.status;
private Integer status;

public String getAccountId() {
return this.accountId;
}

public void setStatus(Integer status) {
this.status = status;
public void setAccountId(String accountId) {
this.accountId = accountId;
}

public String getDeliveryChannelId() {
return this.deliveryChannelId;
public String getAggregatorId() {
return this.aggregatorId;
}

public void setDeliveryChannelId(String deliveryChannelId) {
this.deliveryChannelId = deliveryChannelId;
public void setAggregatorId(String aggregatorId) {
this.aggregatorId = aggregatorId;
}

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() {
Expand All @@ -132,68 +134,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 String getAccountId() {
return this.accountId;
public Boolean getNonCompliantNotification() {
return this.nonCompliantNotification;
}

public void setAccountId(String 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;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class GetAggregateConfigRuleSummaryByRiskLevelRequest extends RpcAcsReque
private String aggregatorId;
public GetAggregateConfigRuleSummaryByRiskLevelRequest() {
super("Config", "2020-09-07", "GetAggregateConfigRuleSummaryByRiskLevel", "config");
setMethod(MethodType.GET);
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
Expand Down
Loading

0 comments on commit 2c6376e

Please sign in to comment.