![JAR search and dependency download from the Maven repository](/logo.png)
com.aliyun.sdk.service.edas20170801.models.GetServiceMethodPageRequest Maven / Gradle / Ivy
Show all versions of alibabacloud-edas20170801 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.edas20170801.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetServiceMethodPageRequest} extends {@link RequestModel}
*
* GetServiceMethodPageRequest
*/
public class GetServiceMethodPageRequest extends Request {
@Query
@NameInMap("appId")
private String appId;
@Query
@NameInMap("group")
private String group;
@Query
@NameInMap("ip")
private String ip;
@Query
@NameInMap("methodController")
private String methodController;
@Query
@NameInMap("name")
private String name;
@Query
@NameInMap("namespace")
private String namespace;
@Query
@NameInMap("origin")
private String origin;
@Query
@NameInMap("pageNumber")
private Integer pageNumber;
@Query
@NameInMap("pageSize")
private Integer pageSize;
@Query
@NameInMap("path")
private String path;
@Query
@NameInMap("region")
private String region;
@Query
@NameInMap("registryType")
private String registryType;
@Query
@NameInMap("serviceId")
private String serviceId;
@Query
@NameInMap("serviceName")
private String serviceName;
@Query
@NameInMap("serviceType")
private String serviceType;
@Query
@NameInMap("serviceVersion")
private String serviceVersion;
@Query
@NameInMap("source")
private String source;
private GetServiceMethodPageRequest(Builder builder) {
super(builder);
this.appId = builder.appId;
this.group = builder.group;
this.ip = builder.ip;
this.methodController = builder.methodController;
this.name = builder.name;
this.namespace = builder.namespace;
this.origin = builder.origin;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.path = builder.path;
this.region = builder.region;
this.registryType = builder.registryType;
this.serviceId = builder.serviceId;
this.serviceName = builder.serviceName;
this.serviceType = builder.serviceType;
this.serviceVersion = builder.serviceVersion;
this.source = builder.source;
}
public static Builder builder() {
return new Builder();
}
public static GetServiceMethodPageRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return appId
*/
public String getAppId() {
return this.appId;
}
/**
* @return group
*/
public String getGroup() {
return this.group;
}
/**
* @return ip
*/
public String getIp() {
return this.ip;
}
/**
* @return methodController
*/
public String getMethodController() {
return this.methodController;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return namespace
*/
public String getNamespace() {
return this.namespace;
}
/**
* @return origin
*/
public String getOrigin() {
return this.origin;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return path
*/
public String getPath() {
return this.path;
}
/**
* @return region
*/
public String getRegion() {
return this.region;
}
/**
* @return registryType
*/
public String getRegistryType() {
return this.registryType;
}
/**
* @return serviceId
*/
public String getServiceId() {
return this.serviceId;
}
/**
* @return serviceName
*/
public String getServiceName() {
return this.serviceName;
}
/**
* @return serviceType
*/
public String getServiceType() {
return this.serviceType;
}
/**
* @return serviceVersion
*/
public String getServiceVersion() {
return this.serviceVersion;
}
/**
* @return source
*/
public String getSource() {
return this.source;
}
public static final class Builder extends Request.Builder {
private String appId;
private String group;
private String ip;
private String methodController;
private String name;
private String namespace;
private String origin;
private Integer pageNumber;
private Integer pageSize;
private String path;
private String region;
private String registryType;
private String serviceId;
private String serviceName;
private String serviceType;
private String serviceVersion;
private String source;
private Builder() {
super();
}
private Builder(GetServiceMethodPageRequest request) {
super(request);
this.appId = request.appId;
this.group = request.group;
this.ip = request.ip;
this.methodController = request.methodController;
this.name = request.name;
this.namespace = request.namespace;
this.origin = request.origin;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.path = request.path;
this.region = request.region;
this.registryType = request.registryType;
this.serviceId = request.serviceId;
this.serviceName = request.serviceName;
this.serviceType = request.serviceType;
this.serviceVersion = request.serviceVersion;
this.source = request.source;
}
/**
* The ID of the application.
*/
public Builder appId(String appId) {
this.putQueryParameter("appId", appId);
this.appId = appId;
return this;
}
/**
* The group to which the service belongs.
*/
public Builder group(String group) {
this.putQueryParameter("group", group);
this.group = group;
return this;
}
/**
* The IP address of the service.
*/
public Builder ip(String ip) {
this.putQueryParameter("ip", ip);
this.ip = ip;
return this;
}
/**
* The controller method.
*/
public Builder methodController(String methodController) {
this.putQueryParameter("methodController", methodController);
this.methodController = methodController;
return this;
}
/**
* The name of the method.
*/
public Builder name(String name) {
this.putQueryParameter("name", name);
this.name = name;
return this;
}
/**
* The ID of the namespace.
*/
public Builder namespace(String namespace) {
this.putQueryParameter("namespace", namespace);
this.namespace = namespace;
return this;
}
/**
* The source of the data. Valid values:
*
*
* * agent: Use this value if you use the service query feature of the latest version to pass the query result.
* * registry: Use this value if you use the service query feature of the earlier version to pass the query result.
*/
public Builder origin(String origin) {
this.putQueryParameter("origin", origin);
this.origin = origin;
return this;
}
/**
* The number of the page to return.
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("pageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* The number of entries to return on each page.
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("pageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* The request path.
*/
public Builder path(String path) {
this.putQueryParameter("path", path);
this.path = path;
return this;
}
/**
* The ID of the region.
*/
public Builder region(String region) {
this.putQueryParameter("region", region);
this.region = region;
return this;
}
/**
* The type of the service registry.
*/
public Builder registryType(String registryType) {
this.putQueryParameter("registryType", registryType);
this.registryType = registryType;
return this;
}
/**
* The ID of the service.
*/
public Builder serviceId(String serviceId) {
this.putQueryParameter("serviceId", serviceId);
this.serviceId = serviceId;
return this;
}
/**
* The name of the service.
*/
public Builder serviceName(String serviceName) {
this.putQueryParameter("serviceName", serviceName);
this.serviceName = serviceName;
return this;
}
/**
* The type of the service. Valid values:
*
*
* * dubbo: Dubbo service
* * springCloud: Spring Cloud service
* * hsf: High-speed Service Framework (HSF) service
*/
public Builder serviceType(String serviceType) {
this.putQueryParameter("serviceType", serviceType);
this.serviceType = serviceType;
return this;
}
/**
* The version of the service.
*/
public Builder serviceVersion(String serviceVersion) {
this.putQueryParameter("serviceVersion", serviceVersion);
this.serviceVersion = serviceVersion;
return this;
}
/**
* The source of the service. Set the value to edas.
*/
public Builder source(String source) {
this.putQueryParameter("source", source);
this.source = source;
return this;
}
@Override
public GetServiceMethodPageRequest build() {
return new GetServiceMethodPageRequest(this);
}
}
}