Class AWSToken
- java.lang.Object
-
- com.cloudofficeprint.Output.CloudAcessToken.CloudAccessToken
-
- com.cloudofficeprint.Output.CloudAcessToken.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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.gson.JsonObject
getJSON()
java.lang.String
getKeyID()
java.lang.String
getSecretKey()
void
setKeyID(java.lang.String keyID)
void
setSecretKey(java.lang.String secretKey)
-
Methods inherited from class com.cloudofficeprint.Output.CloudAcessToken.CloudAccessToken
getService, setService
-
-
-
-
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 classCloudAccessToken
- Returns:
- JSONObject with the tags for the AWSToken for the Cloud Office Print server.
-
-