Interface ShareResult.Builder

    • Method Detail

      • principalId

        ShareResult.Builder principalId​(String principalId)

        The ID of the principal.

        Parameters:
        principalId - The ID of the principal.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inviteePrincipalId

        ShareResult.Builder inviteePrincipalId​(String inviteePrincipalId)

        The ID of the invited user.

        Parameters:
        inviteePrincipalId - The ID of the invited user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • role

        ShareResult.Builder role​(String role)

        The role.

        Parameters:
        role - The role.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RoleType, RoleType
      • shareId

        ShareResult.Builder shareId​(String shareId)

        The ID of the resource that was shared.

        Parameters:
        shareId - The ID of the resource that was shared.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • statusMessage

        ShareResult.Builder statusMessage​(String statusMessage)

        The status message.

        Parameters:
        statusMessage - The status message.
        Returns:
        Returns a reference to this object so that method calls can be chained together.