Class GetPolicyResult
- java.lang.Object
-
- com.amazonaws.services.lambda.model.GetPolicyResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class GetPolicyResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetPolicyResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetPolicyResult
clone()
boolean
equals(Object obj)
String
getPolicy()
The resource policy associated with the specified function.int
hashCode()
void
setPolicy(String policy)
The resource policy associated with the specified function.String
toString()
Returns a string representation of this object; useful for testing and debugging.GetPolicyResult
withPolicy(String policy)
The resource policy associated with the specified function.
-
-
-
Method Detail
-
setPolicy
public void setPolicy(String 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.
- 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
public String 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
public GetPolicyResult withPolicy(String 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.
- 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
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 GetPolicyResult clone()
-
-