public class GetFunctionRequest extends AmazonWebServiceRequest implements Serializable
GetFunction operation
.
Returns the configuration information of the Lambda function and a presigned URL link to the .zip file you uploaded with UploadFunction so you can download the .zip file. Note that the URL is valid for up to 10 minutes. The configuration information is the same information you provided as parameters when uploading the function.
This operation requires permission for the
lambda:GetFunction
action.
NOOP
Constructor and Description |
---|
GetFunctionRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getFunctionName()
The Lambda function name.
|
int |
hashCode() |
void |
setFunctionName(String functionName)
The Lambda function name.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetFunctionRequest |
withFunctionName(String functionName)
The Lambda function name.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getFunctionName()
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9-_]+
public void setFunctionName(String functionName)
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9-_]+
functionName
- The Lambda function name.public GetFunctionRequest withFunctionName(String functionName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9-_]+
functionName
- The Lambda function name.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.