@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getDataProductSort() != null)
            sb.append("DataProductSort: ").append(getDataProductSort()).append(",");
        if (getSaaSProductSort() != null)
            sb.append("SaaSProductSort: ").append(getSaaSProductSort()).append(",");
        if (getAmiProductSort() != null)
            sb.append("AmiProductSort: ").append(getAmiProductSort()).append(",");
        if (getOfferSort() != null)
            sb.append("OfferSort: ").append(getOfferSort()).append(",");
        if (getContainerProductSort() != null)
            sb.append("ContainerProductSort: ").append(getContainerProductSort()).append(",");
        if (getResaleAuthorizationSort() != null)
            sb.append("ResaleAuthorizationSort: ").append(getResaleAuthorizationSort());
        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-marketplacecatalog/src/main/java/com/amazonaws/services/marketplacecatalog/model/EntityTypeSort.java