@Override
    public int hashCode() {
        final int prime = 31;
        int hashCode = 1;

        hashCode = prime * hashCode + ((getType() == null) ? 0 : getType().hashCode());
        hashCode = prime * hashCode + ((getMemoryGB() == null) ? 0 : getMemoryGB().hashCode());
        hashCode = prime * hashCode + ((getStorageGB() == null) ? 0 : getStorageGB().hashCode());
        hashCode = prime * hashCode + ((getVCPU() == null) ? 0 : getVCPU().hashCode());
        hashCode = prime * hashCode + ((getIs64BitsOnly() == null) ? 0 : getIs64BitsOnly().hashCode());
        hashCode = prime * hashCode + ((getInstanceFamilyId() == null) ? 0 : getInstanceFamilyId().hashCode());
        hashCode = prime * hashCode + ((getEbsOptimizedAvailable() == null) ? 0 : getEbsOptimizedAvailable().hashCode());
        hashCode = prime * hashCode + ((getEbsOptimizedByDefault() == null) ? 0 : getEbsOptimizedByDefault().hashCode());
        hashCode = prime * hashCode + ((getNumberOfDisks() == null) ? 0 : getNumberOfDisks().hashCode());
        hashCode = prime * hashCode + ((getEbsStorageOnly() == null) ? 0 : getEbsStorageOnly().hashCode());
        hashCode = prime * hashCode + ((getArchitecture() == null) ? 0 : getArchitecture().hashCode());
        return hashCode;
    }
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