- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
29 lines
806 B
Java
29 lines
806 B
Java
package com.amazonaws.auth;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class BasicAWSCredentials implements AWSCredentials {
|
|
public final String accessKey;
|
|
public final String secretKey;
|
|
|
|
@Override // com.amazonaws.auth.AWSCredentials
|
|
public String getAWSAccessKeyId() {
|
|
return this.accessKey;
|
|
}
|
|
|
|
@Override // com.amazonaws.auth.AWSCredentials
|
|
public String getAWSSecretKey() {
|
|
return this.secretKey;
|
|
}
|
|
|
|
public BasicAWSCredentials(String str, String str2) {
|
|
if (str == null) {
|
|
throw new IllegalArgumentException("Access key cannot be null.");
|
|
}
|
|
if (str2 == null) {
|
|
throw new IllegalArgumentException("Secret key cannot be null.");
|
|
}
|
|
this.accessKey = str;
|
|
this.secretKey = str2;
|
|
}
|
|
}
|