public boolean equals()

in services/sqs/src/main/java/software/amazon/awssdk/services/sqs/batchmanager/BatchOverrideConfiguration.java [150:183]


    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }

        BatchOverrideConfiguration that = (BatchOverrideConfiguration) o;

        if (maxBatchSize != null ? !maxBatchSize.equals(that.maxBatchSize) : that.maxBatchSize != null) {
            return false;
        }
        if (sendRequestFrequency != null ? !sendRequestFrequency.equals(that.sendRequestFrequency) :
            that.sendRequestFrequency != null) {
            return false;
        }
        if (receiveMessageVisibilityTimeout != null
            ? !receiveMessageVisibilityTimeout.equals(that.receiveMessageVisibilityTimeout) :
            that.receiveMessageVisibilityTimeout != null) {
            return false;
        }
        if (receiveMessageMinWaitDuration != null ? !receiveMessageMinWaitDuration.equals(that.receiveMessageMinWaitDuration) :
            that.receiveMessageMinWaitDuration != null) {
            return false;
        }
        if (receiveMessageSystemAttributeNames != null ?
            !receiveMessageSystemAttributeNames.equals(that.receiveMessageSystemAttributeNames)
                                                       : that.receiveMessageSystemAttributeNames != null) {
            return false;
        }
        return receiveMessageAttributeNames != null ? receiveMessageAttributeNames.equals(that.receiveMessageAttributeNames) :
               that.receiveMessageAttributeNames == null;
    }