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

        if (obj instanceof UpdateStreamProcessorRequest == false)
            return false;
        UpdateStreamProcessorRequest other = (UpdateStreamProcessorRequest) obj;
        if (other.getName() == null ^ this.getName() == null)
            return false;
        if (other.getName() != null && other.getName().equals(this.getName()) == false)
            return false;
        if (other.getSettingsForUpdate() == null ^ this.getSettingsForUpdate() == null)
            return false;
        if (other.getSettingsForUpdate() != null && other.getSettingsForUpdate().equals(this.getSettingsForUpdate()) == false)
            return false;
        if (other.getRegionsOfInterestForUpdate() == null ^ this.getRegionsOfInterestForUpdate() == null)
            return false;
        if (other.getRegionsOfInterestForUpdate() != null && other.getRegionsOfInterestForUpdate().equals(this.getRegionsOfInterestForUpdate()) == false)
            return false;
        if (other.getDataSharingPreferenceForUpdate() == null ^ this.getDataSharingPreferenceForUpdate() == null)
            return false;
        if (other.getDataSharingPreferenceForUpdate() != null
                && other.getDataSharingPreferenceForUpdate().equals(this.getDataSharingPreferenceForUpdate()) == false)
            return false;
        if (other.getParametersToDelete() == null ^ this.getParametersToDelete() == null)
            return false;
        if (other.getParametersToDelete() != null && other.getParametersToDelete().equals(this.getParametersToDelete()) == 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-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UpdateStreamProcessorRequest.java