@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AuthInfo extends Object implements Serializable, Cloneable, StructuredPojo
A collection of authorization information.
| Constructor and Description | 
|---|
| AuthInfo() | 
| Modifier and Type | Method and Description | 
|---|---|
| AuthInfo | clone() | 
| boolean | equals(Object obj) | 
| String | getActionType()
 The type of action for which the principal is being authorized. | 
| List<String> | getResources()
 The resources for which the principal is being authorized to perform the specified action. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setActionType(String actionType)
 The type of action for which the principal is being authorized. | 
| void | setResources(Collection<String> resources)
 The resources for which the principal is being authorized to perform the specified action. | 
| String | toString()Returns a string representation of this object. | 
| AuthInfo | withActionType(ActionType actionType)
 The type of action for which the principal is being authorized. | 
| AuthInfo | withActionType(String actionType)
 The type of action for which the principal is being authorized. | 
| AuthInfo | withResources(Collection<String> resources)
 The resources for which the principal is being authorized to perform the specified action. | 
| AuthInfo | withResources(String... resources)
 The resources for which the principal is being authorized to perform the specified action. | 
public void setActionType(String actionType)
The type of action for which the principal is being authorized.
actionType - The type of action for which the principal is being authorized.ActionTypepublic String getActionType()
The type of action for which the principal is being authorized.
ActionTypepublic AuthInfo withActionType(String actionType)
The type of action for which the principal is being authorized.
actionType - The type of action for which the principal is being authorized.ActionTypepublic AuthInfo withActionType(ActionType actionType)
The type of action for which the principal is being authorized.
actionType - The type of action for which the principal is being authorized.ActionTypepublic List<String> getResources()
The resources for which the principal is being authorized to perform the specified action.
public void setResources(Collection<String> resources)
The resources for which the principal is being authorized to perform the specified action.
resources - The resources for which the principal is being authorized to perform the specified action.public AuthInfo withResources(String... resources)
The resources for which the principal is being authorized to perform the specified action.
 NOTE: This method appends the values to the existing list (if any). Use
 setResources(java.util.Collection) or withResources(java.util.Collection) if you want to
 override the existing values.
 
resources - The resources for which the principal is being authorized to perform the specified action.public AuthInfo withResources(Collection<String> resources)
The resources for which the principal is being authorized to perform the specified action.
resources - The resources for which the principal is being authorized to perform the specified action.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.