public VoiceConnectorItem withPriority(Integer priority) {
        setPriority(priority);
        return this;
    }
<p>
The priority associated with the Amazon Chime Voice Connector, with 1 being the highest priority. Higher priority
Amazon Chime Voice Connectors are attempted first.
</p>

@param priority
       The priority associated with the Amazon Chime Voice Connector, with 1 being the highest priority. Higher
       priority Amazon Chime Voice Connectors are attempted first.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/VoiceConnectorItem.java