@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getPassiveIp() != null)
            sb.append("PassiveIp: ").append(getPassiveIp()).append(",");
        if (getTlsSessionResumptionMode() != null)
            sb.append("TlsSessionResumptionMode: ").append(getTlsSessionResumptionMode()).append(",");
        if (getSetStatOption() != null)
            sb.append("SetStatOption: ").append(getSetStatOption()).append(",");
        if (getAs2Transports() != null)
            sb.append("As2Transports: ").append(getAs2Transports());
        sb.append("}");
        return sb.toString();
    }
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
redacted from this string using a placeholder value.

@return A string representation of this object.

@see java.lang.Object#toString()
aws-java-sdk-transfer/src/main/java/com/amazonaws/services/transfer/model/ProtocolDetails.java