Package com.authlete.common.dto
Class SnsCredentials
- java.lang.Object
-
- com.authlete.common.dto.SnsCredentials
-
- All Implemented Interfaces:
Serializable
public class SnsCredentials extends Object implements Serializable
SNS credentials (API key and API secret).- Since:
- 1.3
- Author:
- Takahiko Kawasaki
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SnsCredentials()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetApiKey()Get the API key.StringgetApiSecret()Get the API secret.SnsgetSns()Get the SNS.SnsCredentialssetApiKey(String apiKey)Set the API key.SnsCredentialssetApiSecret(String apiSecret)Set the API secret.SnsCredentialssetSns(Sns sns)Set the SNS.
-
-
-
Method Detail
-
getSns
public Sns getSns()
Get the SNS.- Returns:
- The SNS.
-
setSns
public SnsCredentials setSns(Sns sns)
Set the SNS.- Parameters:
sns- The SNS.- Returns:
thisobject.
-
getApiKey
public String getApiKey()
Get the API key.- Returns:
- The API key.
-
setApiKey
public SnsCredentials setApiKey(String apiKey)
Set the API key.- Parameters:
apiKey- The API key.- Returns:
thisobject.
-
getApiSecret
public String getApiSecret()
Get the API secret.- Returns:
- The API secret.
-
setApiSecret
public SnsCredentials setApiSecret(String apiSecret)
Set the API secret.- Parameters:
apiSecret- The API secret.- Returns:
thisobject.
-
-