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

        if (obj instanceof ElasticInferenceAcceleratorAssociation == false)
            return false;
        ElasticInferenceAcceleratorAssociation other = (ElasticInferenceAcceleratorAssociation) obj;
        if (other.getElasticInferenceAcceleratorArn() == null ^ this.getElasticInferenceAcceleratorArn() == null)
            return false;
        if (other.getElasticInferenceAcceleratorArn() != null
                && other.getElasticInferenceAcceleratorArn().equals(this.getElasticInferenceAcceleratorArn()) == false)
            return false;
        if (other.getElasticInferenceAcceleratorAssociationId() == null ^ this.getElasticInferenceAcceleratorAssociationId() == null)
            return false;
        if (other.getElasticInferenceAcceleratorAssociationId() != null
                && other.getElasticInferenceAcceleratorAssociationId().equals(this.getElasticInferenceAcceleratorAssociationId()) == false)
            return false;
        if (other.getElasticInferenceAcceleratorAssociationState() == null ^ this.getElasticInferenceAcceleratorAssociationState() == null)
            return false;
        if (other.getElasticInferenceAcceleratorAssociationState() != null
                && other.getElasticInferenceAcceleratorAssociationState().equals(this.getElasticInferenceAcceleratorAssociationState()) == false)
            return false;
        if (other.getElasticInferenceAcceleratorAssociationTime() == null ^ this.getElasticInferenceAcceleratorAssociationTime() == null)
            return false;
        if (other.getElasticInferenceAcceleratorAssociationTime() != null
                && other.getElasticInferenceAcceleratorAssociationTime().equals(this.getElasticInferenceAcceleratorAssociationTime()) == 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-ec2/src/main/java/com/amazonaws/services/ec2/model/ElasticInferenceAcceleratorAssociation.java