@Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;

        if (obj instanceof ResourceDataContainer == false)
            return false;
        ResourceDataContainer other = (ResourceDataContainer) obj;
        if (other.getLocalDeviceResourceData() == null ^ this.getLocalDeviceResourceData() == null)
            return false;
        if (other.getLocalDeviceResourceData() != null && other.getLocalDeviceResourceData().equals(this.getLocalDeviceResourceData()) == false)
            return false;
        if (other.getLocalVolumeResourceData() == null ^ this.getLocalVolumeResourceData() == null)
            return false;
        if (other.getLocalVolumeResourceData() != null && other.getLocalVolumeResourceData().equals(this.getLocalVolumeResourceData()) == false)
            return false;
        if (other.getS3MachineLearningModelResourceData() == null ^ this.getS3MachineLearningModelResourceData() == null)
            return false;
        if (other.getS3MachineLearningModelResourceData() != null
                && other.getS3MachineLearningModelResourceData().equals(this.getS3MachineLearningModelResourceData()) == false)
            return false;
        if (other.getSageMakerMachineLearningModelResourceData() == null ^ this.getSageMakerMachineLearningModelResourceData() == null)
            return false;
        if (other.getSageMakerMachineLearningModelResourceData() != null
                && other.getSageMakerMachineLearningModelResourceData().equals(this.getSageMakerMachineLearningModelResourceData()) == false)
            return false;
        if (other.getSecretsManagerSecretResourceData() == null ^ this.getSecretsManagerSecretResourceData() == null)
            return false;
        if (other.getSecretsManagerSecretResourceData() != null
                && other.getSecretsManagerSecretResourceData().equals(this.getSecretsManagerSecretResourceData()) == false)
            return false;
        return true;
    }
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-greengrass/src/main/java/com/amazonaws/services/greengrass/model/ResourceDataContainer.java