public java.util.List<String> getProtocols() {
        return protocols;
    }
<p>
The protocols you want to use for the endpoint. DoH-FIPS is applicable for inbound endpoints only.
</p>
<p>
For an inbound endpoint you can apply the protocols as follows:
</p>
<ul>
<li>
<p>
Do53 and DoH in combination.
</p>
</li>
<li>
<p>
Do53 and DoH-FIPS in combination.
</p>
</li>
<li>
<p>
Do53 alone.
</p>
</li>
<li>
<p>
DoH alone.
</p>
</li>
<li>
<p>
DoH-FIPS alone.
</p>
</li>
<li>
<p>
None, which is treated as Do53.
</p>
</li>
</ul>
<p>
For an outbound endpoint you can apply the protocols as follows:
</p>
<ul>
<li>
<p>
Do53 and DoH in combination.
</p>
</li>
<li>
<p>
Do53 alone.
</p>
</li>
<li>
<p>
DoH alone.
</p>
</li>
<li>
<p>
None, which is treated as Do53.
</p>
</li>
</ul>

@return The protocols you want to use for the endpoint. DoH-FIPS is applicable for inbound endpoints only. </p>
        <p>
        For an inbound endpoint you can apply the protocols as follows:
        </p>
        <ul>
        <li>
        <p>
        Do53 and DoH in combination.
        </p>
        </li>
        <li>
        <p>
        Do53 and DoH-FIPS in combination.
        </p>
        </li>
        <li>
        <p>
        Do53 alone.
        </p>
        </li>
        <li>
        <p>
        DoH alone.
        </p>
        </li>
        <li>
        <p>
        DoH-FIPS alone.
        </p>
        </li>
        <li>
        <p>
        None, which is treated as Do53.
        </p>
        </li>
        </ul>
        <p>
        For an outbound endpoint you can apply the protocols as follows:
        </p>
        <ul>
        <li>
        <p>
        Do53 and DoH in combination.
        </p>
        </li>
        <li>
        <p>
        Do53 alone.
        </p>
        </li>
        <li>
        <p>
        DoH alone.
        </p>
        </li>
        <li>
        <p>
        None, which is treated as Do53.
        </p>
        </li>
@see Protocol
aws-java-sdk-route53resolver/src/main/java/com/amazonaws/services/route53resolver/model/CreateResolverEndpointRequest.java