@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchIsAuthorizedWithTokenRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
BatchIsAuthorizedWithTokenRequest() |
Modifier and Type | Method and Description |
---|---|
BatchIsAuthorizedWithTokenRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccessToken()
Specifies an access token for the principal that you want to authorize in each request.
|
EntitiesDefinition |
getEntities()
Specifies the list of resources and their associated attributes that Verified Permissions can examine when
evaluating the policies.
|
String |
getIdentityToken()
Specifies an identity (ID) token for the principal that you want to authorize in each request.
|
String |
getPolicyStoreId()
Specifies the ID of the policy store.
|
List<BatchIsAuthorizedWithTokenInputItem> |
getRequests()
An array of up to 30 requests that you want Verified Permissions to evaluate.
|
int |
hashCode() |
void |
setAccessToken(String accessToken)
Specifies an access token for the principal that you want to authorize in each request.
|
void |
setEntities(EntitiesDefinition entities)
Specifies the list of resources and their associated attributes that Verified Permissions can examine when
evaluating the policies.
|
void |
setIdentityToken(String identityToken)
Specifies an identity (ID) token for the principal that you want to authorize in each request.
|
void |
setPolicyStoreId(String policyStoreId)
Specifies the ID of the policy store.
|
void |
setRequests(Collection<BatchIsAuthorizedWithTokenInputItem> requests)
An array of up to 30 requests that you want Verified Permissions to evaluate.
|
String |
toString()
Returns a string representation of this object.
|
BatchIsAuthorizedWithTokenRequest |
withAccessToken(String accessToken)
Specifies an access token for the principal that you want to authorize in each request.
|
BatchIsAuthorizedWithTokenRequest |
withEntities(EntitiesDefinition entities)
Specifies the list of resources and their associated attributes that Verified Permissions can examine when
evaluating the policies.
|
BatchIsAuthorizedWithTokenRequest |
withIdentityToken(String identityToken)
Specifies an identity (ID) token for the principal that you want to authorize in each request.
|
BatchIsAuthorizedWithTokenRequest |
withPolicyStoreId(String policyStoreId)
Specifies the ID of the policy store.
|
BatchIsAuthorizedWithTokenRequest |
withRequests(BatchIsAuthorizedWithTokenInputItem... requests)
An array of up to 30 requests that you want Verified Permissions to evaluate.
|
BatchIsAuthorizedWithTokenRequest |
withRequests(Collection<BatchIsAuthorizedWithTokenInputItem> requests)
An array of up to 30 requests that you want Verified Permissions to evaluate.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setPolicyStoreId(String policyStoreId)
Specifies the ID of the policy store. Policies in this policy store will be used to make an authorization decision for the input.
policyStoreId
- Specifies the ID of the policy store. Policies in this policy store will be used to make an authorization
decision for the input.public String getPolicyStoreId()
Specifies the ID of the policy store. Policies in this policy store will be used to make an authorization decision for the input.
public BatchIsAuthorizedWithTokenRequest withPolicyStoreId(String policyStoreId)
Specifies the ID of the policy store. Policies in this policy store will be used to make an authorization decision for the input.
policyStoreId
- Specifies the ID of the policy store. Policies in this policy store will be used to make an authorization
decision for the input.public void setIdentityToken(String identityToken)
Specifies an identity (ID) token for the principal that you want to authorize in each request. This token is
provided to you by the identity provider (IdP) associated with the specified identity source. You must specify
either an accessToken
, an identityToken
, or both.
Must be an ID token. Verified Permissions returns an error if the token_use
claim in the submitted
token isn't id
.
identityToken
- Specifies an identity (ID) token for the principal that you want to authorize in each request. This token
is provided to you by the identity provider (IdP) associated with the specified identity source. You must
specify either an accessToken
, an identityToken
, or both.
Must be an ID token. Verified Permissions returns an error if the token_use
claim in the
submitted token isn't id
.
public String getIdentityToken()
Specifies an identity (ID) token for the principal that you want to authorize in each request. This token is
provided to you by the identity provider (IdP) associated with the specified identity source. You must specify
either an accessToken
, an identityToken
, or both.
Must be an ID token. Verified Permissions returns an error if the token_use
claim in the submitted
token isn't id
.
accessToken
, an identityToken
, or both.
Must be an ID token. Verified Permissions returns an error if the token_use
claim in the
submitted token isn't id
.
public BatchIsAuthorizedWithTokenRequest withIdentityToken(String identityToken)
Specifies an identity (ID) token for the principal that you want to authorize in each request. This token is
provided to you by the identity provider (IdP) associated with the specified identity source. You must specify
either an accessToken
, an identityToken
, or both.
Must be an ID token. Verified Permissions returns an error if the token_use
claim in the submitted
token isn't id
.
identityToken
- Specifies an identity (ID) token for the principal that you want to authorize in each request. This token
is provided to you by the identity provider (IdP) associated with the specified identity source. You must
specify either an accessToken
, an identityToken
, or both.
Must be an ID token. Verified Permissions returns an error if the token_use
claim in the
submitted token isn't id
.
public void setAccessToken(String accessToken)
Specifies an access token for the principal that you want to authorize in each request. This token is provided to
you by the identity provider (IdP) associated with the specified identity source. You must specify either an
accessToken
, an identityToken
, or both.
Must be an access token. Verified Permissions returns an error if the token_use
claim in the
submitted token isn't access
.
accessToken
- Specifies an access token for the principal that you want to authorize in each request. This token is
provided to you by the identity provider (IdP) associated with the specified identity source. You must
specify either an accessToken
, an identityToken
, or both.
Must be an access token. Verified Permissions returns an error if the token_use
claim in the
submitted token isn't access
.
public String getAccessToken()
Specifies an access token for the principal that you want to authorize in each request. This token is provided to
you by the identity provider (IdP) associated with the specified identity source. You must specify either an
accessToken
, an identityToken
, or both.
Must be an access token. Verified Permissions returns an error if the token_use
claim in the
submitted token isn't access
.
accessToken
, an identityToken
, or both.
Must be an access token. Verified Permissions returns an error if the token_use
claim in the
submitted token isn't access
.
public BatchIsAuthorizedWithTokenRequest withAccessToken(String accessToken)
Specifies an access token for the principal that you want to authorize in each request. This token is provided to
you by the identity provider (IdP) associated with the specified identity source. You must specify either an
accessToken
, an identityToken
, or both.
Must be an access token. Verified Permissions returns an error if the token_use
claim in the
submitted token isn't access
.
accessToken
- Specifies an access token for the principal that you want to authorize in each request. This token is
provided to you by the identity provider (IdP) associated with the specified identity source. You must
specify either an accessToken
, an identityToken
, or both.
Must be an access token. Verified Permissions returns an error if the token_use
claim in the
submitted token isn't access
.
public void setEntities(EntitiesDefinition entities)
Specifies the list of resources and their associated attributes that Verified Permissions can examine when evaluating the policies.
You can't include principals in this parameter, only resource and action entities. This parameter can't include any entities of a type that matches the user or group entity types that you defined in your identity source.
The BatchIsAuthorizedWithToken
operation takes principal attributes from only the
identityToken
or accessToken
passed to the operation.
For action entities, you can include only their Identifier
and EntityType
.
entities
- Specifies the list of resources and their associated attributes that Verified Permissions can examine when
evaluating the policies. You can't include principals in this parameter, only resource and action entities. This parameter can't include any entities of a type that matches the user or group entity types that you defined in your identity source.
The BatchIsAuthorizedWithToken
operation takes principal attributes from only
the identityToken
or accessToken
passed to the operation.
For action entities, you can include only their Identifier
and EntityType
.
public EntitiesDefinition getEntities()
Specifies the list of resources and their associated attributes that Verified Permissions can examine when evaluating the policies.
You can't include principals in this parameter, only resource and action entities. This parameter can't include any entities of a type that matches the user or group entity types that you defined in your identity source.
The BatchIsAuthorizedWithToken
operation takes principal attributes from only the
identityToken
or accessToken
passed to the operation.
For action entities, you can include only their Identifier
and EntityType
.
You can't include principals in this parameter, only resource and action entities. This parameter can't include any entities of a type that matches the user or group entity types that you defined in your identity source.
The BatchIsAuthorizedWithToken
operation takes principal attributes from only
the identityToken
or accessToken
passed to the operation.
For action entities, you can include only their Identifier
and EntityType
.
public BatchIsAuthorizedWithTokenRequest withEntities(EntitiesDefinition entities)
Specifies the list of resources and their associated attributes that Verified Permissions can examine when evaluating the policies.
You can't include principals in this parameter, only resource and action entities. This parameter can't include any entities of a type that matches the user or group entity types that you defined in your identity source.
The BatchIsAuthorizedWithToken
operation takes principal attributes from only the
identityToken
or accessToken
passed to the operation.
For action entities, you can include only their Identifier
and EntityType
.
entities
- Specifies the list of resources and their associated attributes that Verified Permissions can examine when
evaluating the policies. You can't include principals in this parameter, only resource and action entities. This parameter can't include any entities of a type that matches the user or group entity types that you defined in your identity source.
The BatchIsAuthorizedWithToken
operation takes principal attributes from only
the identityToken
or accessToken
passed to the operation.
For action entities, you can include only their Identifier
and EntityType
.
public List<BatchIsAuthorizedWithTokenInputItem> getRequests()
An array of up to 30 requests that you want Verified Permissions to evaluate.
public void setRequests(Collection<BatchIsAuthorizedWithTokenInputItem> requests)
An array of up to 30 requests that you want Verified Permissions to evaluate.
requests
- An array of up to 30 requests that you want Verified Permissions to evaluate.public BatchIsAuthorizedWithTokenRequest withRequests(BatchIsAuthorizedWithTokenInputItem... requests)
An array of up to 30 requests that you want Verified Permissions to evaluate.
NOTE: This method appends the values to the existing list (if any). Use
setRequests(java.util.Collection)
or withRequests(java.util.Collection)
if you want to override
the existing values.
requests
- An array of up to 30 requests that you want Verified Permissions to evaluate.public BatchIsAuthorizedWithTokenRequest withRequests(Collection<BatchIsAuthorizedWithTokenInputItem> requests)
An array of up to 30 requests that you want Verified Permissions to evaluate.
requests
- An array of up to 30 requests that you want Verified Permissions to evaluate.public String toString()
toString
in class Object
Object.toString()
public BatchIsAuthorizedWithTokenRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()