@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchIsAuthorizedInputItem extends Object implements Serializable, Cloneable, StructuredPojo
An authorization request that you include in a BatchIsAuthorized
API request.
Constructor and Description |
---|
BatchIsAuthorizedInputItem() |
Modifier and Type | Method and Description |
---|---|
BatchIsAuthorizedInputItem |
clone() |
boolean |
equals(Object obj) |
ActionIdentifier |
getAction()
Specifies the requested action to be authorized.
|
ContextDefinition |
getContext()
Specifies additional context that can be used to make more granular authorization decisions.
|
EntityIdentifier |
getPrincipal()
Specifies the principal for which the authorization decision is to be made.
|
EntityIdentifier |
getResource()
Specifies the resource for which the authorization decision is to be made.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAction(ActionIdentifier action)
Specifies the requested action to be authorized.
|
void |
setContext(ContextDefinition context)
Specifies additional context that can be used to make more granular authorization decisions.
|
void |
setPrincipal(EntityIdentifier principal)
Specifies the principal for which the authorization decision is to be made.
|
void |
setResource(EntityIdentifier resource)
Specifies the resource for which the authorization decision is to be made.
|
String |
toString()
Returns a string representation of this object.
|
BatchIsAuthorizedInputItem |
withAction(ActionIdentifier action)
Specifies the requested action to be authorized.
|
BatchIsAuthorizedInputItem |
withContext(ContextDefinition context)
Specifies additional context that can be used to make more granular authorization decisions.
|
BatchIsAuthorizedInputItem |
withPrincipal(EntityIdentifier principal)
Specifies the principal for which the authorization decision is to be made.
|
BatchIsAuthorizedInputItem |
withResource(EntityIdentifier resource)
Specifies the resource for which the authorization decision is to be made.
|
public void setPrincipal(EntityIdentifier principal)
Specifies the principal for which the authorization decision is to be made.
principal
- Specifies the principal for which the authorization decision is to be made.public EntityIdentifier getPrincipal()
Specifies the principal for which the authorization decision is to be made.
public BatchIsAuthorizedInputItem withPrincipal(EntityIdentifier principal)
Specifies the principal for which the authorization decision is to be made.
principal
- Specifies the principal for which the authorization decision is to be made.public void setAction(ActionIdentifier action)
Specifies the requested action to be authorized. For example, is the principal authorized to perform this action on the resource?
action
- Specifies the requested action to be authorized. For example, is the principal authorized to perform this
action on the resource?public ActionIdentifier getAction()
Specifies the requested action to be authorized. For example, is the principal authorized to perform this action on the resource?
public BatchIsAuthorizedInputItem withAction(ActionIdentifier action)
Specifies the requested action to be authorized. For example, is the principal authorized to perform this action on the resource?
action
- Specifies the requested action to be authorized. For example, is the principal authorized to perform this
action on the resource?public void setResource(EntityIdentifier resource)
Specifies the resource for which the authorization decision is to be made.
resource
- Specifies the resource for which the authorization decision is to be made.public EntityIdentifier getResource()
Specifies the resource for which the authorization decision is to be made.
public BatchIsAuthorizedInputItem withResource(EntityIdentifier resource)
Specifies the resource for which the authorization decision is to be made.
resource
- Specifies the resource for which the authorization decision is to be made.public void setContext(ContextDefinition context)
Specifies additional context that can be used to make more granular authorization decisions.
context
- Specifies additional context that can be used to make more granular authorization decisions.public ContextDefinition getContext()
Specifies additional context that can be used to make more granular authorization decisions.
public BatchIsAuthorizedInputItem withContext(ContextDefinition context)
Specifies additional context that can be used to make more granular authorization decisions.
context
- Specifies additional context that can be used to make more granular authorization decisions.public String toString()
toString
in class Object
Object.toString()
public BatchIsAuthorizedInputItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.