com.baidubce.services.bcc.model.instance
Class ListGetInstanceNoChargeRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.model.ListRequest
          extended by com.baidubce.services.bcc.model.instance.ListGetInstanceNoChargeRequest

public class ListGetInstanceNoChargeRequest
extends ListRequest

The request fot getting the list of no-charge instance.


Constructor Summary
ListGetInstanceNoChargeRequest()
           
 
Method Summary
 String getInternalIp()
           
 String getKeypairId()
           
 String getZoneName()
           
 void setInternalIp(String internalIp)
           
 void setKeypairId(String keypairId)
           
 void setZoneName(String zoneName)
           
 ListGetInstanceNoChargeRequest withInternalIp(String internalIp)
          Configure internalIp for the request.
 ListGetInstanceNoChargeRequest withKeypairId(String keypairId)
          Configure the request with specified keypairId.
 ListGetInstanceNoChargeRequest withMarker(String marker)
          Configure the request with specified marker.
 ListGetInstanceNoChargeRequest withMaxKeys(int maxKeys)
          Configure the request with specified maxKeys.
 ListGetInstanceNoChargeRequest withRequestCredentials(BceCredentials credentials)
          Configure request credential for the request.
 ListGetInstanceNoChargeRequest withZoneName(String zoneName)
          Configure the request with specified zoneName.
 
Methods inherited from class com.baidubce.model.ListRequest
getMarker, getMaxKeys, setMarker, setMaxKeys
 
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

ListGetInstanceNoChargeRequest

public ListGetInstanceNoChargeRequest()
Method Detail

getInternalIp

public String getInternalIp()

setInternalIp

public void setInternalIp(String internalIp)

withInternalIp

public ListGetInstanceNoChargeRequest withInternalIp(String internalIp)
Configure internalIp for the request.

Parameters:
internalIp - The internal ip address for accessing the instance.
Returns:
ListGetInstanceNoChargeRequest with internalIp.

getKeypairId

public String getKeypairId()

setKeypairId

public void setKeypairId(String keypairId)

withKeypairId

public ListGetInstanceNoChargeRequest withKeypairId(String keypairId)
Configure the request with specified keypairId.

Parameters:
keypairId - The specified keypair id.
Returns:
ListGetInstanceNoChargeRequest with specified keypairId.

getZoneName

public String getZoneName()

setZoneName

public void setZoneName(String zoneName)

withZoneName

public ListGetInstanceNoChargeRequest withZoneName(String zoneName)
Configure the request with specified zoneName.

Parameters:
zoneName - The specified zoneName.
Returns:
ListGetInstanceNoChargeRequest with specified zoneName.

withMarker

public ListGetInstanceNoChargeRequest withMarker(String marker)
Configure the request with specified marker.

Overrides:
withMarker in class ListRequest
Parameters:
marker - The optional parameter marker specified in the original request to specify where in the results to begin listing.
Returns:
ListGetInstanceNoChargeRequest with specified marker.

withMaxKeys

public ListGetInstanceNoChargeRequest withMaxKeys(int maxKeys)
Configure the request with specified maxKeys.

Overrides:
withMaxKeys in class ListRequest
Parameters:
maxKeys - The optional parameter to specifies the max number of list result to return. The default value is 1000.
Returns:
ListGetInstanceNoChargeRequest with specified maxKeys.

withRequestCredentials

public ListGetInstanceNoChargeRequest withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.

Specified by:
withRequestCredentials in class AbstractBceRequest
Parameters:
credentials - a valid instance of BceCredentials.
Returns:
ListGetInstanceNoChargeRequest with credentials.


Copyright © 2020. All rights reserved.