com.aliyun.sdk.service.mse20190531.models.ListGatewaySlbRequest Maven / Gradle / Ivy
Show all versions of alibabacloud-mse20190531 Show documentation
// 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 ListGatewaySlbRequest} extends {@link RequestModel}
*
* ListGatewaySlbRequest
*/
public class ListGatewaySlbRequest 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("GatewayUniqueId")
private String gatewayUniqueId;
private ListGatewaySlbRequest(Builder builder) {
super(builder);
this.acceptLanguage = builder.acceptLanguage;
this.gatewayUniqueId = builder.gatewayUniqueId;
}
public static Builder builder() {
return new Builder();
}
public static ListGatewaySlbRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return acceptLanguage
*/
public String getAcceptLanguage() {
return this.acceptLanguage;
}
/**
* @return gatewayUniqueId
*/
public String getGatewayUniqueId() {
return this.gatewayUniqueId;
}
public static final class Builder extends Request.Builder {
private String acceptLanguage;
private String gatewayUniqueId;
private Builder() {
super();
}
private Builder(ListGatewaySlbRequest request) {
super(request);
this.acceptLanguage = request.acceptLanguage;
this.gatewayUniqueId = request.gatewayUniqueId;
}
/**
* 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;
}
/**
* The unique ID of the gateway.
*/
public Builder gatewayUniqueId(String gatewayUniqueId) {
this.putQueryParameter("GatewayUniqueId", gatewayUniqueId);
this.gatewayUniqueId = gatewayUniqueId;
return this;
}
@Override
public ListGatewaySlbRequest build() {
return new ListGatewaySlbRequest(this);
}
}
}