@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ActionIdentifier extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about an action for a request for which an authorization decision is made.
This data type is used as a request parameter to the IsAuthorized, BatchIsAuthorized , and IsAuthorizedWithToken operations.
Example: { "actionId": "<action name>", "actionType": "Action" }
| Constructor and Description |
|---|
ActionIdentifier() |
| Modifier and Type | Method and Description |
|---|---|
ActionIdentifier |
clone() |
boolean |
equals(Object obj) |
String |
getActionId()
The ID of an action.
|
String |
getActionType()
The type of an action.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setActionId(String actionId)
The ID of an action.
|
void |
setActionType(String actionType)
The type of an action.
|
String |
toString()
Returns a string representation of this object.
|
ActionIdentifier |
withActionId(String actionId)
The ID of an action.
|
ActionIdentifier |
withActionType(String actionType)
The type of an action.
|
public void setActionType(String actionType)
The type of an action.
actionType - The type of an action.public String getActionType()
The type of an action.
public ActionIdentifier withActionType(String actionType)
The type of an action.
actionType - The type of an action.public void setActionId(String actionId)
The ID of an action.
actionId - The ID of an action.public String getActionId()
The ID of an action.
public ActionIdentifier withActionId(String actionId)
The ID of an action.
actionId - The ID of an action.public String toString()
toString in class ObjectObject.toString()public ActionIdentifier clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.