Class GetFunctionResult
- java.lang.Object
-
- com.amazonaws.services.lambda.model.GetFunctionResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class GetFunctionResult extends Object implements Serializable, Cloneable
This response contains the object for the Lambda function location (see API_FunctionCodeLocation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetFunctionResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetFunctionResult
clone()
boolean
equals(Object obj)
FunctionCodeLocation
getCode()
FunctionConfiguration
getConfiguration()
int
hashCode()
void
setCode(FunctionCodeLocation code)
void
setConfiguration(FunctionConfiguration configuration)
String
toString()
Returns a string representation of this object; useful for testing and debugging.GetFunctionResult
withCode(FunctionCodeLocation code)
GetFunctionResult
withConfiguration(FunctionConfiguration configuration)
-
-
-
Method Detail
-
setConfiguration
public void setConfiguration(FunctionConfiguration configuration)
- Parameters:
configuration
-
-
getConfiguration
public FunctionConfiguration getConfiguration()
- Returns:
-
withConfiguration
public GetFunctionResult withConfiguration(FunctionConfiguration configuration)
- Parameters:
configuration
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCode
public void setCode(FunctionCodeLocation code)
- Parameters:
code
-
-
getCode
public FunctionCodeLocation getCode()
- Returns:
-
withCode
public GetFunctionResult withCode(FunctionCodeLocation code)
- Parameters:
code
-- 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetFunctionResult clone()
-
-