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

        if (obj instanceof RollingUpdatePolicy == false)
            return false;
        RollingUpdatePolicy other = (RollingUpdatePolicy) obj;
        if (other.getMaximumBatchSize() == null ^ this.getMaximumBatchSize() == null)
            return false;
        if (other.getMaximumBatchSize() != null && other.getMaximumBatchSize().equals(this.getMaximumBatchSize()) == false)
            return false;
        if (other.getWaitIntervalInSeconds() == null ^ this.getWaitIntervalInSeconds() == null)
            return false;
        if (other.getWaitIntervalInSeconds() != null && other.getWaitIntervalInSeconds().equals(this.getWaitIntervalInSeconds()) == false)
            return false;
        if (other.getMaximumExecutionTimeoutInSeconds() == null ^ this.getMaximumExecutionTimeoutInSeconds() == null)
            return false;
        if (other.getMaximumExecutionTimeoutInSeconds() != null
                && other.getMaximumExecutionTimeoutInSeconds().equals(this.getMaximumExecutionTimeoutInSeconds()) == false)
            return false;
        if (other.getRollbackMaximumBatchSize() == null ^ this.getRollbackMaximumBatchSize() == null)
            return false;
        if (other.getRollbackMaximumBatchSize() != null && other.getRollbackMaximumBatchSize().equals(this.getRollbackMaximumBatchSize()) == 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-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/RollingUpdatePolicy.java