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

com.aliyun.sdk.service.edas20170801.models.StopApplicationRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.edas20170801.models;

import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * {@link StopApplicationRequest} extends {@link RequestModel}
 *
 * 

StopApplicationRequest

*/ public class StopApplicationRequest extends Request { @Query @NameInMap("AppId") @Validation(required = true) private String appId; @Query @NameInMap("EccInfo") private String eccInfo; private StopApplicationRequest(Builder builder) { super(builder); this.appId = builder.appId; this.eccInfo = builder.eccInfo; } public static Builder builder() { return new Builder(); } public static StopApplicationRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return eccInfo */ public String getEccInfo() { return this.eccInfo; } public static final class Builder extends Request.Builder { private String appId; private String eccInfo; private Builder() { super(); } private Builder(StopApplicationRequest request) { super(request); this.appId = request.appId; this.eccInfo = request.eccInfo; } /** * The ID of the application. You can call the ListApplication operation to query the application ID. For more information, see [ListApplication](~~149390~~). */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * The ID of the elastic compute container (ECC) that corresponds to the Elastic Compute Service (ECS) instance on which you want to stop the application. You can call the QueryApplicationStatus operation to query the ECC ID. For more information, see [QueryApplicationStatus](~~149394~~). *

* * * If you want to stop the application on multiple ECS instances, separate the ECC IDs with commas (,). * * If you leave this parameter empty, the application will be stopped on all ECS instances. */ public Builder eccInfo(String eccInfo) { this.putQueryParameter("EccInfo", eccInfo); this.eccInfo = eccInfo; return this; } @Override public StopApplicationRequest build() { return new StopApplicationRequest(this); } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy