@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 that you want an authorization decision for.
|
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 that you want an authorization decision for.
|
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 that you want an authorization decision for.
|
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, PhotoFlash::ReadPhoto
.
action
- Specifies the requested action to be authorized. For example, PhotoFlash::ReadPhoto
.public ActionIdentifier getAction()
Specifies the requested action to be authorized. For example, PhotoFlash::ReadPhoto
.
PhotoFlash::ReadPhoto
.public BatchIsAuthorizedInputItem withAction(ActionIdentifier action)
Specifies the requested action to be authorized. For example, PhotoFlash::ReadPhoto
.
action
- Specifies the requested action to be authorized. For example, PhotoFlash::ReadPhoto
.public void setResource(EntityIdentifier resource)
Specifies the resource that you want an authorization decision for. For example, PhotoFlash::Photo
.
resource
- Specifies the resource that you want an authorization decision for. For example,
PhotoFlash::Photo
.public EntityIdentifier getResource()
Specifies the resource that you want an authorization decision for. For example, PhotoFlash::Photo
.
PhotoFlash::Photo
.public BatchIsAuthorizedInputItem withResource(EntityIdentifier resource)
Specifies the resource that you want an authorization decision for. For example, PhotoFlash::Photo
.
resource
- Specifies the resource that you want an authorization decision for. For example,
PhotoFlash::Photo
.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.