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

com.aliyun.sdk.service.ens20171110.models.DeleteApplicationRequest Maven / Gradle / Ivy

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

import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

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

DeleteApplicationRequest

*/ public class DeleteApplicationRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Timeout") private Integer timeout; private DeleteApplicationRequest(Builder builder) { super(builder); this.appId = builder.appId; this.timeout = builder.timeout; } public static Builder builder() { return new Builder(); } public static DeleteApplicationRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return timeout */ public Integer getTimeout() { return this.timeout; } public static final class Builder extends Request.Builder { private String appId; private Integer timeout; private Builder() { super(); } private Builder(DeleteApplicationRequest request) { super(request); this.appId = request.appId; this.timeout = request.timeout; } /** *

The ID of the application. To obtain the application ID, call the ListApplication operation.

*

This parameter is required.

* * example: *

d0639abf-789a-4527-b420-031d2cd9ad9b

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

The timeout period for the asynchronous release. Unit: seconds. Default value: 300.

* * example: *

1800

*/ public Builder timeout(Integer timeout) { this.putQueryParameter("Timeout", timeout); this.timeout = timeout; return this; } @Override public DeleteApplicationRequest build() { return new DeleteApplicationRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy