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

com.aliyun.sdk.service.mse20190531.models.ListGatewayRequest Maven / Gradle / Ivy

There is a newer version: 6.0.23
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.mse20190531.models;

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

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

ListGatewayRequest

*/ public class ListGatewayRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AcceptLanguage") private String acceptLanguage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DescSort") private Boolean descSort; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("FilterParams") private FilterParams filterParams; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OrderItem") private String orderItem; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; private ListGatewayRequest(Builder builder) { super(builder); this.acceptLanguage = builder.acceptLanguage; this.descSort = builder.descSort; this.filterParams = builder.filterParams; this.orderItem = builder.orderItem; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; } public static Builder builder() { return new Builder(); } public static ListGatewayRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return acceptLanguage */ public String getAcceptLanguage() { return this.acceptLanguage; } /** * @return descSort */ public Boolean getDescSort() { return this.descSort; } /** * @return filterParams */ public FilterParams getFilterParams() { return this.filterParams; } /** * @return orderItem */ public String getOrderItem() { return this.orderItem; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } public static final class Builder extends Request.Builder { private String acceptLanguage; private Boolean descSort; private FilterParams filterParams; private String orderItem; private Integer pageNumber; private Integer pageSize; private Builder() { super(); } private Builder(ListGatewayRequest request) { super(request); this.acceptLanguage = request.acceptLanguage; this.descSort = request.descSort; this.filterParams = request.filterParams; this.orderItem = request.orderItem; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; } /** * The language of the response. Valid values: *

* * * zh: Chinese * * en: English */ public Builder acceptLanguage(String acceptLanguage) { this.putQueryParameter("AcceptLanguage", acceptLanguage); this.acceptLanguage = acceptLanguage; return this; } /** * Specifies whether to enable the sorting feature. This feature is not available. */ public Builder descSort(Boolean descSort) { this.putQueryParameter("DescSort", descSort); this.descSort = descSort; return this; } /** * The details of parameters. */ public Builder filterParams(FilterParams filterParams) { String filterParamsShrink = shrink(filterParams, "FilterParams", "json"); this.putQueryParameter("FilterParams", filterParamsShrink); this.filterParams = filterParams; return this; } /** * The order information. */ public Builder orderItem(String orderItem) { this.putQueryParameter("OrderItem", orderItem); this.orderItem = orderItem; 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; } @Override public ListGatewayRequest build() { return new ListGatewayRequest(this); } } public static class FilterParams extends TeaModel { @com.aliyun.core.annotation.NameInMap("GatewayType") private String gatewayType; @com.aliyun.core.annotation.NameInMap("GatewayUniqueId") private String gatewayUniqueId; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("MseTag") private String mseTag; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.NameInMap("Vpc") private String vpc; private FilterParams(Builder builder) { this.gatewayType = builder.gatewayType; this.gatewayUniqueId = builder.gatewayUniqueId; this.instanceId = builder.instanceId; this.mseTag = builder.mseTag; this.name = builder.name; this.resourceGroupId = builder.resourceGroupId; this.vpc = builder.vpc; } public static Builder builder() { return new Builder(); } public static FilterParams create() { return builder().build(); } /** * @return gatewayType */ public String getGatewayType() { return this.gatewayType; } /** * @return gatewayUniqueId */ public String getGatewayUniqueId() { return this.gatewayUniqueId; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return mseTag */ public String getMseTag() { return this.mseTag; } /** * @return name */ public String getName() { return this.name; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return vpc */ public String getVpc() { return this.vpc; } public static final class Builder { private String gatewayType; private String gatewayUniqueId; private String instanceId; private String mseTag; private String name; private String resourceGroupId; private String vpc; /** * The type of the gateway. */ public Builder gatewayType(String gatewayType) { this.gatewayType = gatewayType; return this; } /** * The unique ID of the gateway. */ public Builder gatewayUniqueId(String gatewayUniqueId) { this.gatewayUniqueId = gatewayUniqueId; return this; } /** * The ID of the instance. */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * The tag of the instance. */ public Builder mseTag(String mseTag) { this.mseTag = mseTag; return this; } /** * The name of the gateway. */ public Builder name(String name) { this.name = name; return this; } /** * The ID of the resource group. */ public Builder resourceGroupId(String resourceGroupId) { this.resourceGroupId = resourceGroupId; return this; } /** * The ID of the virtual private cloud (VPC). */ public Builder vpc(String vpc) { this.vpc = vpc; return this; } public FilterParams build() { return new FilterParams(this); } } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy