public final class DefaultIamPolicyReader extends Object implements IamPolicyReader
IamPolicyReader.IamPolicyReader.create()| Constructor and Description |
|---|
DefaultIamPolicyReader() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
IamPolicy |
read(byte[] policy)
Read a policy from a
byte array. |
IamPolicy |
read(InputStream policy)
Read a policy from an
InputStream. |
IamPolicy |
read(String policy)
Read a policy from a
String. |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcreatepublic IamPolicy read(String policy)
IamPolicyReaderString.
This only performs minimal validation on the provided policy.
read in interface IamPolicyReaderpublic IamPolicy read(byte[] policy)
IamPolicyReaderbyte array.
The stream must provide a UTF-8 encoded string representing the policy. This only performs minimal validation on the provided policy.
read in interface IamPolicyReaderpublic IamPolicy read(InputStream policy)
IamPolicyReaderInputStream.
The stream must provide a UTF-8 encoded string representing the policy. This only performs minimal validation on the provided policy.
read in interface IamPolicyReaderCopyright © 2023. All rights reserved.