public class GetPolicyResult extends Object implements Serializable, Cloneable
Constructor and Description |
---|
GetPolicyResult() |
Modifier and Type | Method and Description |
---|---|
GetPolicyResult |
clone() |
boolean |
equals(Object obj) |
String |
getPolicy()
The access policy associated with the specified function.
|
int |
hashCode() |
void |
setPolicy(String policy)
The access 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 access policy associated with the specified function.
|
public String getPolicy()
public void setPolicy(String policy)
policy
- The access policy associated with the specified function. The response
returns the same as a string using "\" as an escape character in the
JSON.public GetPolicyResult withPolicy(String policy)
Returns a reference to this object so that method calls can be chained together.
policy
- The access policy associated with the specified function. The response
returns the same as a string using "\" as an escape character in the
JSON.public String toString()
toString
in class Object
Object.toString()
public GetPolicyResult clone()
Copyright © 2015. All rights reserved.