Interface AccessContribution.Builder

  • Method Details

    • principal

      The principal that the permission was granted to.

      Parameters:
      principal - The principal that the permission was granted to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • principal

      The principal that the permission was granted to.

      This is a convenience method that creates an instance of the DataLakePrincipal.Builder avoiding the need to create one manually via DataLakePrincipal.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to principal(DataLakePrincipal).

      Parameters:
      principal - a consumer that will call methods on DataLakePrincipal.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resource

      The resource that the permission was granted on.

      Parameters:
      resource - The resource that the permission was granted on.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resource

      The resource that the permission was granted on.

      This is a convenience method that creates an instance of the Resource.Builder avoiding the need to create one manually via Resource.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to resource(Resource).

      Parameters:
      resource - a consumer that will call methods on Resource.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • actionsWithStrings

      AccessContribution.Builder actionsWithStrings(Collection<String> actions)

      The permissions that contributed to the principal's access.

      Parameters:
      actions - The permissions that contributed to the principal's access.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actionsWithStrings

      AccessContribution.Builder actionsWithStrings(String... actions)

      The permissions that contributed to the principal's access.

      Parameters:
      actions - The permissions that contributed to the principal's access.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actions

      The permissions that contributed to the principal's access.

      Parameters:
      actions - The permissions that contributed to the principal's access.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actions

      The permissions that contributed to the principal's access.

      Parameters:
      actions - The permissions that contributed to the principal's access.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • issuingSource

      AccessContribution.Builder issuingSource(String issuingSource)

      How the permission applies to the principal, for example Explicitly Granted or Data Lake Administrator.

      Parameters:
      issuingSource - How the permission applies to the principal, for example Explicitly Granted or Data Lake Administrator.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • condition

      AccessContribution.Builder condition(Condition condition)

      The condition of the permission.

      Parameters:
      condition - The condition of the permission.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • condition

      default AccessContribution.Builder condition(Consumer<Condition.Builder> condition)

      The condition of the permission.

      This is a convenience method that creates an instance of the Condition.Builder avoiding the need to create one manually via Condition.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to condition(Condition).

      Parameters:
      condition - a consumer that will call methods on Condition.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: