Class ListVersionsByFunctionRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.lambda.model.ListVersionsByFunctionRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class ListVersionsByFunctionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListVersionsByFunctionRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListVersionsByFunctionRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetFunctionName()Function name whose versions to list.StringgetMarker()Optional string.IntegergetMaxItems()Optional integer.inthashCode()voidsetFunctionName(String functionName)Function name whose versions to list.voidsetMarker(String marker)Optional string.voidsetMaxItems(Integer maxItems)Optional integer.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListVersionsByFunctionRequestwithFunctionName(String functionName)Function name whose versions to list.ListVersionsByFunctionRequestwithMarker(String marker)Optional string.ListVersionsByFunctionRequestwithMaxItems(Integer maxItems)Optional integer.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setFunctionName
public void setFunctionName(String functionName)
Function name whose versions to list. You can specify a function name (for example,
Thumbnail) or you can specify Amazon Resource Name (ARN) of the function (for example,arn:aws:lambda:us-west-2:account-id:function:ThumbNail). AWS Lambda also allows you to specify a partial ARN (for example,account-id:Thumbnail). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.- Parameters:
functionName- Function name whose versions to list. You can specify a function name (for example,Thumbnail) or you can specify Amazon Resource Name (ARN) of the function (for example,arn:aws:lambda:us-west-2:account-id:function:ThumbNail). AWS Lambda also allows you to specify a partial ARN (for example,account-id:Thumbnail). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.
-
getFunctionName
public String getFunctionName()
Function name whose versions to list. You can specify a function name (for example,
Thumbnail) or you can specify Amazon Resource Name (ARN) of the function (for example,arn:aws:lambda:us-west-2:account-id:function:ThumbNail). AWS Lambda also allows you to specify a partial ARN (for example,account-id:Thumbnail). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.- Returns:
- Function name whose versions to list. You can specify a function
name (for example,
Thumbnail) or you can specify Amazon Resource Name (ARN) of the function (for example,arn:aws:lambda:us-west-2:account-id:function:ThumbNail). AWS Lambda also allows you to specify a partial ARN (for example,account-id:Thumbnail). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.
-
withFunctionName
public ListVersionsByFunctionRequest withFunctionName(String functionName)
Function name whose versions to list. You can specify a function name (for example,
Thumbnail) or you can specify Amazon Resource Name (ARN) of the function (for example,arn:aws:lambda:us-west-2:account-id:function:ThumbNail). AWS Lambda also allows you to specify a partial ARN (for example,account-id:Thumbnail). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.- Parameters:
functionName- Function name whose versions to list. You can specify a function name (for example,Thumbnail) or you can specify Amazon Resource Name (ARN) of the function (for example,arn:aws:lambda:us-west-2:account-id:function:ThumbNail). AWS Lambda also allows you to specify a partial ARN (for example,account-id:Thumbnail). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMarker
public void setMarker(String marker)
Optional string. An opaque pagination token returned from a previous
ListVersionsByFunctionoperation. If present, indicates where to continue the listing.- Parameters:
marker- Optional string. An opaque pagination token returned from a previousListVersionsByFunctionoperation. If present, indicates where to continue the listing.
-
getMarker
public String getMarker()
Optional string. An opaque pagination token returned from a previous
ListVersionsByFunctionoperation. If present, indicates where to continue the listing.- Returns:
- Optional string. An opaque pagination token returned from a
previous
ListVersionsByFunctionoperation. If present, indicates where to continue the listing.
-
withMarker
public ListVersionsByFunctionRequest withMarker(String marker)
Optional string. An opaque pagination token returned from a previous
ListVersionsByFunctionoperation. If present, indicates where to continue the listing.- Parameters:
marker- Optional string. An opaque pagination token returned from a previousListVersionsByFunctionoperation. If present, indicates where to continue the listing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxItems
public void setMaxItems(Integer maxItems)
Optional integer. Specifies the maximum number of AWS Lambda function versions to return in response. This parameter value must be greater than 0.
- Parameters:
maxItems- Optional integer. Specifies the maximum number of AWS Lambda function versions to return in response. This parameter value must be greater than 0.
-
getMaxItems
public Integer getMaxItems()
Optional integer. Specifies the maximum number of AWS Lambda function versions to return in response. This parameter value must be greater than 0.
- Returns:
- Optional integer. Specifies the maximum number of AWS Lambda function versions to return in response. This parameter value must be greater than 0.
-
withMaxItems
public ListVersionsByFunctionRequest withMaxItems(Integer maxItems)
Optional integer. Specifies the maximum number of AWS Lambda function versions to return in response. This parameter value must be greater than 0.
- Parameters:
maxItems- Optional integer. Specifies the maximum number of AWS Lambda function versions to return in response. This parameter value must be greater than 0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListVersionsByFunctionRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-