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

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

CreateDiagnoseReportRequest

*/ public class CreateDiagnoseReportRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ScalingGroupId") @com.aliyun.core.annotation.Validation(required = true) private String scalingGroupId; private CreateDiagnoseReportRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.scalingGroupId = builder.scalingGroupId; } public static Builder builder() { return new Builder(); } public static CreateDiagnoseReportRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return scalingGroupId */ public String getScalingGroupId() { return this.scalingGroupId; } public static final class Builder extends Request.Builder { private String regionId; private String scalingGroupId; private Builder() { super(); } private Builder(CreateDiagnoseReportRequest request) { super(request); this.regionId = request.regionId; this.scalingGroupId = request.scalingGroupId; } /** *

This parameter is required.

* * example: *

cn-hangzhou

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

This parameter is required.

* * example: *

asg-bp1f2f6oxc2*******

*/ public Builder scalingGroupId(String scalingGroupId) { this.putQueryParameter("ScalingGroupId", scalingGroupId); this.scalingGroupId = scalingGroupId; return this; } @Override public CreateDiagnoseReportRequest build() { return new CreateDiagnoseReportRequest(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy