Class AWSToken


  • public class AWSToken
    extends CloudAccessToken
    Class to use for AWS tokens to store output on AWS.
    • Constructor Summary

      Constructors 
      Constructor Description
      AWSToken​(java.lang.String keyID, java.lang.String secretKey)
      Constructor for an AWSToken object.
    • Constructor Detail

      • AWSToken

        public AWSToken​(java.lang.String keyID,
                        java.lang.String secretKey)
        Constructor for an AWSToken object. Needs to be used if output wants to be stored on AWS.
        Parameters:
        keyID - AWS access key ID.
        secretKey - AWS secret key.
    • Method Detail

      • getSecretKey

        public java.lang.String getSecretKey()
        Returns:
        AWS secret key.
      • getKeyID

        public java.lang.String getKeyID()
        Returns:
        AWS key ID.
      • setKeyID

        public void setKeyID​(java.lang.String keyID)
        Parameters:
        keyID - AWS keyID.
      • setSecretKey

        public void setSecretKey​(java.lang.String secretKey)
        Parameters:
        secretKey - AWS secret key.
      • getJSON

        public com.google.gson.JsonObject getJSON()
        Specified by:
        getJSON in class CloudAccessToken
        Returns:
        JSONObject with the tags for the AWSToken for the Cloud Office Print server.