Interface PolicyUser.Builder

    • Method Detail

      • userName

        PolicyUser.Builder userName​(String userName)

        The name (friendly name, not ARN) identifying the user.

        Parameters:
        userName - The name (friendly name, not ARN) identifying the user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userId

        PolicyUser.Builder userId​(String userId)

        The stable and unique string identifying the user. For more information about IDs, see IAM identifiers in the IAM User Guide.

        Parameters:
        userId - The stable and unique string identifying the user. For more information about IDs, see IAM identifiers in the IAM User Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.