public static interface IsAuthorizedRequest.Builder extends VerifiedPermissionsRequest.Builder, SdkPojo, CopyableBuilder<IsAuthorizedRequest.Builder,IsAuthorizedRequest>
| Modifier and Type | Method and Description |
|---|---|
IsAuthorizedRequest.Builder |
action(ActionIdentifier action)
Specifies the requested action to be authorized.
|
default IsAuthorizedRequest.Builder |
action(Consumer<ActionIdentifier.Builder> action)
Specifies the requested action to be authorized.
|
default IsAuthorizedRequest.Builder |
context(Consumer<ContextDefinition.Builder> context)
Specifies additional context that can be used to make more granular authorization decisions.
|
IsAuthorizedRequest.Builder |
context(ContextDefinition context)
Specifies additional context that can be used to make more granular authorization decisions.
|
default IsAuthorizedRequest.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.
|
IsAuthorizedRequest.Builder |
entities(EntitiesDefinition entities)
Specifies the list of resources and principals and their associated attributes that Verified Permissions can
examine when evaluating the policies.
|
IsAuthorizedRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
IsAuthorizedRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
IsAuthorizedRequest.Builder |
policyStoreId(String policyStoreId)
Specifies the ID of the policy store.
|
default IsAuthorizedRequest.Builder |
principal(Consumer<EntityIdentifier.Builder> principal)
Specifies the principal for which the authorization decision is to be made.
|
IsAuthorizedRequest.Builder |
principal(EntityIdentifier principal)
Specifies the principal for which the authorization decision is to be made.
|
default IsAuthorizedRequest.Builder |
resource(Consumer<EntityIdentifier.Builder> resource)
Specifies the resource for which the authorization decision is to be made.
|
IsAuthorizedRequest.Builder |
resource(EntityIdentifier resource)
Specifies the resource for which the authorization decision is to be made.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildIsAuthorizedRequest.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.
policyStoreId - Specifies the ID of the policy store. Policies in this policy store will be used to make an
authorization decision for the input.IsAuthorizedRequest.Builder principal(EntityIdentifier principal)
Specifies the principal for which the authorization decision is to be made.
principal - Specifies the principal for which the authorization decision is to be made.default IsAuthorizedRequest.Builder principal(Consumer<EntityIdentifier.Builder> principal)
Specifies the principal for which the authorization decision is to be made.
This is a convenience method that creates an instance of theEntityIdentifier.Builder avoiding the
need to create one manually via EntityIdentifier.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to principal(EntityIdentifier).
principal - a consumer that will call methods on EntityIdentifier.Builderprincipal(EntityIdentifier)IsAuthorizedRequest.Builder action(ActionIdentifier action)
Specifies the requested action to be authorized. For example, is the principal authorized to perform this action on the resource?
action - Specifies the requested action to be authorized. For example, is the principal authorized to perform
this action on the resource?default IsAuthorizedRequest.Builder action(Consumer<ActionIdentifier.Builder> action)
Specifies the requested action to be authorized. For example, is the principal authorized to perform this action on the resource?
This is a convenience method that creates an instance of theActionIdentifier.Builder avoiding the
need to create one manually via ActionIdentifier.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to action(ActionIdentifier).
action - a consumer that will call methods on ActionIdentifier.Builderaction(ActionIdentifier)IsAuthorizedRequest.Builder resource(EntityIdentifier resource)
Specifies the resource for which the authorization decision is to be made.
resource - Specifies the resource for which the authorization decision is to be made.default IsAuthorizedRequest.Builder resource(Consumer<EntityIdentifier.Builder> resource)
Specifies the resource for which the authorization decision is to be made.
This is a convenience method that creates an instance of theEntityIdentifier.Builder avoiding the
need to create one manually via EntityIdentifier.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to resource(EntityIdentifier).
resource - a consumer that will call methods on EntityIdentifier.Builderresource(EntityIdentifier)IsAuthorizedRequest.Builder context(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.default IsAuthorizedRequest.Builder context(Consumer<ContextDefinition.Builder> context)
Specifies additional context that can be used to make more granular authorization decisions.
This is a convenience method that creates an instance of theContextDefinition.Builder avoiding the
need to create one manually via ContextDefinition.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to context(ContextDefinition).
context - a consumer that will call methods on ContextDefinition.Buildercontext(ContextDefinition)IsAuthorizedRequest.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.
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.
default IsAuthorizedRequest.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.
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 via EntitiesDefinition.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to entities(EntitiesDefinition).
entities - a consumer that will call methods on EntitiesDefinition.Builderentities(EntitiesDefinition)IsAuthorizedRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderIsAuthorizedRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.