public String getProtocol() {
        return this.protocol;
    }
<p>
The protocol of the contact method, such as email or SMS (text messaging).
</p>

@return The protocol of the contact method, such as email or SMS (text messaging).
@see ContactProtocol
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/ContactMethod.java