Interface PrincipalResourcePermissions.Builder

    • Method Detail

      • principal

        PrincipalResourcePermissions.Builder principal​(DataLakePrincipal principal)

        The Data Lake principal to be granted or revoked permissions.

        Parameters:
        principal - The Data Lake principal to be granted or revoked permissions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resource

        PrincipalResourcePermissions.Builder resource​(Resource resource)

        The resource where permissions are to be granted or revoked.

        Parameters:
        resource - The resource where permissions are to be granted or revoked.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • permissionsWithStrings

        PrincipalResourcePermissions.Builder permissionsWithStrings​(Collection<String> permissions)

        The permissions to be granted or revoked on the resource.

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

        PrincipalResourcePermissions.Builder permissionsWithStrings​(String... permissions)

        The permissions to be granted or revoked on the resource.

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

        PrincipalResourcePermissions.Builder permissions​(Collection<Permission> permissions)

        The permissions to be granted or revoked on the resource.

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

        PrincipalResourcePermissions.Builder permissions​(Permission... permissions)

        The permissions to be granted or revoked on the resource.

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

        PrincipalResourcePermissions.Builder permissionsWithGrantOptionWithStrings​(Collection<String> permissionsWithGrantOption)

        Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).

        Parameters:
        permissionsWithGrantOption - Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • permissionsWithGrantOptionWithStrings

        PrincipalResourcePermissions.Builder permissionsWithGrantOptionWithStrings​(String... permissionsWithGrantOption)

        Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).

        Parameters:
        permissionsWithGrantOption - Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • permissionsWithGrantOption

        PrincipalResourcePermissions.Builder permissionsWithGrantOption​(Collection<Permission> permissionsWithGrantOption)

        Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).

        Parameters:
        permissionsWithGrantOption - Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • permissionsWithGrantOption

        PrincipalResourcePermissions.Builder permissionsWithGrantOption​(Permission... permissionsWithGrantOption)

        Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).

        Parameters:
        permissionsWithGrantOption - Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • additionalDetails

        PrincipalResourcePermissions.Builder additionalDetails​(DetailsMap additionalDetails)

        This attribute can be used to return any additional details of PrincipalResourcePermissions. Currently returns only as a RAM resource share ARN.

        Parameters:
        additionalDetails - This attribute can be used to return any additional details of PrincipalResourcePermissions. Currently returns only as a RAM resource share ARN.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdated

        PrincipalResourcePermissions.Builder lastUpdated​(Instant lastUpdated)

        The date and time when the resource was last updated.

        Parameters:
        lastUpdated - The date and time when the resource was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdatedBy

        PrincipalResourcePermissions.Builder lastUpdatedBy​(String lastUpdatedBy)

        The user who updated the record.

        Parameters:
        lastUpdatedBy - The user who updated the record.
        Returns:
        Returns a reference to this object so that method calls can be chained together.