public class GetPolicyResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
policy
The resource policy associated with the specified function.
|
Constructor and Description |
---|
GetPolicyResult() |
Modifier and Type | Method and Description |
---|---|
GetPolicyResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getPolicy()
The resource policy associated with the specified function.
|
int |
hashCode() |
void |
setPolicy(java.lang.String policy)
The resource policy associated with the specified function.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetPolicyResult |
withPolicy(java.lang.String policy)
The resource policy associated with the specified function.
|
private java.lang.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.
public void setPolicy(java.lang.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.
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.public java.lang.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.
public GetPolicyResult withPolicy(java.lang.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.
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.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GetPolicyResult clone()
clone
in class java.lang.Object