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

com.aliyun.ens20171110.models.RemoveBackendServersResponseBody Maven / Gradle / Ivy

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

import com.aliyun.tea.*;

public class RemoveBackendServersResponseBody extends TeaModel {
    /**
     * 

The list of backend servers that you want to add to the SLB instance.

*/ @NameInMap("BackendServers") public RemoveBackendServersResponseBodyBackendServers backendServers; /** *

The request ID.

* * example: *

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

*/ @NameInMap("RequestId") public String requestId; public static RemoveBackendServersResponseBody build(java.util.Map map) throws Exception { RemoveBackendServersResponseBody self = new RemoveBackendServersResponseBody(); return TeaModel.build(map, self); } public RemoveBackendServersResponseBody setBackendServers(RemoveBackendServersResponseBodyBackendServers backendServers) { this.backendServers = backendServers; return this; } public RemoveBackendServersResponseBodyBackendServers getBackendServers() { return this.backendServers; } public RemoveBackendServersResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public static class RemoveBackendServersResponseBodyBackendServersBackendServer extends TeaModel { /** *

The IP address of the backend server.

* * example: *

192.1XX.X.X

*/ @NameInMap("Ip") public String ip; /** *

The backend port that is used by the ELB instance.

* * example: *

0

*/ @NameInMap("Port") public Integer port; /** *

The instance ID of the backend server.

* * example: *

i-5vb5h5njxiuhn48a****

*/ @NameInMap("ServerId") public String serverId; /** *

The type of the backend server. Valid values:

*
    *
  • ens: an ENS instance.
  • *
  • eni: an ENI.
  • *
* * example: *

ens

*/ @NameInMap("Type") public String type; /** *

The weight of the backend server.

*
*

The value 0 indicates that requests are not forwarded to the backend server.

*
* * example: *

50

*/ @NameInMap("Weight") public Integer weight; public static RemoveBackendServersResponseBodyBackendServersBackendServer build(java.util.Map map) throws Exception { RemoveBackendServersResponseBodyBackendServersBackendServer self = new RemoveBackendServersResponseBodyBackendServersBackendServer(); return TeaModel.build(map, self); } public RemoveBackendServersResponseBodyBackendServersBackendServer setIp(String ip) { this.ip = ip; return this; } public String getIp() { return this.ip; } public RemoveBackendServersResponseBodyBackendServersBackendServer setPort(Integer port) { this.port = port; return this; } public Integer getPort() { return this.port; } public RemoveBackendServersResponseBodyBackendServersBackendServer setServerId(String serverId) { this.serverId = serverId; return this; } public String getServerId() { return this.serverId; } public RemoveBackendServersResponseBodyBackendServersBackendServer setType(String type) { this.type = type; return this; } public String getType() { return this.type; } public RemoveBackendServersResponseBodyBackendServersBackendServer setWeight(Integer weight) { this.weight = weight; return this; } public Integer getWeight() { return this.weight; } } public static class RemoveBackendServersResponseBodyBackendServers extends TeaModel { @NameInMap("BackendServer") public java.util.List backendServer; public static RemoveBackendServersResponseBodyBackendServers build(java.util.Map map) throws Exception { RemoveBackendServersResponseBodyBackendServers self = new RemoveBackendServersResponseBodyBackendServers(); return TeaModel.build(map, self); } public RemoveBackendServersResponseBodyBackendServers setBackendServer(java.util.List backendServer) { this.backendServer = backendServer; return this; } public java.util.List getBackendServer() { return this.backendServer; } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy