Class DefaultIamPolicyReader

    • Constructor Detail

      • DefaultIamPolicyReader

        public DefaultIamPolicyReader()
    • Method Detail

      • read

        public IamPolicy read​(byte[] policy)
        Description copied from interface: IamPolicyReader
        Read a policy from a byte array.

        The stream must provide a UTF-8 encoded string representing the policy. This only performs minimal validation on the provided policy.

        Specified by:
        read in interface IamPolicyReader
      • read

        public IamPolicy read​(InputStream policy)
        Description copied from interface: IamPolicyReader
        Read a policy from an InputStream.

        The stream must provide a UTF-8 encoded string representing the policy. This only performs minimal validation on the provided policy.

        Specified by:
        read in interface IamPolicyReader
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object