com.aliyun.sdk.service.bpstudio20210931.models.GetApplicationRequest 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 GetApplicationRequest} extends {@link RequestModel}
*
* GetApplicationRequest
*/
public class GetApplicationRequest 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 GetApplicationRequest(Builder builder) {
super(builder);
this.applicationId = builder.applicationId;
this.resourceGroupId = builder.resourceGroupId;
}
public static Builder builder() {
return new Builder();
}
public static GetApplicationRequest 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(GetApplicationRequest request) {
super(request);
this.applicationId = request.applicationId;
this.resourceGroupId = request.resourceGroupId;
}
/**
* The ID of the request.
*/
public Builder applicationId(String applicationId) {
this.putBodyParameter("ApplicationId", applicationId);
this.applicationId = applicationId;
return this;
}
/**
* Queries the basic information, verification results, billing results, and deployment results of an application.
*/
public Builder resourceGroupId(String resourceGroupId) {
this.putBodyParameter("ResourceGroupId", resourceGroupId);
this.resourceGroupId = resourceGroupId;
return this;
}
@Override
public GetApplicationRequest build() {
return new GetApplicationRequest(this);
}
}
}