Skip to content

Commit

Permalink
Add parameters to control different role.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Aug 7, 2024
1 parent 45b7ec3 commit 6680d11
Show file tree
Hide file tree
Showing 115 changed files with 2,375 additions and 1,051 deletions.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-cloud-siem/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024-08-07 Version: 1.0.5
- Add parameters to control different role.

2024-03-27 Version: 1.0.4
- Standardizing api.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-cloud-siem/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-cloud-siem</artifactId>
<packaging>jar</packaging>
<version>1.0.4</version>
<version>1.0.5</version>
<name>aliyun-java-sdk-cloud-siem</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,14 @@ public class BindAccountRequest extends RpcAcsRequest<BindAccountResponse> {

private String cloudCode;

private Long roleFor;

private String accountId;

private String accountName;

private Integer roleType;

private String accessId;
public BindAccountRequest() {
super("cloud-siem", "2022-06-16", "BindAccount", "cloud-siem");
Expand All @@ -47,6 +51,17 @@ public void setCloudCode(String cloudCode) {
}
}

public Long getRoleFor() {
return this.roleFor;
}

public void setRoleFor(Long roleFor) {
this.roleFor = roleFor;
if(roleFor != null){
putBodyParameter("RoleFor", roleFor.toString());
}
}

public String getAccountId() {
return this.accountId;
}
Expand All @@ -69,6 +84,17 @@ public void setAccountName(String accountName) {
}
}

public Integer getRoleType() {
return this.roleType;
}

public void setRoleType(Integer roleType) {
this.roleType = roleType;
if(roleType != null){
putBodyParameter("RoleType", roleType.toString());
}
}

public String getAccessId() {
return this.accessId;
}
Expand Down
Loading

0 comments on commit 6680d11

Please sign in to comment.