Shulamite identifies her beloved as a shepherd several times:

> Tell me, O you whom I love, Where you feed your flock, Where you make
> it rest at noon. For why should I be as one who veils herself By the
> flocks of your companions? (1/17)
> 
> My beloved is mine, and I am his. He feeds his flock among the lilies
> (2/16)
> 
> My beloved has gone to his garden, To the beds of spices, To feed his
> flock in the gardens, And to gather lilies (6/2)
> 
> I am my beloveds, And my beloved is mine. He feeds his flock among the
> lilies (6/3)

However, when she talks mentions Solomon, she doesn't use words "my belowed" and "I love"

> Draw me away! We will run after you. The king has brought me into his
> chambers. We will be glad and rejoice in you. We will remember yyour
> love more than wine. Rightly do they love you (1/4)
> 
> While the king is at his table, My spikenard sends forth its fragrance
> (1/12)
> 
> Behold, it is Solomońs couch, With sixty valiant men around it, Of
> the valiant of Israel. They all hold swords, Being expert in war.
> Every man has his sword on his thigh Because of fear in the night. Of
> the wood of Lebanon Solomon the King Made himself a palanquin: He made
> its pillars of silver, Its support of gold, Its seat of purple, Its
> interior paved with love By the daughters of Jerusalem. Go forth, O
> daughters of Zion, And see King Solomon with the crown With which his
> mother crowned him On the day of his wedding, The day of the gladness
> of his heart (3/7-11)
> 
> Solomon had a vineyard at Baal Hamon; He leased the vineyard to
> keepers; Everyone was to bring for its fruit A thousand silver coins
> (8/11)
> 
> My own vineyard is before me. You, O Solomon, may have a thousand, And
> those who tend its fruit two hundred (8/12)