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()booleanThe resource policy associated with the specified function.inthashCode()voidThe 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
-
equals
-
hashCode
-
clone
-