com.baidubce.services.cnap.model.deploygroup
Class TCPSocketActionModel

java.lang.Object
  extended by com.baidubce.services.cnap.model.deploygroup.TCPSocketActionModel

public class TCPSocketActionModel
extends Object

The model for tcp socket.


Constructor Summary
TCPSocketActionModel()
           
 
Method Summary
 String getHost()
           
 int getPort()
           
 void setHost(String host)
           
 void setPort(int port)
           
 TCPSocketActionModel withHost(String host)
           
 TCPSocketActionModel withPort(int port)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TCPSocketActionModel

public TCPSocketActionModel()
Method Detail

getPort

public int getPort()

setPort

public void setPort(int port)

getHost

public String getHost()

setHost

public void setHost(String host)

withPort

public TCPSocketActionModel withPort(int port)

withHost

public TCPSocketActionModel withHost(String host)


Copyright © 2020. All rights reserved.