com.baidubce.services.cfc.model
Class ListVersionsByFunctionRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.cfc.model.ListVersionsByFunctionRequest

public class ListVersionsByFunctionRequest
extends AbstractBceRequest

Request object for listing versions of the CFC function


Constructor Summary
ListVersionsByFunctionRequest()
           
 
Method Summary
 String getFunctionName()
          Get the function name
 Integer getMarker()
          Get the marker
 Integer getMaxItems()
          get MaxItems 1-10000
 void setFunctionName(String functionName)
          Set the function name, you can specify a function name (for example, Thumbnail), Or you can specify the BRN resource name of the function (for example: brn:bce:cfc:bj:account-id:function:thumbnail).
 void setMarker(Integer marker)
          Set the marker
 void setMaxItems(Integer maxItems)
          set maxItems 1-10000
 String toString()
          (non-Javadoc)
 ListVersionsByFunctionRequest withFunctionName(String functionName)
          Set the function name
 ListVersionsByFunctionRequest withMarker(Integer marker)
          Set the function marker
 ListVersionsByFunctionRequest withMaxItems(Integer maxItems)
          Configure the MaxItems for the request
 ListVersionsByFunctionRequest withRequestCredentials(BceCredentials credentials)
          (non-Javadoc)
 
Methods inherited from class com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListVersionsByFunctionRequest

public ListVersionsByFunctionRequest()
Method Detail

getFunctionName

public String getFunctionName()
Get the function name

Returns:
The function name

setFunctionName

public void setFunctionName(String functionName)
Set the function name, you can specify a function name (for example, Thumbnail), Or you can specify the BRN resource name of the function (for example: brn:bce:cfc:bj:account-id:function:thumbnail). CFC also allows you to specify a partial BRN (for example, account-id:Thumbnail). Note that the BRN length is limited to 1-140. If only the function name is specified, the length is limited to 64 characters.

Parameters:
functionName - The function name

getMarker

public Integer getMarker()
Get the marker

Returns:
The marker

setMarker

public void setMarker(Integer marker)
Set the marker

Parameters:
marker - The marker

getMaxItems

public Integer getMaxItems()
get MaxItems 1-10000

Returns:
The MaxItems

setMaxItems

public void setMaxItems(Integer maxItems)
set maxItems 1-10000

Parameters:
maxItems - 1-10000

withFunctionName

public ListVersionsByFunctionRequest withFunctionName(String functionName)
Set the function name

Parameters:
functionName -
Returns:
this object

withMarker

public ListVersionsByFunctionRequest withMarker(Integer marker)
Set the function marker

Parameters:
marker -
Returns:
this object

withMaxItems

public ListVersionsByFunctionRequest withMaxItems(Integer maxItems)
Configure the MaxItems for the request

Parameters:
maxItems - 1-10000
Returns:
this object

withRequestCredentials

public ListVersionsByFunctionRequest withRequestCredentials(BceCredentials credentials)
(non-Javadoc)

Specified by:
withRequestCredentials in class AbstractBceRequest
See Also:
AbstractBceRequest.withRequestCredentials(com.baidubce.auth.BceCredentials)

toString

public String toString()
(non-Javadoc)

Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2020. All rights reserved.