@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getType() != null)
            sb.append("Type: ").append(getType()).append(",");
        if (getMemoryGB() != null)
            sb.append("MemoryGB: ").append(getMemoryGB()).append(",");
        if (getStorageGB() != null)
            sb.append("StorageGB: ").append(getStorageGB()).append(",");
        if (getVCPU() != null)
            sb.append("VCPU: ").append(getVCPU()).append(",");
        if (getIs64BitsOnly() != null)
            sb.append("Is64BitsOnly: ").append(getIs64BitsOnly()).append(",");
        if (getInstanceFamilyId() != null)
            sb.append("InstanceFamilyId: ").append(getInstanceFamilyId()).append(",");
        if (getEbsOptimizedAvailable() != null)
            sb.append("EbsOptimizedAvailable: ").append(getEbsOptimizedAvailable()).append(",");
        if (getEbsOptimizedByDefault() != null)
            sb.append("EbsOptimizedByDefault: ").append(getEbsOptimizedByDefault()).append(",");
        if (getNumberOfDisks() != null)
            sb.append("NumberOfDisks: ").append(getNumberOfDisks()).append(",");
        if (getEbsStorageOnly() != null)
            sb.append("EbsStorageOnly: ").append(getEbsStorageOnly()).append(",");
        if (getArchitecture() != null)
            sb.append("Architecture: ").append(getArchitecture());
        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-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/SupportedInstanceType.java