com.baidubce.services.nat.model
Class BindEipRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.nat.model.BindEipRequest

public class BindEipRequest
extends AbstractBceRequest

The request for nat binding eip.


Constructor Summary
BindEipRequest()
           
 
Method Summary
 String getClientToken()
           
 List<String> getEips()
           
 String getNatId()
           
 void setClientToken(String clientToken)
           
 void setEips(List<String> eips)
           
 void setNatId(String natId)
           
 BindEipRequest withEips(List<String> eips)
          Configure eips for the request.
 BindEipRequest withNatId(String natId)
          Configure natId for the request.
 AbstractBceRequest withRequestCredentials(BceCredentials credentials)
           
 
Methods inherited from class com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BindEipRequest

public BindEipRequest()
Method Detail

withNatId

public BindEipRequest withNatId(String natId)
Configure natId for the request.

Parameters:
natId - NatId to be bound
Returns:
BindEipRequest with specific natId

withEips

public BindEipRequest withEips(List<String> eips)
Configure eips for the request.

Parameters:
eips - Eip addresses to be bound
Returns:
BindEipRequest with specific eips

getEips

public List<String> getEips()

setEips

public void setEips(List<String> eips)

getNatId

public String getNatId()

setNatId

public void setNatId(String natId)

getClientToken

public String getClientToken()

setClientToken

public void setClientToken(String clientToken)

withRequestCredentials

public AbstractBceRequest withRequestCredentials(BceCredentials credentials)
Specified by:
withRequestCredentials in class AbstractBceRequest


Copyright © 2018. All rights reserved.