public class GetKeyPolicyResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
GetKeyPolicyResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getPolicy()
A key policy document in JSON format.
|
int |
hashCode() |
void |
setPolicy(java.lang.String policy)
A key policy document in JSON format.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetKeyPolicyResult |
withPolicy(java.lang.String policy)
A key policy document in JSON format.
|
public java.lang.String getPolicy()
A key policy document in JSON format.
Constraints:
Length: 1 - 131072
Pattern: [ -ÿ]+
A key policy document in JSON format.
public void setPolicy(java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.