alexandroid/decompiled/jadx/sources/com/amazonaws/services/securitytoken/model/GetCallerIdentityResult.java
KaKi87 a47fad5135 📦 Add decompiled Alexa 2.2.730155.0 (jadx, apktool, Hermes strings)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 00:04:16 +01:00

96 lines
2.9 KiB
Java

package com.amazonaws.services.securitytoken.model;
import java.io.Serializable;
import org.apache.commons.text.StringSubstitutor;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
/* loaded from: classes6.dex */
public class GetCallerIdentityResult implements Serializable {
private String account;
private String arn;
private String userId;
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || !(obj instanceof GetCallerIdentityResult)) {
return false;
}
GetCallerIdentityResult getCallerIdentityResult = (GetCallerIdentityResult) obj;
if ((getCallerIdentityResult.getUserId() == null) ^ (getUserId() == null)) {
return false;
}
if (getCallerIdentityResult.getUserId() != null && !getCallerIdentityResult.getUserId().equals(getUserId())) {
return false;
}
if ((getCallerIdentityResult.getAccount() == null) ^ (getAccount() == null)) {
return false;
}
if (getCallerIdentityResult.getAccount() != null && !getCallerIdentityResult.getAccount().equals(getAccount())) {
return false;
}
if ((getCallerIdentityResult.getArn() == null) ^ (getArn() == null)) {
return false;
}
return getCallerIdentityResult.getArn() == null || getCallerIdentityResult.getArn().equals(getArn());
}
public String getAccount() {
return this.account;
}
public String getArn() {
return this.arn;
}
public String getUserId() {
return this.userId;
}
public int hashCode() {
return (((((getUserId() == null ? 0 : getUserId().hashCode()) + 31) * 31) + (getAccount() == null ? 0 : getAccount().hashCode())) * 31) + (getArn() != null ? getArn().hashCode() : 0);
}
public void setAccount(String str) {
this.account = str;
}
public void setArn(String str) {
this.arn = str;
}
public void setUserId(String str) {
this.userId = str;
}
public String toString() {
StringBuilder sb = new StringBuilder("{");
if (getUserId() != null) {
sb.append("UserId: " + getUserId() + ",");
}
if (getAccount() != null) {
sb.append("Account: " + getAccount() + ",");
}
if (getArn() != null) {
sb.append("Arn: " + getArn());
}
sb.append(StringSubstitutor.DEFAULT_VAR_END);
return sb.toString();
}
public GetCallerIdentityResult withAccount(String str) {
this.account = str;
return this;
}
public GetCallerIdentityResult withArn(String str) {
this.arn = str;
return this;
}
public GetCallerIdentityResult withUserId(String str) {
this.userId = str;
return this;
}
}