STSActions.smali
.class public final enum Lcom/amazonaws/auth/policy/STSActions;
.super Ljava/lang/Enum;
.source "STSActions.java"
# interfaces
.implements Lcom/amazonaws/auth/policy/Action;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lcom/amazonaws/auth/policy/STSActions;",
">;",
"Lcom/amazonaws/auth/policy/Action;"
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
# static fields
.field private static final synthetic $VALUES:[Lcom/amazonaws/auth/policy/STSActions;
.field public static final enum AssumeRole:Lcom/amazonaws/auth/policy/STSActions;
.field public static final enum AssumeRoleWithWebIdentity:Lcom/amazonaws/auth/policy/STSActions;
# instance fields
.field private final action:Ljava/lang/String;
# direct methods
.method static constructor <clinit>()V
.registers 5
.line 1
new-instance v0, Lcom/amazonaws/auth/policy/STSActions;
const/4 v1, 0x0
const-string v2, "AssumeRole"
const-string v3, "sts:AssumeRole"
invoke-direct {v0, v2, v1, v3}, Lcom/amazonaws/auth/policy/STSActions;-><init>(Ljava/lang/String;ILjava/lang/String;)V
sput-object v0, Lcom/amazonaws/auth/policy/STSActions;->AssumeRole:Lcom/amazonaws/auth/policy/STSActions;
.line 2
new-instance v0, Lcom/amazonaws/auth/policy/STSActions;
const/4 v2, 0x1
const-string v3, "AssumeRoleWithWebIdentity"
const-string v4, "sts:AssumeRoleWithWebIdentity"
invoke-direct {v0, v3, v2, v4}, Lcom/amazonaws/auth/policy/STSActions;-><init>(Ljava/lang/String;ILjava/lang/String;)V
sput-object v0, Lcom/amazonaws/auth/policy/STSActions;->AssumeRoleWithWebIdentity:Lcom/amazonaws/auth/policy/STSActions;
const/4 v0, 0x2
.line 3
new-array v0, v0, [Lcom/amazonaws/auth/policy/STSActions;
sget-object v3, Lcom/amazonaws/auth/policy/STSActions;->AssumeRole:Lcom/amazonaws/auth/policy/STSActions;
aput-object v3, v0, v1
sget-object v1, Lcom/amazonaws/auth/policy/STSActions;->AssumeRoleWithWebIdentity:Lcom/amazonaws/auth/policy/STSActions;
aput-object v1, v0, v2
sput-object v0, Lcom/amazonaws/auth/policy/STSActions;->$VALUES:[Lcom/amazonaws/auth/policy/STSActions;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;ILjava/lang/String;)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
")V"
}
.end annotation
.line 1
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
.line 2
iput-object p3, p0, Lcom/amazonaws/auth/policy/STSActions;->action:Ljava/lang/String;
return-void
.end method
.method public static valueOf(Ljava/lang/String;)Lcom/amazonaws/auth/policy/STSActions;
.registers 2
.line 1
const-class v0, Lcom/amazonaws/auth/policy/STSActions;
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
move-result-object p0
check-cast p0, Lcom/amazonaws/auth/policy/STSActions;
return-object p0
.end method
.method public static values()[Lcom/amazonaws/auth/policy/STSActions;
.registers 1
.line 1
sget-object v0, Lcom/amazonaws/auth/policy/STSActions;->$VALUES:[Lcom/amazonaws/auth/policy/STSActions;
invoke-virtual {v0}, [Lcom/amazonaws/auth/policy/STSActions;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lcom/amazonaws/auth/policy/STSActions;
return-object v0
.end method
# virtual methods
.method public getActionName()Ljava/lang/String;
.registers 2
.line 1
iget-object v0, p0, Lcom/amazonaws/auth/policy/STSActions;->action:Ljava/lang/String;
return-object v0
.end method