@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchIsAuthorizedWithTokenInputItem extends Object implements Serializable, Cloneable, StructuredPojo
An authorization request that you include in a BatchIsAuthorizedWithToken
API request.
Constructor and Description |
---|
BatchIsAuthorizedWithTokenInputItem() |
Modifier and Type | Method and Description |
---|---|
BatchIsAuthorizedWithTokenInputItem |
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 |
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 |
setResource(EntityIdentifier resource)
Specifies the resource that you want an authorization decision for.
|
String |
toString()
Returns a string representation of this object.
|
BatchIsAuthorizedWithTokenInputItem |
withAction(ActionIdentifier action)
Specifies the requested action to be authorized.
|
BatchIsAuthorizedWithTokenInputItem |
withContext(ContextDefinition context)
Specifies additional context that can be used to make more granular authorization decisions.
|
BatchIsAuthorizedWithTokenInputItem |
withResource(EntityIdentifier resource)
Specifies the resource that you want an authorization decision for.
|
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 BatchIsAuthorizedWithTokenInputItem 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 BatchIsAuthorizedWithTokenInputItem 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 BatchIsAuthorizedWithTokenInputItem 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 BatchIsAuthorizedWithTokenInputItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.