com.amazonaws.auth.policy.actions
Enum SecurityTokenServiceActions

java.lang.Object
  extended by java.lang.Enum<SecurityTokenServiceActions>
      extended by com.amazonaws.auth.policy.actions.SecurityTokenServiceActions
All Implemented Interfaces:
Action, java.io.Serializable, java.lang.Comparable<SecurityTokenServiceActions>

public enum SecurityTokenServiceActions
extends java.lang.Enum<SecurityTokenServiceActions>
implements Action

The available AWS access control policy actions for AWS Security Token Service.


Enum Constant Summary
AllSecurityTokenServiceActions
          Represents any action executed on AWS Security Token Service.
AssumeRole
          Action for the AssumeRole operation.
GetFederationToken
          Action for the GetFederationToken operation.
 
Method Summary
 java.lang.String getActionName()
          Returns the name of this action.
static SecurityTokenServiceActions valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SecurityTokenServiceActions[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AllSecurityTokenServiceActions

public static final SecurityTokenServiceActions AllSecurityTokenServiceActions
Represents any action executed on AWS Security Token Service.


GetFederationToken

public static final SecurityTokenServiceActions GetFederationToken
Action for the GetFederationToken operation.


AssumeRole

public static final SecurityTokenServiceActions AssumeRole
Action for the AssumeRole operation.

Method Detail

values

public static SecurityTokenServiceActions[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SecurityTokenServiceActions c : SecurityTokenServiceActions.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SecurityTokenServiceActions valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getActionName

public java.lang.String getActionName()
Description copied from interface: Action
Returns the name of this action. For example, 'sqs:SendMessage' is the name corresponding to the SQS action that enables users to send a message to an SQS queue.

Specified by:
getActionName in interface Action
Returns:
The name of this action.


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.