public void setAs2Transports(java.util.Collection<String> as2Transports) {
        if (as2Transports == null) {
            this.as2Transports = null;
            return;
        }

        this.as2Transports = new java.util.ArrayList<String>(as2Transports);
    }
<p>
Indicates the transport method for the AS2 messages. Currently, only HTTP is supported.
</p>

@param as2Transports
       Indicates the transport method for the AS2 messages. Currently, only HTTP is supported.
@see As2Transport
aws-java-sdk-transfer/src/main/java/com/amazonaws/services/transfer/model/ProtocolDetails.java