com.aliyun.sdk.service.milvus20231012.models.GetInstanceDetailRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-milvus20231012 Show documentation
Show all versions of alibabacloud-milvus20231012 Show documentation
Alibaba Cloud milvus (20231012) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.milvus20231012.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetInstanceDetailRequest} extends {@link RequestModel}
*
* GetInstanceDetailRequest
*/
public class GetInstanceDetailRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("InstanceId")
private String instanceId;
private GetInstanceDetailRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.instanceId = builder.instanceId;
}
public static Builder builder() {
return new Builder();
}
public static GetInstanceDetailRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
public static final class Builder extends Request.Builder {
private String regionId;
private String instanceId;
private Builder() {
super();
}
private Builder(GetInstanceDetailRequest request) {
super(request);
this.regionId = request.regionId;
this.instanceId = request.instanceId;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* InstanceId.
*/
public Builder instanceId(String instanceId) {
this.putQueryParameter("InstanceId", instanceId);
this.instanceId = instanceId;
return this;
}
@Override
public GetInstanceDetailRequest build() {
return new GetInstanceDetailRequest(this);
}
}
}