Interface AccessControlEntry.Builder

  • Method Details

    • access

      Specifies whether the principal can see the information.

      Valid values:

      • ALLOW - Access is allowed.

      • DENY - Access is denied.

      Parameters:
      access - Specifies whether the principal can see the information.

      Valid values:

      • ALLOW - Access is allowed.

      • DENY - Access is denied.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • access

      Specifies whether the principal can see the information.

      Valid values:

      • ALLOW - Access is allowed.

      • DENY - Access is denied.

      Parameters:
      access - Specifies whether the principal can see the information.

      Valid values:

      • ALLOW - Access is allowed.

      • DENY - Access is denied.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • principalId

      AccessControlEntry.Builder principalId(String principalId)

      The principal's opaque user or group ID, or * for every reader authorized on the resource.

      Parameters:
      principalId - The principal's opaque user or group ID, or * for every reader authorized on the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • principalType

      AccessControlEntry.Builder principalType(String principalType)

      Specifies whether principalId names a user or a group. Required unless principalId is *, where it is ignored.

      Valid values:

      • USER - An end user.

      • GROUP - A group of end users.

      Parameters:
      principalType - Specifies whether principalId names a user or a group. Required unless principalId is *, where it is ignored.

      Valid values:

      • USER - An end user.

      • GROUP - A group of end users.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • principalType

      AccessControlEntry.Builder principalType(PrincipalType principalType)

      Specifies whether principalId names a user or a group. Required unless principalId is *, where it is ignored.

      Valid values:

      • USER - An end user.

      • GROUP - A group of end users.

      Parameters:
      principalType - Specifies whether principalId names a user or a group. Required unless principalId is *, where it is ignored.

      Valid values:

      • USER - An end user.

      • GROUP - A group of end users.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: