com.aliyun.ess20220222.models.RollbackInstanceRefreshRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ess20220222.models;
import com.aliyun.tea.*;
public class RollbackInstanceRefreshRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* ir-a12ds234fasd*****
*/
@NameInMap("InstanceRefreshTaskId")
public String instanceRefreshTaskId;
@NameInMap("OwnerId")
public Long ownerId;
/**
* This parameter is required.
*
* example:
* cn-hangzhou
*/
@NameInMap("RegionId")
public String regionId;
@NameInMap("ResourceOwnerAccount")
public String resourceOwnerAccount;
/**
* This parameter is required.
*
* example:
* asg-bp18p2yfxow2dloq****
*/
@NameInMap("ScalingGroupId")
public String scalingGroupId;
public static RollbackInstanceRefreshRequest build(java.util.Map map) throws Exception {
RollbackInstanceRefreshRequest self = new RollbackInstanceRefreshRequest();
return TeaModel.build(map, self);
}
public RollbackInstanceRefreshRequest setInstanceRefreshTaskId(String instanceRefreshTaskId) {
this.instanceRefreshTaskId = instanceRefreshTaskId;
return this;
}
public String getInstanceRefreshTaskId() {
return this.instanceRefreshTaskId;
}
public RollbackInstanceRefreshRequest setOwnerId(Long ownerId) {
this.ownerId = ownerId;
return this;
}
public Long getOwnerId() {
return this.ownerId;
}
public RollbackInstanceRefreshRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public RollbackInstanceRefreshRequest setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public RollbackInstanceRefreshRequest setScalingGroupId(String scalingGroupId) {
this.scalingGroupId = scalingGroupId;
return this;
}
public String getScalingGroupId() {
return this.scalingGroupId;
}
}