@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetFunctionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
This response contains the object for the Lambda function location (see FunctionCodeLocation.
Constructor and Description |
---|
GetFunctionResult() |
Modifier and Type | Method and Description |
---|---|
GetFunctionResult |
addTagsEntry(String key,
String value) |
GetFunctionResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
GetFunctionResult |
clone() |
boolean |
equals(Object obj) |
FunctionCodeLocation |
getCode()
The function's code.
|
Concurrency |
getConcurrency()
The concurrent execution limit set for this function.
|
FunctionConfiguration |
getConfiguration()
The function's configuration.
|
Map<String,String> |
getTags()
Returns the list of tags associated with the function.
|
int |
hashCode() |
void |
setCode(FunctionCodeLocation code)
The function's code.
|
void |
setConcurrency(Concurrency concurrency)
The concurrent execution limit set for this function.
|
void |
setConfiguration(FunctionConfiguration configuration)
The function's configuration.
|
void |
setTags(Map<String,String> tags)
Returns the list of tags associated with the function.
|
String |
toString()
Returns a string representation of this object.
|
GetFunctionResult |
withCode(FunctionCodeLocation code)
The function's code.
|
GetFunctionResult |
withConcurrency(Concurrency concurrency)
The concurrent execution limit set for this function.
|
GetFunctionResult |
withConfiguration(FunctionConfiguration configuration)
The function's configuration.
|
GetFunctionResult |
withTags(Map<String,String> tags)
Returns the list of tags associated with the function.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setConfiguration(FunctionConfiguration configuration)
The function's configuration.
configuration
- The function's configuration.public FunctionConfiguration getConfiguration()
The function's configuration.
public GetFunctionResult withConfiguration(FunctionConfiguration configuration)
The function's configuration.
configuration
- The function's configuration.public void setCode(FunctionCodeLocation code)
The function's code.
code
- The function's code.public FunctionCodeLocation getCode()
The function's code.
public GetFunctionResult withCode(FunctionCodeLocation code)
The function's code.
code
- The function's code.public Map<String,String> getTags()
Returns the list of tags associated with the function. For more information, see Tagging Lambda Functions in the AWS Lambda Developer Guide.
public void setTags(Map<String,String> tags)
Returns the list of tags associated with the function. For more information, see Tagging Lambda Functions in the AWS Lambda Developer Guide.
tags
- Returns the list of tags associated with the function. For more information, see Tagging Lambda Functions in the AWS
Lambda Developer Guide.public GetFunctionResult withTags(Map<String,String> tags)
Returns the list of tags associated with the function. For more information, see Tagging Lambda Functions in the AWS Lambda Developer Guide.
tags
- Returns the list of tags associated with the function. For more information, see Tagging Lambda Functions in the AWS
Lambda Developer Guide.public GetFunctionResult addTagsEntry(String key, String value)
public GetFunctionResult clearTagsEntries()
public void setConcurrency(Concurrency concurrency)
The concurrent execution limit set for this function. For more information, see Managing Concurrency.
concurrency
- The concurrent execution limit set for this function. For more information, see Managing Concurrency.public Concurrency getConcurrency()
The concurrent execution limit set for this function. For more information, see Managing Concurrency.
public GetFunctionResult withConcurrency(Concurrency concurrency)
The concurrent execution limit set for this function. For more information, see Managing Concurrency.
concurrency
- The concurrent execution limit set for this function. For more information, see Managing Concurrency.public String toString()
toString
in class Object
Object.toString()
public GetFunctionResult clone()
Copyright © 2019. All rights reserved.