All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.ess20220222.models.DeleteScalingRuleRequest Maven / Gradle / Ivy

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 DeleteScalingRuleRequest} extends {@link RequestModel}
 *
 * 

DeleteScalingRuleRequest

*/ public class DeleteScalingRuleRequest 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("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount") private String resourceOwnerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ScalingRuleId") @com.aliyun.core.annotation.Validation(required = true) private String scalingRuleId; private DeleteScalingRuleRequest(Builder builder) { super(builder); this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.regionId = builder.regionId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.scalingRuleId = builder.scalingRuleId; } public static Builder builder() { return new Builder(); } public static DeleteScalingRuleRequest 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 regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceOwnerAccount */ public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return scalingRuleId */ public String getScalingRuleId() { return this.scalingRuleId; } public static final class Builder extends Request.Builder { private String ownerAccount; private Long ownerId; private String regionId; private String resourceOwnerAccount; private String scalingRuleId; private Builder() { super(); } private Builder(DeleteScalingRuleRequest request) { super(request); this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.regionId = request.regionId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.scalingRuleId = request.scalingRuleId; } /** * 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; } /** *

The region ID of the scaling group.

* * example: *

cn-qingdao

*/ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * ResourceOwnerAccount. */ public Builder resourceOwnerAccount(String resourceOwnerAccount) { this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); this.resourceOwnerAccount = resourceOwnerAccount; return this; } /** *

The ID of the scaling rule that you want to delete.

*

This parameter is required.

* * example: *

asr-bp163l21e07uhnyt****

*/ public Builder scalingRuleId(String scalingRuleId) { this.putQueryParameter("ScalingRuleId", scalingRuleId); this.scalingRuleId = scalingRuleId; return this; } @Override public DeleteScalingRuleRequest build() { return new DeleteScalingRuleRequest(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy