com.aliyun.sdk.service.bpstudio20210931.models.QueryInstanceSpec4ModifyRequest 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 QueryInstanceSpec4ModifyRequest} extends {@link RequestModel}
*
* QueryInstanceSpec4ModifyRequest
*/
public class QueryInstanceSpec4ModifyRequest 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("InstanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String instanceId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("MethodName")
private String methodName;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("Parameters")
private java.util.Map < String, ? > parameters;
private QueryInstanceSpec4ModifyRequest(Builder builder) {
super(builder);
this.applicationId = builder.applicationId;
this.instanceId = builder.instanceId;
this.methodName = builder.methodName;
this.parameters = builder.parameters;
}
public static Builder builder() {
return new Builder();
}
public static QueryInstanceSpec4ModifyRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return applicationId
*/
public String getApplicationId() {
return this.applicationId;
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return methodName
*/
public String getMethodName() {
return this.methodName;
}
/**
* @return parameters
*/
public java.util.Map < String, ? > getParameters() {
return this.parameters;
}
public static final class Builder extends Request.Builder {
private String applicationId;
private String instanceId;
private String methodName;
private java.util.Map < String, ? > parameters;
private Builder() {
super();
}
private Builder(QueryInstanceSpec4ModifyRequest request) {
super(request);
this.applicationId = request.applicationId;
this.instanceId = request.instanceId;
this.methodName = request.methodName;
this.parameters = request.parameters;
}
/**
* ApplicationId.
*/
public Builder applicationId(String applicationId) {
this.putBodyParameter("ApplicationId", applicationId);
this.applicationId = applicationId;
return this;
}
/**
* InstanceId.
*/
public Builder instanceId(String instanceId) {
this.putBodyParameter("InstanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* MethodName.
*/
public Builder methodName(String methodName) {
this.putBodyParameter("MethodName", methodName);
this.methodName = methodName;
return this;
}
/**
* Parameters.
*/
public Builder parameters(java.util.Map < String, ? > parameters) {
String parametersShrink = shrink(parameters, "Parameters", "json");
this.putBodyParameter("Parameters", parametersShrink);
this.parameters = parameters;
return this;
}
@Override
public QueryInstanceSpec4ModifyRequest build() {
return new QueryInstanceSpec4ModifyRequest(this);
}
}
}