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

com.aliyun.sdk.service.emr20210320.models.GetOperationRequest Maven / Gradle / Ivy

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

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

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

GetOperationRequest

*/ public class GetOperationRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClusterId") @com.aliyun.core.annotation.Validation(required = true) private String clusterId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OperationId") @com.aliyun.core.annotation.Validation(required = true) private String operationId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; private GetOperationRequest(Builder builder) { super(builder); this.clusterId = builder.clusterId; this.operationId = builder.operationId; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static GetOperationRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return operationId */ public String getOperationId() { return this.operationId; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder extends Request.Builder { private String clusterId; private String operationId; private String regionId; private Builder() { super(); } private Builder(GetOperationRequest request) { super(request); this.clusterId = request.clusterId; this.operationId = request.operationId; this.regionId = request.regionId; } /** * The ID of the cluster that you want to query. */ public Builder clusterId(String clusterId) { this.putQueryParameter("ClusterId", clusterId); this.clusterId = clusterId; return this; } /** * The operation ID. *

* * References: * * * [CreateCluster](~~454393~~) * * [IncreaseNodes](~~454397~~) */ public Builder operationId(String operationId) { this.putQueryParameter("OperationId", operationId); this.operationId = operationId; return this; } /** * The district ID. */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } @Override public GetOperationRequest build() { return new GetOperationRequest(this); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy