Class GetPolicyResult
java.lang.Object
com.amazonaws.services.lambda.model.GetPolicyResult
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The resource policy associated with the specified function.int
hashCode()
void
The resource policy associated with the specified function.toString()
Returns a string representation of this object; useful for testing and debugging.withPolicy
(String policy) The resource policy associated with the specified function.
-
Constructor Details
-
GetPolicyResult
public GetPolicyResult()
-
-
Method Details
-
setPolicy
The resource policy associated with the specified function. The response returns the same as a string using a backslash ("\") as an escape character in the JSON.
- Parameters:
policy
- The resource policy associated with the specified function. The response returns the same as a string using a backslash ("\") as an escape character in the JSON.
-
getPolicy
The resource policy associated with the specified function. The response returns the same as a string using a backslash ("\") as an escape character in the JSON.
- Returns:
- The resource policy associated with the specified function. The response returns the same as a string using a backslash ("\") as an escape character in the JSON.
-
withPolicy
The resource policy associated with the specified function. The response returns the same as a string using a backslash ("\") as an escape character in the JSON.
- Parameters:
policy
- The resource policy associated with the specified function. The response returns the same as a string using a backslash ("\") as an escape character in the JSON.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-