Interface BatchIsAuthorizedRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<BatchIsAuthorizedRequest.Builder,BatchIsAuthorizedRequest>,SdkBuilder<BatchIsAuthorizedRequest.Builder,BatchIsAuthorizedRequest>,SdkPojo,SdkRequest.Builder,VerifiedPermissionsRequest.Builder
- Enclosing class:
- BatchIsAuthorizedRequest
public static interface BatchIsAuthorizedRequest.Builder extends VerifiedPermissionsRequest.Builder, SdkPojo, CopyableBuilder<BatchIsAuthorizedRequest.Builder,BatchIsAuthorizedRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default BatchIsAuthorizedRequest.Builderentities(Consumer<EntitiesDefinition.Builder> entities)Specifies the list of resources and principals and their associated attributes that Verified Permissions can examine when evaluating the policies.BatchIsAuthorizedRequest.Builderentities(EntitiesDefinition entities)Specifies the list of resources and principals and their associated attributes that Verified Permissions can examine when evaluating the policies.BatchIsAuthorizedRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)BatchIsAuthorizedRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)BatchIsAuthorizedRequest.BuilderpolicyStoreId(String policyStoreId)Specifies the ID of the policy store.BatchIsAuthorizedRequest.Builderrequests(Collection<BatchIsAuthorizedInputItem> requests)An array of up to 30 requests that you want Verified Permissions to evaluate.BatchIsAuthorizedRequest.Builderrequests(Consumer<BatchIsAuthorizedInputItem.Builder>... requests)An array of up to 30 requests that you want Verified Permissions to evaluate.BatchIsAuthorizedRequest.Builderrequests(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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.verifiedpermissions.model.VerifiedPermissionsRequest.Builder
build
-
-
-
-
Method Detail
-
policyStoreId
BatchIsAuthorizedRequest.Builder policyStoreId(String 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
BatchIsAuthorizedRequest.Builder entities(EntitiesDefinition entities)
Specifies the list of resources and principals and their associated attributes that Verified Permissions can examine when evaluating the policies.
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- Specifies the list of resources and principals and their associated attributes that Verified Permissions can examine when evaluating the policies.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
default BatchIsAuthorizedRequest.Builder entities(Consumer<EntitiesDefinition.Builder> entities)
Specifies the list of resources and principals 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 include only principal and resource entities in this parameter; you can't include actions. You must specify actions in the schema.
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
BatchIsAuthorizedRequest.Builder requests(Collection<BatchIsAuthorizedInputItem> 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
BatchIsAuthorizedRequest.Builder requests(BatchIsAuthorizedInputItem... 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
BatchIsAuthorizedRequest.Builder requests(Consumer<BatchIsAuthorizedInputItem.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 theBatchIsAuthorizedInputItem.Builderavoiding the need to create one manually viaBatchIsAuthorizedInputItem.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 onBatchIsAuthorizedInputItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#requests(java.util.Collection)
-
overrideConfiguration
BatchIsAuthorizedRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
BatchIsAuthorizedRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-