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

com.aliyun.sdk.service.ess20220222.models.DescribeScalingActivityDetailRequest 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 DescribeScalingActivityDetailRequest} extends {@link RequestModel}
 *
 * 

DescribeScalingActivityDetailRequest

*/ public class DescribeScalingActivityDetailRequest extends Request { @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("ResourceOwnerId") private Long resourceOwnerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ScalingActivityId") @com.aliyun.core.annotation.Validation(required = true) private String scalingActivityId; private DescribeScalingActivityDetailRequest(Builder builder) { super(builder); this.ownerId = builder.ownerId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.scalingActivityId = builder.scalingActivityId; } public static Builder builder() { return new Builder(); } public static DescribeScalingActivityDetailRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return resourceOwnerAccount */ public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } /** * @return scalingActivityId */ public String getScalingActivityId() { return this.scalingActivityId; } public static final class Builder extends Request.Builder { private Long ownerId; private String resourceOwnerAccount; private Long resourceOwnerId; private String scalingActivityId; private Builder() { super(); } private Builder(DescribeScalingActivityDetailRequest request) { super(request); this.ownerId = request.ownerId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.scalingActivityId = request.scalingActivityId; } /** * 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; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } /** *

The ID of the scaling activity that you want to query. You can call the DescribeScalingActivities operation to query the IDs of scaling activities.

*

This parameter is required.

* * example: *

asa-bp1c9djwrgxjyk31****

*/ public Builder scalingActivityId(String scalingActivityId) { this.putQueryParameter("ScalingActivityId", scalingActivityId); this.scalingActivityId = scalingActivityId; return this; } @Override public DescribeScalingActivityDetailRequest build() { return new DescribeScalingActivityDetailRequest(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy