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

        if (obj instanceof BehaviorModelTrainingSummary == false)
            return false;
        BehaviorModelTrainingSummary other = (BehaviorModelTrainingSummary) obj;
        if (other.getSecurityProfileName() == null ^ this.getSecurityProfileName() == null)
            return false;
        if (other.getSecurityProfileName() != null && other.getSecurityProfileName().equals(this.getSecurityProfileName()) == false)
            return false;
        if (other.getBehaviorName() == null ^ this.getBehaviorName() == null)
            return false;
        if (other.getBehaviorName() != null && other.getBehaviorName().equals(this.getBehaviorName()) == false)
            return false;
        if (other.getTrainingDataCollectionStartDate() == null ^ this.getTrainingDataCollectionStartDate() == null)
            return false;
        if (other.getTrainingDataCollectionStartDate() != null
                && other.getTrainingDataCollectionStartDate().equals(this.getTrainingDataCollectionStartDate()) == false)
            return false;
        if (other.getModelStatus() == null ^ this.getModelStatus() == null)
            return false;
        if (other.getModelStatus() != null && other.getModelStatus().equals(this.getModelStatus()) == false)
            return false;
        if (other.getDatapointsCollectionPercentage() == null ^ this.getDatapointsCollectionPercentage() == null)
            return false;
        if (other.getDatapointsCollectionPercentage() != null
                && other.getDatapointsCollectionPercentage().equals(this.getDatapointsCollectionPercentage()) == false)
            return false;
        if (other.getLastModelRefreshDate() == null ^ this.getLastModelRefreshDate() == null)
            return false;
        if (other.getLastModelRefreshDate() != null && other.getLastModelRefreshDate().equals(this.getLastModelRefreshDate()) == 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-iot/src/main/java/com/amazonaws/services/iot/model/BehaviorModelTrainingSummary.java