com.aliyun.sdk.service.bpstudio20210931.models.DeleteApplicationRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-bpstudio20210931 Show documentation
Show all versions of alibabacloud-bpstudio20210931 Show documentation
Alibaba Cloud BPStudio (20210931) Async SDK for Java
// 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 DeleteApplicationRequest} extends {@link RequestModel}
*
* DeleteApplicationRequest
*/
public class DeleteApplicationRequest extends Request {
@com.aliyun.core.annotation.Body
@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("ResourceGroupId")
private String resourceGroupId;
private DeleteApplicationRequest(Builder builder) {
super(builder);
this.applicationId = builder.applicationId;
this.resourceGroupId = builder.resourceGroupId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteApplicationRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return applicationId
*/
public String getApplicationId() {
return this.applicationId;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
public static final class Builder extends Request.Builder {
private String applicationId;
private String resourceGroupId;
private Builder() {
super();
}
private Builder(DeleteApplicationRequest request) {
super(request);
this.applicationId = request.applicationId;
this.resourceGroupId = request.resourceGroupId;
}
/**
* The ID of the application.
*/
public Builder applicationId(String applicationId) {
this.putBodyParameter("ApplicationId", applicationId);
this.applicationId = applicationId;
return this;
}
/**
* The ID of the resource group.
*/
public Builder resourceGroupId(String resourceGroupId) {
this.putBodyParameter("ResourceGroupId", resourceGroupId);
this.resourceGroupId = resourceGroupId;
return this;
}
@Override
public DeleteApplicationRequest build() {
return new DeleteApplicationRequest(this);
}
}
}