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

com.aliyun.sdk.service.bpstudio20210931.models.DeployApplicationRequest Maven / Gradle / Ivy

There is a newer version: 5.0.6
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.bpstudio20210931.models;

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

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

DeployApplicationRequest

*/ public class DeployApplicationRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ApplicationId") @com.aliyun.core.annotation.Validation(required = true) private String applicationId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("ClientToken") private String clientToken; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; private DeployApplicationRequest(Builder builder) { super(builder); this.applicationId = builder.applicationId; this.clientToken = builder.clientToken; this.resourceGroupId = builder.resourceGroupId; } public static Builder builder() { return new Builder(); } public static DeployApplicationRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return applicationId */ public String getApplicationId() { return this.applicationId; } /** * @return clientToken */ public String getClientToken() { return this.clientToken; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } public static final class Builder extends Request.Builder { private String applicationId; private String clientToken; private String resourceGroupId; private Builder() { super(); } private Builder(DeployApplicationRequest request) { super(request); this.applicationId = request.applicationId; this.clientToken = request.clientToken; this.resourceGroupId = request.resourceGroupId; } /** * The ID of the application. */ public Builder applicationId(String applicationId) { this.putQueryParameter("ApplicationId", applicationId); this.applicationId = applicationId; return this; } /** * The client token that is used to ensure the idempotence of the request. */ public Builder clientToken(String clientToken) { this.putBodyParameter("ClientToken", clientToken); this.clientToken = clientToken; return this; } /** * The ID of the resource group. */ public Builder resourceGroupId(String resourceGroupId) { this.putBodyParameter("ResourceGroupId", resourceGroupId); this.resourceGroupId = resourceGroupId; return this; } @Override public DeployApplicationRequest build() { return new DeployApplicationRequest(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy