public static interface IsAuthorizedWithTokenRequest.Builder extends VerifiedPermissionsRequest.Builder, SdkPojo, CopyableBuilder<IsAuthorizedWithTokenRequest.Builder,IsAuthorizedWithTokenRequest>
| Modifier and Type | Method and Description |
|---|---|
IsAuthorizedWithTokenRequest.Builder |
accessToken(String accessToken)
Specifies an access token for the principal to be authorized.
|
IsAuthorizedWithTokenRequest.Builder |
action(ActionIdentifier action)
Specifies the requested action to be authorized.
|
default IsAuthorizedWithTokenRequest.Builder |
action(Consumer<ActionIdentifier.Builder> action)
Specifies the requested action to be authorized.
|
default IsAuthorizedWithTokenRequest.Builder |
context(Consumer<ContextDefinition.Builder> context)
Specifies additional context that can be used to make more granular authorization decisions.
|
IsAuthorizedWithTokenRequest.Builder |
context(ContextDefinition context)
Specifies additional context that can be used to make more granular authorization decisions.
|
default IsAuthorizedWithTokenRequest.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.
|
IsAuthorizedWithTokenRequest.Builder |
entities(EntitiesDefinition entities)
Specifies the list of resources and principals and their associated attributes that Verified Permissions can
examine when evaluating the policies.
|
IsAuthorizedWithTokenRequest.Builder |
identityToken(String identityToken)
Specifies an identity token for the principal to be authorized.
|
IsAuthorizedWithTokenRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
IsAuthorizedWithTokenRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
IsAuthorizedWithTokenRequest.Builder |
policyStoreId(String policyStoreId)
Specifies the ID of the policy store.
|
default IsAuthorizedWithTokenRequest.Builder |
resource(Consumer<EntityIdentifier.Builder> resource)
Specifies the resource for which the authorization decision is made.
|
IsAuthorizedWithTokenRequest.Builder |
resource(EntityIdentifier resource)
Specifies the resource for which the authorization decision is made.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildIsAuthorizedWithTokenRequest.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.IsAuthorizedWithTokenRequest.Builder identityToken(String identityToken)
Specifies an identity token for the principal to be authorized. This token is provided to you by the identity
provider (IdP) associated with the specified identity source. You must specify either an
AccessToken or an IdentityToken, but not both.
identityToken - Specifies an identity token for the principal to be authorized. This token is provided to you by the
identity provider (IdP) associated with the specified identity source. You must specify either an
AccessToken or an IdentityToken, but not both.IsAuthorizedWithTokenRequest.Builder accessToken(String accessToken)
Specifies an access token for the principal to be authorized. This token is provided to you by the identity
provider (IdP) associated with the specified identity source. You must specify either an
AccessToken or an IdentityToken, but not both.
accessToken - Specifies an access token for the principal to be authorized. This token is provided to you by the
identity provider (IdP) associated with the specified identity source. You must specify either an
AccessToken or an IdentityToken, but not both.IsAuthorizedWithTokenRequest.Builder action(ActionIdentifier action)
Specifies the requested action to be authorized. Is the specified principal authorized to perform this action on the specified resource.
action - Specifies the requested action to be authorized. Is the specified principal authorized to perform this
action on the specified resource.default IsAuthorizedWithTokenRequest.Builder action(Consumer<ActionIdentifier.Builder> action)
Specifies the requested action to be authorized. Is the specified principal authorized to perform this action on the specified 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)IsAuthorizedWithTokenRequest.Builder resource(EntityIdentifier resource)
Specifies the resource for which the authorization decision is made. For example, is the principal allowed to perform the action on the resource?
resource - Specifies the resource for which the authorization decision is made. For example, is the principal
allowed to perform the action on the resource?default IsAuthorizedWithTokenRequest.Builder resource(Consumer<EntityIdentifier.Builder> resource)
Specifies the resource for which the authorization decision is made. For example, is the principal allowed to perform the action on the resource?
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)IsAuthorizedWithTokenRequest.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 IsAuthorizedWithTokenRequest.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)IsAuthorizedWithTokenRequest.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 IsAuthorizedWithTokenRequest.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)IsAuthorizedWithTokenRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderIsAuthorizedWithTokenRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.