Interface BatchIsAuthorizedRequest.Builder

  • Method Details

    • 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.

      To specify a policy store, use its ID or alias name. When using an alias name, prefix it with policy-store-alias/. For example:

      • ID: PSEXAMPLEabcdefg111111

      • Alias name: policy-store-alias/example-policy-store

      To view aliases, use ListPolicyStoreAliases.

      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.

      To specify a policy store, use its ID or alias name. When using an alias name, prefix it with policy-store-alias/. For example:

      • ID: PSEXAMPLEabcdefg111111

      • Alias name: policy-store-alias/example-policy-store

      To view aliases, use ListPolicyStoreAliases.

      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.

      This is a convenience method that creates an instance of the 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).

      Parameters:
      entities - a consumer that will call methods on EntitiesDefinition.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 the BatchIsAuthorizedInputItem.Builder avoiding the need to create one manually via BatchIsAuthorizedInputItem.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to requests(List<BatchIsAuthorizedInputItem>).

      Parameters:
      requests - a consumer that will call methods on BatchIsAuthorizedInputItem.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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.