Class AuthorizationDetails

    • Constructor Detail

      • AuthorizationDetails

        public AuthorizationDetails()
        Construct a new authorization details with no authorization details.
      • AuthorizationDetails

        public AuthorizationDetails​(AuthorizationDetails authorizationDetails)
        Construct a copy of the authorization details.
        Parameters:
        authorizationDetails - the authorization details to copy
      • AuthorizationDetails

        public AuthorizationDetails​(AuthorizationDetail[] authorizationDetails)
        Construct a new authorization detail with an array of authorization detail.
        Parameters:
        authorizationDetails - an array of authorization detail
      • AuthorizationDetails

        public AuthorizationDetails​(String authorizationDetails)
                             throws IOException
        Construct a new authorization details with the authorization_details JSON array string.
        Parameters:
        authorizationDetails - the authorization_details JSON array object.
        Throws:
        IOException - when there is an issue parsing the JSON array object.
    • Method Detail

      • toJson

        public String toJson()
        Get the JSON array for the authorization details JSON objects.
        Returns:
        a string representation of the JSON array.
      • toAttributeValue

        public AttributeValue toAttributeValue()
        Get the Attribute Value based on the Authorization Details JSON Array.
        Returns:
        an AttributeValue based on data of the underlying JSON.