Interface BatchIsAuthorizedWithTokenRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<BatchIsAuthorizedWithTokenRequest.Builder,BatchIsAuthorizedWithTokenRequest>,SdkBuilder<BatchIsAuthorizedWithTokenRequest.Builder,BatchIsAuthorizedWithTokenRequest>,SdkPojo,SdkRequest.Builder,VerifiedPermissionsRequest.Builder
- Enclosing class:
- BatchIsAuthorizedWithTokenRequest
public static interface BatchIsAuthorizedWithTokenRequest.Builder extends VerifiedPermissionsRequest.Builder, SdkPojo, CopyableBuilder<BatchIsAuthorizedWithTokenRequest.Builder,BatchIsAuthorizedWithTokenRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BatchIsAuthorizedWithTokenRequest.BuilderaccessToken(String accessToken)Specifies an access token for the principal that you want to authorize in each request.default BatchIsAuthorizedWithTokenRequest.Builderentities(Consumer<EntitiesDefinition.Builder> entities)Specifies the list of resources and their associated attributes that Verified Permissions can examine when evaluating the policies.BatchIsAuthorizedWithTokenRequest.Builderentities(EntitiesDefinition entities)Specifies the list of resources and their associated attributes that Verified Permissions can examine when evaluating the policies.BatchIsAuthorizedWithTokenRequest.BuilderidentityToken(String identityToken)Specifies an identity (ID) token for the principal that you want to authorize in each request.BatchIsAuthorizedWithTokenRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)BatchIsAuthorizedWithTokenRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)BatchIsAuthorizedWithTokenRequest.BuilderpolicyStoreId(String policyStoreId)Specifies the ID of the policy store.BatchIsAuthorizedWithTokenRequest.Builderrequests(Collection<BatchIsAuthorizedWithTokenInputItem> requests)An array of up to 30 requests that you want Verified Permissions to evaluate.BatchIsAuthorizedWithTokenRequest.Builderrequests(Consumer<BatchIsAuthorizedWithTokenInputItem.Builder>... requests)An array of up to 30 requests that you want Verified Permissions to evaluate.BatchIsAuthorizedWithTokenRequest.Builderrequests(BatchIsAuthorizedWithTokenInputItem... requests)An array of up to 30 requests that you want Verified Permissions to evaluate.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.verifiedpermissions.model.VerifiedPermissionsRequest.Builder
build
-
-
-
-
Method Detail
-
policyStoreId
BatchIsAuthorizedWithTokenRequest.Builder policyStoreId(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.
- Parameters:
policyStoreId- Specifies the ID of the policy store. Policies in this policy store will be used to make an authorization decision for the input.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityToken
BatchIsAuthorizedWithTokenRequest.Builder identityToken(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, anidentityToken, or both.Must be an ID token. Verified Permissions returns an error if the
token_useclaim in the submitted token isn'tid.- Parameters:
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 anaccessToken, anidentityToken, or both.Must be an ID token. Verified Permissions returns an error if the
token_useclaim in the submitted token isn'tid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessToken
BatchIsAuthorizedWithTokenRequest.Builder accessToken(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, anidentityToken, or both.Must be an access token. Verified Permissions returns an error if the
token_useclaim in the submitted token isn'taccess.- Parameters:
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 anaccessToken, anidentityToken, or both.Must be an access token. Verified Permissions returns an error if the
token_useclaim in the submitted token isn'taccess.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entities
BatchIsAuthorizedWithTokenRequest.Builder entities(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
BatchIsAuthorizedWithTokenoperation takes principal attributes from only theidentityTokenoraccessTokenpassed to the operation. -
For action entities, you can include only their
IdentifierandEntityType.
- Parameters:
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
BatchIsAuthorizedWithTokenoperation takes principal attributes from only theidentityTokenoraccessTokenpassed to the operation. -
For action entities, you can include only their
IdentifierandEntityType.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
entities
default BatchIsAuthorizedWithTokenRequest.Builder entities(Consumer<EntitiesDefinition.Builder> entities)
Specifies the list of resources and their associated attributes that Verified Permissions can examine when evaluating the policies.
This is a convenience method that creates an instance of theYou 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
BatchIsAuthorizedWithTokenoperation takes principal attributes from only theidentityTokenoraccessTokenpassed to the operation. -
For action entities, you can include only their
IdentifierandEntityType.
EntitiesDefinition.Builderavoiding the need to create one manually viaEntitiesDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentities(EntitiesDefinition).- Parameters:
entities- a consumer that will call methods onEntitiesDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
entities(EntitiesDefinition)
-
-
requests
BatchIsAuthorizedWithTokenRequest.Builder requests(Collection<BatchIsAuthorizedWithTokenInputItem> requests)
An array of up to 30 requests that you want Verified Permissions to evaluate.
- Parameters:
requests- An array of up to 30 requests that you want Verified Permissions to evaluate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requests
BatchIsAuthorizedWithTokenRequest.Builder requests(BatchIsAuthorizedWithTokenInputItem... requests)
An array of up to 30 requests that you want Verified Permissions to evaluate.
- Parameters:
requests- An array of up to 30 requests that you want Verified Permissions to evaluate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requests
BatchIsAuthorizedWithTokenRequest.Builder requests(Consumer<BatchIsAuthorizedWithTokenInputItem.Builder>... requests)
An array of up to 30 requests that you want Verified Permissions to evaluate.
This is a convenience method that creates an instance of theBatchIsAuthorizedWithTokenInputItem.Builderavoiding the need to create one manually viaBatchIsAuthorizedWithTokenInputItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#requests(List.) - Parameters:
requests- a consumer that will call methods onBatchIsAuthorizedWithTokenInputItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#requests(java.util.Collection)
-
overrideConfiguration
BatchIsAuthorizedWithTokenRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
BatchIsAuthorizedWithTokenRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-