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