com.aliyun.sdk.service.ess20220222.models.DeactivateScalingConfigurationRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ess20220222 Show documentation
Show all versions of alibabacloud-ess20220222 Show documentation
Alibaba Cloud Ess (20220222) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ess20220222.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DeactivateScalingConfigurationRequest} extends {@link RequestModel}
*
* DeactivateScalingConfigurationRequest
*/
public class DeactivateScalingConfigurationRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ScalingConfigurationId")
@com.aliyun.core.annotation.Validation(required = true)
private String scalingConfigurationId;
private DeactivateScalingConfigurationRequest(Builder builder) {
super(builder);
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.scalingConfigurationId = builder.scalingConfigurationId;
}
public static Builder builder() {
return new Builder();
}
public static DeactivateScalingConfigurationRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return scalingConfigurationId
*/
public String getScalingConfigurationId() {
return this.scalingConfigurationId;
}
public static final class Builder extends Request.Builder {
private String ownerAccount;
private Long ownerId;
private String resourceOwnerAccount;
private String scalingConfigurationId;
private Builder() {
super();
}
private Builder(DeactivateScalingConfigurationRequest request) {
super(request);
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.scalingConfigurationId = request.scalingConfigurationId;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* The ID of the scaling configuration.
* This parameter is required.
*
* example:
* asc-bp1ahp2ud7qkzt2a****
*/
public Builder scalingConfigurationId(String scalingConfigurationId) {
this.putQueryParameter("ScalingConfigurationId", scalingConfigurationId);
this.scalingConfigurationId = scalingConfigurationId;
return this;
}
@Override
public DeactivateScalingConfigurationRequest build() {
return new DeactivateScalingConfigurationRequest(this);
}
}
}