public class GetKeyPolicyResult extends Object implements Serializable, Cloneable
Constructor and Description |
---|
GetKeyPolicyResult() |
Modifier and Type | Method and Description |
---|---|
GetKeyPolicyResult |
clone() |
boolean |
equals(Object obj) |
String |
getPolicy()
A policy document in JSON format.
|
int |
hashCode() |
void |
setPolicy(String policy)
A policy document in JSON format.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetKeyPolicyResult |
withPolicy(String policy)
A policy document in JSON format.
|
public String getPolicy()
Constraints:
Length: 1 - 131072
Pattern: [\u0009\u000A\u000D\u0020-\u00FF]+
public void setPolicy(String policy)
Constraints:
Length: 1 - 131072
Pattern: [\u0009\u000A\u000D\u0020-\u00FF]+
policy
- A policy document in JSON format.public GetKeyPolicyResult withPolicy(String policy)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 131072
Pattern: [\u0009\u000A\u000D\u0020-\u00FF]+
policy
- A policy document in JSON format.public String toString()
toString
in class Object
Object.toString()
public GetKeyPolicyResult clone()
Copyright © 2015. All rights reserved.