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

        if (obj instanceof ProvisioningPreferences == false)
            return false;
        ProvisioningPreferences other = (ProvisioningPreferences) obj;
        if (other.getStackSetAccounts() == null ^ this.getStackSetAccounts() == null)
            return false;
        if (other.getStackSetAccounts() != null && other.getStackSetAccounts().equals(this.getStackSetAccounts()) == false)
            return false;
        if (other.getStackSetRegions() == null ^ this.getStackSetRegions() == null)
            return false;
        if (other.getStackSetRegions() != null && other.getStackSetRegions().equals(this.getStackSetRegions()) == false)
            return false;
        if (other.getStackSetFailureToleranceCount() == null ^ this.getStackSetFailureToleranceCount() == null)
            return false;
        if (other.getStackSetFailureToleranceCount() != null
                && other.getStackSetFailureToleranceCount().equals(this.getStackSetFailureToleranceCount()) == false)
            return false;
        if (other.getStackSetFailureTolerancePercentage() == null ^ this.getStackSetFailureTolerancePercentage() == null)
            return false;
        if (other.getStackSetFailureTolerancePercentage() != null
                && other.getStackSetFailureTolerancePercentage().equals(this.getStackSetFailureTolerancePercentage()) == false)
            return false;
        if (other.getStackSetMaxConcurrencyCount() == null ^ this.getStackSetMaxConcurrencyCount() == null)
            return false;
        if (other.getStackSetMaxConcurrencyCount() != null && other.getStackSetMaxConcurrencyCount().equals(this.getStackSetMaxConcurrencyCount()) == false)
            return false;
        if (other.getStackSetMaxConcurrencyPercentage() == null ^ this.getStackSetMaxConcurrencyPercentage() == null)
            return false;
        if (other.getStackSetMaxConcurrencyPercentage() != null
                && other.getStackSetMaxConcurrencyPercentage().equals(this.getStackSetMaxConcurrencyPercentage()) == 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-servicecatalog/src/main/java/com/amazonaws/services/servicecatalog/model/ProvisioningPreferences.java