public class ListVersionsByFunctionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ListVersionsByFunction operation
.
List all versions of a function. For information about the versioning feature, see AWS Lambda Function Versioning and Aliases .
NOOP
Constructor and Description |
---|
ListVersionsByFunctionRequest() |
Modifier and Type | Method and Description |
---|---|
ListVersionsByFunctionRequest |
clone() |
boolean |
equals(Object obj) |
String |
getFunctionName()
Function name whose versions to list.
|
String |
getMarker()
Optional string.
|
Integer |
getMaxItems()
Optional integer.
|
int |
hashCode() |
void |
setFunctionName(String functionName)
Function name whose versions to list.
|
void |
setMarker(String marker)
Optional string.
|
void |
setMaxItems(Integer maxItems)
Optional integer.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListVersionsByFunctionRequest |
withFunctionName(String functionName)
Function name whose versions to list.
|
ListVersionsByFunctionRequest |
withMarker(String marker)
Optional string.
|
ListVersionsByFunctionRequest |
withMaxItems(Integer maxItems)
Optional integer.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public String getFunctionName()
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.
Constraints:
Length: 1 - 140
Pattern: (arn:aws:lambda:)?([a-z]{2}-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?
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.public void setFunctionName(String functionName)
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.
Constraints:
Length: 1 - 140
Pattern: (arn:aws:lambda:)?([a-z]{2}-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?
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.public ListVersionsByFunctionRequest withFunctionName(String functionName)
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 a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 140
Pattern: (arn:aws:lambda:)?([a-z]{2}-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?
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.public String getMarker()
ListVersionsByFunction
operation. If present, indicates
where to continue the listing.ListVersionsByFunction
operation. If present, indicates
where to continue the listing.public void setMarker(String marker)
ListVersionsByFunction
operation. If present, indicates
where to continue the listing.marker
- Optional string. An opaque pagination token returned from a previous
ListVersionsByFunction
operation. If present, indicates
where to continue the listing.public ListVersionsByFunctionRequest withMarker(String marker)
ListVersionsByFunction
operation. If present, indicates
where to continue the listing.
Returns a reference to this object so that method calls can be chained together.
marker
- Optional string. An opaque pagination token returned from a previous
ListVersionsByFunction
operation. If present, indicates
where to continue the listing.public Integer getMaxItems()
Constraints:
Range: 1 - 10000
public void setMaxItems(Integer maxItems)
Constraints:
Range: 1 - 10000
maxItems
- Optional integer. Specifies the maximum number of AWS Lambda function
versions to return in response. This parameter value must be greater
than 0.public ListVersionsByFunctionRequest withMaxItems(Integer maxItems)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 10000
maxItems
- Optional integer. Specifies the maximum number of AWS Lambda function
versions to return in response. This parameter value must be greater
than 0.public String toString()
toString
in class Object
Object.toString()
public ListVersionsByFunctionRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.