Interface BatchIsAuthorizedRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<BatchIsAuthorizedRequest.Builder,
,BatchIsAuthorizedRequest> SdkBuilder<BatchIsAuthorizedRequest.Builder,
,BatchIsAuthorizedRequest> SdkPojo
,SdkRequest.Builder
,VerifiedPermissionsRequest.Builder
- Enclosing class:
BatchIsAuthorizedRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault BatchIsAuthorizedRequest.Builder
entities
(Consumer<EntitiesDefinition.Builder> entities) (Optional) Specifies the list of resources and principals and their associated attributes that Verified Permissions can examine when evaluating the policies.entities
(EntitiesDefinition entities) (Optional) Specifies the list of resources and principals and their associated attributes that Verified Permissions can examine when evaluating the policies.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.policyStoreId
(String policyStoreId) Specifies the ID of the policy store.requests
(Collection<BatchIsAuthorizedInputItem> requests) An array of up to 30 requests that you want Verified Permissions to evaluate.requests
(Consumer<BatchIsAuthorizedInputItem.Builder>... requests) An array of up to 30 requests that you want Verified Permissions to evaluate.requests
(BatchIsAuthorizedInputItem... 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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.services.verifiedpermissions.model.VerifiedPermissionsRequest.Builder
build
-
Method Details
-
policyStoreId
Specifies the ID of the policy store. Policies in this policy store will be used to make the authorization decisions for the input.
- Parameters:
policyStoreId
- Specifies the ID of the policy store. Policies in this policy store will be used to make the authorization decisions for the input.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entities
(Optional) Specifies the list of resources and principals and their associated attributes that Verified Permissions can examine when evaluating the policies. These additional entities and their attributes can be referenced and checked by conditional elements in the policies in the specified policy store.
You can include only principal and resource entities in this parameter; you can't include actions. You must specify actions in the schema.
- Parameters:
entities
- (Optional) Specifies the list of resources and principals and their associated attributes that Verified Permissions can examine when evaluating the policies. These additional entities and their attributes can be referenced and checked by conditional elements in the policies in the specified policy store.You can include only principal and resource entities in this parameter; you can't include actions. You must specify actions in the schema.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entities
(Optional) Specifies the list of resources and principals and their associated attributes that Verified Permissions can examine when evaluating the policies. These additional entities and their attributes can be referenced and checked by conditional elements in the policies in the specified policy store.
You can include only principal and resource entities in this parameter; you can't include actions. You must specify actions in the schema.
EntitiesDefinition.Builder
avoiding the need to create one manually viaEntitiesDefinition.builder()
.When the
Consumer
completes,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:
-
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
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
An array of up to 30 requests that you want Verified Permissions to evaluate.
This is a convenience method that creates an instance of theBatchIsAuthorizedInputItem.Builder
avoiding the need to create one manually viaBatchIsAuthorizedInputItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torequests(List<BatchIsAuthorizedInputItem>)
.- Parameters:
requests
- a consumer that will call methods onBatchIsAuthorizedInputItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchIsAuthorizedRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
BatchIsAuthorizedRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-