com.aliyun.sdk.service.bpstudio20210931.models.GetExecuteOperationResultRequest 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 GetExecuteOperationResultRequest} extends {@link RequestModel}
*
* GetExecuteOperationResultRequest
*/
public class GetExecuteOperationResultRequest extends Request {
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("OperationId")
@com.aliyun.core.annotation.Validation(required = true)
private String operationId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("ResourceGroupId")
private String resourceGroupId;
private GetExecuteOperationResultRequest(Builder builder) {
super(builder);
this.operationId = builder.operationId;
this.resourceGroupId = builder.resourceGroupId;
}
public static Builder builder() {
return new Builder();
}
public static GetExecuteOperationResultRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return operationId
*/
public String getOperationId() {
return this.operationId;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
public static final class Builder extends Request.Builder {
private String operationId;
private String resourceGroupId;
private Builder() {
super();
}
private Builder(GetExecuteOperationResultRequest request) {
super(request);
this.operationId = request.operationId;
this.resourceGroupId = request.resourceGroupId;
}
/**
* The ID of the operation.
*/
public Builder operationId(String operationId) {
this.putBodyParameter("OperationId", operationId);
this.operationId = operationId;
return this;
}
/**
* The ID of the resource group. This parameter is specified to verify the permissions on the resource group.
*/
public Builder resourceGroupId(String resourceGroupId) {
this.putBodyParameter("ResourceGroupId", resourceGroupId);
this.resourceGroupId = resourceGroupId;
return this;
}
@Override
public GetExecuteOperationResultRequest build() {
return new GetExecuteOperationResultRequest(this);
}
}
}