Skip to content

Commit

Permalink
Add CreateCustomGroup api sdk.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Jul 5, 2023
1 parent d68411e commit 5bb528f
Show file tree
Hide file tree
Showing 18 changed files with 487 additions and 44 deletions.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-mts/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2023-07-05 Version: 3.3.58
- Add CreateCustomGroup api sdk.

2023-02-14 Version: 3.3.56
- Update QueryFpShotJobList add duration.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-mts/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-mts</artifactId>
<packaging>jar</packaging>
<version>3.3.56</version>
<version>3.3.58</version>
<name>aliyun-java-sdk-mts</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 @@ -31,6 +31,8 @@ public class AddPipelineRequest extends RpcAcsRequest<AddPipelineResponse> {

private String speed;

private String extendConfig;

private String resourceOwnerAccount;

private String ownerAccount;
Expand Down Expand Up @@ -84,6 +86,17 @@ public void setSpeed(String speed) {
}
}

public String getExtendConfig() {
return this.extendConfig;
}

public void setExtendConfig(String extendConfig) {
this.extendConfig = extendConfig;
if(extendConfig != null){
putQueryParameter("ExtendConfig", extendConfig);
}
}

public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ public static class Pipeline {

private NotifyConfig notifyConfig;

private ExtendConfig extendConfig;

public String getSpeed() {
return this.speed;
}
Expand Down Expand Up @@ -126,6 +128,14 @@ public void setNotifyConfig(NotifyConfig notifyConfig) {
this.notifyConfig = notifyConfig;
}

public ExtendConfig getExtendConfig() {
return this.extendConfig;
}

public void setExtendConfig(ExtendConfig extendConfig) {
this.extendConfig = extendConfig;
}

public static class NotifyConfig {

private String mqTopic;
Expand Down Expand Up @@ -168,6 +178,39 @@ public void setTopic(String topic) {
this.topic = topic;
}
}

public static class ExtendConfig {

private Boolean isBoostNew;

private Integer maxMultiSpeed;

private String multiSpeedDowngradePolicy;

public Boolean getIsBoostNew() {
return this.isBoostNew;
}

public void setIsBoostNew(Boolean isBoostNew) {
this.isBoostNew = isBoostNew;
}

public Integer getMaxMultiSpeed() {
return this.maxMultiSpeed;
}

public void setMaxMultiSpeed(Integer maxMultiSpeed) {
this.maxMultiSpeed = maxMultiSpeed;
}

public String getMultiSpeedDowngradePolicy() {
return this.multiSpeedDowngradePolicy;
}

public void setMultiSpeedDowngradePolicy(String multiSpeedDowngradePolicy) {
this.multiSpeedDowngradePolicy = multiSpeedDowngradePolicy;
}
}
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ public class BindInputBucketRequest extends RpcAcsRequest<BindInputBucketRespons

private Long ownerId;

private String bucket;

private String roleArn;
private String bucket;
public BindInputBucketRequest() {
super("Mts", "2014-06-18", "BindInputBucket", "mts");
setMethod(MethodType.POST);
Expand Down Expand Up @@ -111,17 +109,6 @@ public void setBucket(String bucket) {
if(bucket != null){
putQueryParameter("Bucket", bucket);
}
}

public String getRoleArn() {
return this.roleArn;
}

public void setRoleArn(String roleArn) {
this.roleArn = roleArn;
if(roleArn != null){
putQueryParameter("RoleArn", roleArn);
}
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ public class BindOutputBucketRequest extends RpcAcsRequest<BindOutputBucketRespo

private Long ownerId;

private String bucket;

private String roleArn;
private String bucket;
public BindOutputBucketRequest() {
super("Mts", "2014-06-18", "BindOutputBucket", "mts");
setMethod(MethodType.POST);
Expand Down Expand Up @@ -98,17 +96,6 @@ public void setBucket(String bucket) {
if(bucket != null){
putQueryParameter("Bucket", bucket);
}
}

public String getRoleArn() {
return this.roleArn;
}

public void setRoleArn(String roleArn) {
this.roleArn = roleArn;
if(roleArn != null){
putQueryParameter("RoleArn", roleArn);
}
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ public class CancelJobRequest extends RpcAcsRequest<CancelJobResponse> {

private Long resourceOwnerId;

private String jobId;

private String resourceOwnerAccount;

private String ownerAccount;

private Long ownerId;

private String jobId;
private Long ownerId;
public CancelJobRequest() {
super("Mts", "2014-06-18", "CancelJob", "mts");
setMethod(MethodType.POST);
Expand All @@ -54,6 +54,17 @@ public void setResourceOwnerId(Long resourceOwnerId) {
}
}

public String getJobId() {
return this.jobId;
}

public void setJobId(String jobId) {
this.jobId = jobId;
if(jobId != null){
putQueryParameter("JobId", jobId);
}
}

public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
Expand Down Expand Up @@ -85,17 +96,6 @@ public void setOwnerId(Long ownerId) {
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}

public String getJobId() {
return this.jobId;
}

public void setJobId(String jobId) {
this.jobId = jobId;
if(jobId != null){
putQueryParameter("JobId", jobId);
}
}

@Override
Expand Down
Loading

0 comments on commit 5bb528f

Please sign in to comment.