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 String
getApiKey()
Get the API key.String
getApiSecret()
Get the API secret.Sns
getSns()
Get the SNS.SnsCredentials
setApiKey(String apiKey)
Set the API key.SnsCredentials
setApiSecret(String apiSecret)
Set the API secret.SnsCredentials
setSns(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:
this
object.
-
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:
this
object.
-
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:
this
object.
-
-